I have couple of question as I develop my first video plugin
I have python add that scrapes an HTML page with a list of videos and then does a addDirectory. I also add a special dir called "Refresh" that would refresh the list above to re-getting and parsing the file and updating the page with results. But this creates another folder which now means I need to click the ".." item twiice to get out of the plugin
also is it possible to play a stream using xbmc.Player.play()? without adding a link to a directory? is there some special parameters passed when a video is stopped and control is passed back to the plugin that I can detect? I can only play the stream by adding a non-folder directory which means I now have extra screen with just link in it.
This what I want to achive, this is what I have
HOME -> List of events (isFolder=true because I need to a call just before playing since the streamURL is time dependant) , clicking on the list of games calls some python and streams an event.
Start->List of Events->Screen 1 with link with the stream-> click again to play
I know this might no make sense but is the best I can explain at the moment.
I have python add that scrapes an HTML page with a list of videos and then does a addDirectory. I also add a special dir called "Refresh" that would refresh the list above to re-getting and parsing the file and updating the page with results. But this creates another folder which now means I need to click the ".." item twiice to get out of the plugin
also is it possible to play a stream using xbmc.Player.play()? without adding a link to a directory? is there some special parameters passed when a video is stopped and control is passed back to the plugin that I can detect? I can only play the stream by adding a non-folder directory which means I now have extra screen with just link in it.
This what I want to achive, this is what I have
HOME -> List of events (isFolder=true because I need to a call just before playing since the streamURL is time dependant) , clicking on the list of games calls some python and streams an event.
Start->List of Events->Screen 1 with link with the stream-> click again to play
I know this might no make sense but is the best I can explain at the moment.