FAQ  •  Register  •  Login

chrome extension

<<

scrissti

Serviio newbie

Posts: 18

Joined: Fri Mar 09, 2012 11:51 pm

Post Thu Apr 12, 2012 7:10 pm

chrome extension

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16879

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 13, 2012 11:12 am

Re: chrome extension

Play to is not supported by DLNA servers, it's a part od DLNA controller which Serviio doesn't implement
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Wed May 16, 2012 6:40 am

Re: chrome extension

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 ?
<<

scrissti

Serviio newbie

Posts: 18

Joined: Fri Mar 09, 2012 11:51 pm

Post Wed May 16, 2012 8:21 am

Re: chrome extension

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
Attachments
vplay.groovy
(6.28 KiB) Downloaded 295 times
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Wed May 16, 2012 12:10 pm

Re: chrome extension

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 ;)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16879

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed May 16, 2012 3:49 pm

Re: chrome extension

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
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Wed May 16, 2012 5:03 pm

Re: chrome extension

so i added the plugin ..
what now ?:)
do i add the site as a online resource? or what ?
<<

scrissti

Serviio newbie

Posts: 18

Joined: Fri Mar 09, 2012 11:51 pm

Post Wed May 16, 2012 6:33 pm

Re: chrome extension

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.
Attachments
Archive.zip
(2.55 KiB) Downloaded 170 times
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Thu May 17, 2012 5:20 am

Re: chrome extension

And after this do i add something in the library ?
<<

scrissti

Serviio newbie

Posts: 18

Joined: Fri Mar 09, 2012 11:51 pm

Post Thu May 17, 2012 10:09 am

Re: chrome extension

yes, you add web resources in the online library , urls like this http://vplay.ro/c/ubkss46g/
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Thu May 17, 2012 2:23 pm

Re: chrome extension

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 ?
<<

scrissti

Serviio newbie

Posts: 18

Joined: Fri Mar 09, 2012 11:51 pm

Post Thu May 17, 2012 2:27 pm

Re: chrome extension

subtitle is not supported for online content yet.
maybe zip can provide an estimate for when this would be available
<<

fxandrei

Streaming enthusiast

Posts: 23

Joined: Sat Dec 03, 2011 7:11 pm

Post Thu May 17, 2012 4:57 pm

Re: chrome extension

this would be one kick as web resource if i could take the subs as well :).
<<

rolfwessels

Streaming enthusiast

Posts: 25

Joined: Sun Aug 19, 2012 4:42 pm

Post Tue Aug 21, 2012 4:53 pm

Re: chrome extension

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.
<<

benisv

Serviio newbie

Posts: 1

Joined: Tue Jan 08, 2013 12:56 pm

Post Tue Jan 08, 2013 1:54 pm

Re: chrome extension

hi i made all the steps you made ,can you please help me out?

http://vplay.like*******.com/vplaylogin.php

in 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.php

i 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

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.