2010-11-24, 20:19
Hey guys,
I already posted this question in the "Alternative Youtube Plugin" thread since I thought it might be possible to realize it using that addon.
I'm currently looking for a way to send a link to xbmc remotely to make xbmc play that link.
Mainly I'd like to be able to transmit a youtube url via network to the xbmc machine and then the video starts playing.
There was this Firefox extension XBMCfox and a greasemonkey script that tried to get the url of the flv and then used the (deprecated) http api of xbmc to make it play the video. But both stopped working long time ago.
Nowadays one could use the json rpc api but I was too retarded to get the actual video url (of the flv) scraped to send it to xbmc.
I wonder if there would be a way to send a link (like http://www.youtube.com/watch?v=1234567) to the youtube addon and make it care for the rest. I couldn't find a way to use rpc for addons.
Or instead I'd like to be pointed to the right direction so I can scrape the video url by myself and use the rpc api.
Thanks in advance
Lincoln
Edit: Sorry that was the wrong forum...this should have gone to development.
If a mod/admin could move that...thank you
I already posted this question in the "Alternative Youtube Plugin" thread since I thought it might be possible to realize it using that addon.
I'm currently looking for a way to send a link to xbmc remotely to make xbmc play that link.
Mainly I'd like to be able to transmit a youtube url via network to the xbmc machine and then the video starts playing.
There was this Firefox extension XBMCfox and a greasemonkey script that tried to get the url of the flv and then used the (deprecated) http api of xbmc to make it play the video. But both stopped working long time ago.
Nowadays one could use the json rpc api but I was too retarded to get the actual video url (of the flv) scraped to send it to xbmc.
I wonder if there would be a way to send a link (like http://www.youtube.com/watch?v=1234567) to the youtube addon and make it care for the rest. I couldn't find a way to use rpc for addons.
Or instead I'd like to be pointed to the right direction so I can scrape the video url by myself and use the rpc api.
Thanks in advance
Lincoln
Edit: Sorry that was the wrong forum...this should have gone to development.
If a mod/admin could move that...thank you