Calling plugin with plugin:// via a .strm file
#1
Can anyone explain to me how opening a .strm file that contains a plugin:// path, opens the plugin instead of trying to open the path with the default .strm player?
Reply
#2
A .strm file is actually a thinly disguised playlist. You can put anything in it, even another .strm file, and XBMC will gallantly attempt to play it. If you have a line in the file:

plugin://whatever

then XBMC will "play", i.e. execute, the plugin giving the result you have observed.

Is it a silly question to ask why on earth you have a line "plugin://etc" in a .strm file?

JR
Reply
#3
The IceLibrary plugin adds strm's to the library, that point at itself with plugin://.

Example of an IceLibrary .strm:
Code:
plugin://plugin.video.icelibrary/?href=/ip.php%3Fv%3D8093%26&mode=10&name=1x01%20Pilot

I was wanting to find out how exactly xbmc is launching the plugin, like, being pointed to a chunk of code in the source. It looks like, from the logs, that it doesn't even send it to DVDPlayer, it resolves it into a plugin path before that.
Reply

Logout Mark Read Team Forum Stats Members Help
Calling plugin with plugin:// via a .strm file0