Alright alright... So you can't use "plugin://..." type links.
I had an idea for a workaround, and I have a bit of free time between school sessions to try it out.
Basically, here's the idea: All the plugin does is pass the link to XBMC, but we can't use plugin:// links. So I'll write a script in php to generate the stream link instead.
So far, by snooping around the iplayer plugin code, I was able to dynamically generate a "iplayer.m3u8" playlist with php. As far as I can tell, the link I generate and the one created by the iplayer plugin is the same (except the authorization code thing of course).
But... it doesn't work.
And I don't know why, I'm stuck.
My "main" playlist:
Code:
#EXTM3U
#EXTINF:-1 tvg-shift=0 tvg-id="I56.2080.microsoft.com" tvg-name="BBC_One" tvg-logo="bbc_one" group-title="UK",BBC One
http://192.168.1.120/iplayer.m3u8
#EXTINF:-1 tvg-shift=0 tvg-id="I2.751869.microsoft.com" tvg-name="France_3" tvg-logo="france3" group-title="France",France 3
mms://wm.live.tv-radio.com/bouygues/all/channel2.wmv
#EXTINF:-1 tvg-shift=0 tvg-id="I40.751873.microsoft.com" tvg-name="i_Télé" tvg-logo="i_tele" group-title="France",i>Télé
http://chunk-output-1.live.tv-radio.com/canalplus/android/index/1200/02.m3u8
Example of dynamically generated iplayer.m3u8:
Code:
#EXTM3U
#EXTINF:-1,
rtmp://cp96472.live.edgefcs.net:1935/live/?auth=daEc8bHa5bTcXdXd0bzbzasbFcvdjbha2a1-bsjnss-bWG-BooDHoBpOEwHpxH&aifp=v001&slist=bbc1_inlet_1500@s24324 playpath=bbc1_inlet_1500@s24324?auth=daEc8bHa5bTcXdXd0bzbzasbFcvdjbha2a1-bsjnss-bWG-BooDHoBpOEwHpxH&aifp=v001&slist=bbc1_inlet_1500@s24324 swfurl=http://www.bbc.co.uk/emp/releases/iplayer/revisions/617463_618125_4/617463_618125_4_emp.swf swfvfy=1 live=1
XBMC debug log:
Link
In the log: line 986 is the stream from the plugin, line 1114 is from the PVR plugin.
I also tried to just dump a working link (mms://wm.live.tv-radio.com/bouygues/all/channel2.wmv) in the php playlist. It didn't work.
So, can it be done or am I wasting my time?