Grab the file passed to the player even if playback failed
#1
Dear all,

I'm looking for a method of grabing the media file or the address of the media file (in case of files hosted in the web) that is passed to the xbmc player. I'm not trying to find if xbmc is playing a file nor catch the event of playback started. I want to find the arguments that were passed to the player even in case of playback failure.

The reason I'm doing this is because I want to make a service addon that would call another plugin in case it recognizes the protocol of the stream. For example, if I try to play a stream which the url is sop://..., the playback will of course fail. The service would grab the address and call the xbmc plugin with the required arguments for playback.

Is there a way to do this?

I also know I can use playcorefactory.xml to define an external player and in the case of a sop:// url call sopcast player. But what about using a built-in xbmc plugin? Is it possible? How would I define it in the xml file?

Sorry if this section is not the proper one.

Regards

I wish a wonderful 2014 to all devs in xbmc team and of course all the forum members
Reply

Logout Mark Read Team Forum Stats Members Help
Grab the file passed to the player even if playback failed0