Ticket #13074 (closed Bugs: Obsolete)
playable plugin favorites wont play if they don't contain a query-string
|Reported by:||sphere||Owned by:|
|Component:||Other (un-categorized if does not fit anywhere else)||Version:||GIT|
|Severity:||Normal||Keywords:||plugin, favorites, playmedia|
Someone replied to my radio addon announce thread that he can't play radio stations from the favorites menu ( http://forum.xbmc.org/showthread.php?tid=119362&pid=1115612#pid1115612).
I can confirm that and tracked it down that all playable plugin favorites which don't contain at least a '?'-sign won't play.
You can easy produce with installing my radio addon (music add-on in the official repo) and add the following two entries to the favourites.xml:
<favourite name="Test 1" thumb="http://static.radio.de/images/broadcasts/2363_1.jpeg">PlayMedia("plugin://plugin.audio.radio_de/station/2363/")</favourite> <favourite name="Test 2 (QS)" thumb="http://static.radio.de/images/broadcasts/2363_1.jpeg">PlayMedia("plugin://plugin.audio.radio_de/station/2363/?")</favourite>
The first entry won't play (but the plugin url is correct), the second one is equal except a '?'-sign is added - this one will be played. I tried to debug it myself but couldn't find the correct place in code.
setResolvedUrl() is called and gets the correct stream url for both so that's not the problem.
I hope xbmc don't assumes that every plugin url without a query string is a folder or something similar.
And please, don't simply say "plugin issue" because it is not ;)