FAQ  •  Register  •  Login

Manually testing plugins

<<

tuareg64ve

Serviio lover

Posts: 54

Joined: Wed Mar 28, 2012 4:38 am

Post Sat Aug 29, 2015 11:52 am

Manually testing plugins

I am playing with plugins and I would like to ask the following question.
From the wiki:

http://wiki.serviio.org/doku.php?id=servio_plugins

if I run for instance:

  Code:
groovy -cp lib/serviio.jar:lib/slf4j-api.jar:lib/slf4j-log4j12.jar:lib/log4j.jar:lib/org.restlet.jar plugins/Youtube.groovy


I get some infomation such as the following:

  Code:
ContentURLContainer [fileType=VIDEO, contentUrl=http://r6---sn-1gi7zn7l.googlevideo.com/videoplayback?ms=au&signature=E4AEEBD4870EBBABAF737C35954ABADDE71E5B79.BE460C2C4CC63DD92F4A6829241F29E04E9DB98A&ratebypass=yes&source=youtube&mv=m&initcwndbps=2302500&pl=22&dur=104.768&upn=zHZ6WjQv4DQ&mm=31&mt=1440848707&mn=sn-1gi7zn7l&mime=video%2Fmp4&key=yt5&expire=1440870390&id=o-AGplScIFsh5DEnyh4lx_tX-0YHYDkNskYSsrLyTfuc00&ipbits=0&itag=18&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=9407537%2C9408500%2C9408710%2C9409069%2C9409097%2C9412779%2C9415365%2C9415436%2C9415485%2C9416023%2C9416126%2C9416673%2C9417707%2C9418153%2C9418448%2C9418455%2C9418699%2C9419320%2C9419355%2C9419543%2C9420023&lmt=1440820863723232&sver=3&ip=77.59.134.178, thumbnailUrl=https://i.ytimg.com/vi/jqbL0qXEYTs/hqdefault.jpg, expiresOn=Sat Aug 29 19:46:30 CEST 2015, expiresImmediately=false, cacheKey=youtube_jqbL0qXEYTs_18, live=false, ]


Is there any way to launch ffmpeg with this data?
In this way I could check if the plugin is correctly working.

Thanks
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Aug 29, 2015 3:23 pm

Re: Manually testing plugins

use ffplay
  Code:
ffplay http://r6---sn-1gi7zn7l.googlevideo.com/videoplayback?ms=au&signature=E4AEEBD4870EBBABAF737C35954ABADDE71E5B79.BE460C2C4CC63DD92F4A6829241F29E04E9DB98A&ratebypass=yes&source=youtube&mv=m&initcwndbps=2302500&pl=22&dur=104.768&upn=zHZ6WjQv4DQ&mm=31&mt=1440848707&mn=sn-1gi7zn7l&mime=video%2Fmp4&key=yt5&expire=1440870390&id=o-AGplScIFsh5DEnyh4lx_tX-0YHYDkNskYSsrLyTfuc00&ipbits=0&itag=18&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=9407537%2C9408500%2C9408710%2C9409069%2C9409097%2C9412779%2C9415365%2C9415436%2C9415485%2C9416023%2C9416126%2C9416673%2C9417707%2C9418153%2C9418448%2C9418455%2C9418699%2C9419320%2C9419355%2C9419543%2C9420023&lmt=1440820863723232&sver=3&ip=77.59.134.178
<<

tuareg64ve

Serviio lover

Posts: 54

Joined: Wed Mar 28, 2012 4:38 am

Post Sat Aug 29, 2015 3:43 pm

Re: Manually testing plugins

Ok, thanks.

Return to Plugin development

Who is online

Users browsing this forum: No registered users and 4 guests

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