Page 1 of 1
chrome extension
Posted:
Thu Apr 12, 2012 7:10 pm
by scrissti
Hi,
am thinking to write a chrome extension that would allow me to browse a videos website (vplay.ro for start) and right click "play to TV".
This is because the website has loads(thousands) of movies and atm it's not feasible to load them all in servio db, without subfolders and some kind of dynamic load feature.
Anyway I should be able to use the rest interface to add my video to serviio library easily, my only doubt at the moment would be how could I send a message to serviio to send stream to tv automatically? I guess this is part of the dlna protocol which i don't know, if you can help me it would be great.
Re: chrome extension
Posted:
Fri Apr 13, 2012 11:12 am
by zip
Play to is not supported by DLNA servers, it's a part od DLNA controller which Serviio doesn't implement
Re: chrome extension
Posted:
Wed May 16, 2012 6:40 am
by fxandrei
I would be really nice to be able to watch content from vplay.ro .
But i dont know what posibilities whould exist.
Im thinking maybe some online source, rss or something.
Im thinking that maybe a plugin would be neccesary right ?
Re: chrome extension
Posted:
Wed May 16, 2012 8:21 am
by scrissti
fxandrei wrote:I would be really nice to be able to watch content from vplay.ro .
But i dont know what posibilities whould exist.
Im thinking maybe some online source, rss or something.
Im thinking that maybe a plugin would be neccesary right ?
I have a plugin for vplay, see attached BUT:
it is a custom solution as it requires another local webserver running 2 php pages that POST some data. I was not able to make a POST request from the plugin so it was easier like this. One POST is for login and another is for retrieving the stream url.
Anyway see the plugin
Re: chrome extension
Posted:
Wed May 16, 2012 12:10 pm
by fxandrei
wow.
thanks man.
the webserver stuff is not a problem.
i will try this as soon as i get home.
thanks man.
i will come back to let u all know what i manage
Re: chrome extension
Posted:
Wed May 16, 2012 3:49 pm
by zip
scrissti wrote: I was not able to make a POST request from the plugin so it was easier like this.
Look at ITVPlayer plugin that makes POST request using the distributed Restlet client.
viewtopic.php?f=20&t=5982
Re: chrome extension
Posted:
Wed May 16, 2012 5:03 pm
by fxandrei
so i added the plugin ..
what now ?:)
do i add the site as a online resource? or what ?
Re: chrome extension
Posted:
Wed May 16, 2012 6:33 pm
by scrissti
1) you need also the attached two files in the zip attached. you need to host them on a web server. i hosted them on my router.
2) update vplaylogin.php with your credentials on line 4,5
3) update vplay.groovy to point to your web server, mine was on 192.168.1.203, but need to change to yours
But the solution zip proposed, is soo much more elegant, i was too lazy to look for it.
So if you want to update it with POST from groovy you are welcome.
Re: chrome extension
Posted:
Thu May 17, 2012 5:20 am
by fxandrei
And after this do i add something in the library ?
Re: chrome extension
Posted:
Thu May 17, 2012 10:09 am
by scrissti
yes, you add web resources in the online library , urls like this
http://vplay.ro/c/ubkss46g/
Re: chrome extension
Posted:
Thu May 17, 2012 2:23 pm
by fxandrei
this is really great.
ive managed to get this working.
thanks.
but i have one more question.
if i watch a movie on the site, i get a subtitle, but when i watch it on the tv i get no subtitle, so im guessing that the subtitle is not embedded in the movie, so my question is this: is there anyway to show the subtitle that i get when i watch from a web browser ?
Re: chrome extension
Posted:
Thu May 17, 2012 2:27 pm
by scrissti
subtitle is not supported for online content yet.
maybe zip can provide an estimate for when this would be available
Re: chrome extension
Posted:
Thu May 17, 2012 4:57 pm
by fxandrei
this would be one kick as web resource if i could take the subs as well
.
Re: chrome extension
Posted:
Tue Aug 21, 2012 4:53 pm
by rolfwessels
I created a simple
chrome extension that currently works with youtube (I can extend this to other services if there is a demand). Should allow easy addition of online resources to serviio
You can add play lists, search results and user feeds. Check out
http://lazycowprojects.tumblr.com/post/ ... nd-youtube for more info and some screen shots.
Re: chrome extension
Posted:
Tue Jan 08, 2013 1:54 pm
by benisv
hi i made all the steps you made ,can you please help me out?
http://vplay.like*******.com/vplaylogin.phpin the vplaylogin.php i change my usewr and pass
in the vplay.groovy i change the path to those two files like this
http://vplay.likea******.com/vplaylogin.phpi added the link web resources in the online library
http://vplay.ro/c/ubkss46g/but there is no way that i can see anything on my tv in the "online" folder