Page 1 of 1

BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sat Sep 22, 2012 12:51 am
by jhb50
NOTE: Youtube no longer generates its billboard top 20 playlist. Use this playlist link instead.
It has the Current Billboard Top 10 followed by previous top 10's.
http://gdata.youtube.com/feeds/api/play ... 70BA91BD6E


This BillboardTop20.groovy "web resource" will generate a folder with the Top 20 Billboard music videos for the current week using the dummy url "http://www.billboardtop20.com .

Alternatively with v2, the console value may be overridden by using the parameter for=nn This allows the console value to be set to a small value while allowing up to 20 of the Top20 videos to be displayed, or fewer than the console value to be displayed.

For example if the console value is 10, the url "http://www.billboardtop20.com?start=11" will display videos 11 to 20 and "http://www.billboardtop20.com?for=20" will display all 20 videos and "http://www.billboardtop20.com?start=11&for=5" will display videos 11 through 15.

The Serviio Console Quality options will dictate the resolution of these videos. HIGH will display 1920x1080, MEDIUM 854x480 and LOW 400x240. However YouTube provides multiple formats and resolutions for each video so specific high and medium resolutions may be specified which will override the console values by adding the parameter res=xxx where res = 1080 (1920x1080), 720 (1280x720), 480 (854x480), 360 (640x360) or 240 (400x240)

Similarly the default codec for each video is h264(avc) (codec=264) however VP8 may be specified by adding the parameter codec=8 .

eg: "http://www..billboardtop20.com?start=11&res=720&codec=8"

The nform=xbox option may also be used to pad the title number to 3 digits for correct ordering on xbox.

Version 2: Fixed for changed YouTube format, added the "for" option and rewrote the above instructions.
Version 3: Dec 9, 2012 - Updated for new YouTube format
Version 4: Dec 20, 2012 - Support revised YT format
Version 5: Feb 3, 2013 - Honor YouTube Expiry Date
Version 6: Feb 17 ,2013- Support revised YT format

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sat Sep 22, 2012 11:39 am
by YTMY
Another great plugin. Will test and report if everything works on my setup.

Thanks!

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Tue Oct 16, 2012 6:18 am
by jhb50
Seems like this no longer works because YouTube has removed the Billboard listing,

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Wed Oct 17, 2012 12:18 am
by Xmantium
I dont see its been removed, still up to date - http://www.youtube.com/playlist?list=BB20121020

Playlist for Billboard Top 20 can be found on the right panel here - http://www.youtube.com/playlist?list=MCUS.yyyymmdd

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Wed Oct 17, 2012 4:05 pm
by jhb50
Yes, its back again, but it was not there when I posted. So if users get an error they should first check that the bilboard playlist can be found on the right panel here - http://www.youtube.com/playlist?list=MCUS.yyyymmdd

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Oct 21, 2012 9:19 pm
by jhb50
Version 2 posted to fix change in YouTube Format and add a "for" option.

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Dec 09, 2012 1:26 pm
by Xmantium
Im getting alot of errors due to this plugin, is it due to site changes?
Allot are the same error
  Code:
2012-12-09 02:07:00,236 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (BillboardTop20): index is out of range 0..-1 (index = 0)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
Caused by: java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
   at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
   at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
   at BillboardTop20.extractItems(BillboardTop20.groovy:105)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
2012-12-09 02:08:01,339 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (BillboardTop20): index is out of range 0..-1 (index = 0)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
Caused by: java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
   at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
   at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
   at BillboardTop20.extractItems(BillboardTop20.groovy:105)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
2012-12-09 02:09:02,618 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (BillboardTop20): index is out of range 0..-1 (index = 0)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:58)
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:171)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
Caused by: java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
   at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
   at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
   at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
   at BillboardTop20.extractItems(BillboardTop20.groovy:105)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:32)
   at org.serviio.library.online.WebResourceUrlExtractor$1.executePluginMethod(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Dec 09, 2012 2:01 pm
by jhb50
YouTube no longer provides Top 100 weekly or Billboard 20 lists.

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Dec 09, 2012 2:12 pm
by Xmantium
Thats a shame :(

Does that your gonna be updating the Youtube Music plugin to daily by default now?
http://www.youtube.com/playlist?list=MCUS.yyyymmdd seem to be working

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Dec 09, 2012 8:21 pm
by jhb50
Version 3 posted to spoof BillboardTop20

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Thu Dec 20, 2012 7:55 pm
by jhb50
Version 4 posted to support revised YT format

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Mon Feb 04, 2013 2:08 am
by jhb50
Version 5 posted to honor YouTube Expiry date

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Mon Feb 18, 2013 2:48 am
by jhb50
Version 6 posted to support revised YT format

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sat Jul 13, 2013 5:16 pm
by jhb50
NOTE: Youtube no longer generates its billboard top 20 playlist. Use this playlist link instead.
It has the Current Billboard Top 10 followed by previous top 10's.
http://gdata.youtube.com/feeds/api/play ... 70BA91BD6E

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Oct 27, 2013 7:51 pm
by Xmantium
I can confrim the plugin is now working!!!

:serviiolink: serviio://video:web?url=http%3A%2F%2Fww ... ard+Top+20

:D Thanks JHB50!

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Sun Dec 22, 2013 2:48 pm
by thailand
From today i get only 1 video to see ... nr 13.. Strange

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Tue Dec 24, 2013 6:14 am
by Xmantium
Im the same!! Top 100 Music Video has also been effected as it uses the same code!

jhb50, i know its the holiday but it seems all googlevideo.com hosted videos dont play. It used to be one or two and now its more common.
Please help!!

Re: BILLBOARDTOP 20 MUSIC VIDEOS WEB RESOURCE

PostPosted: Tue Dec 24, 2013 5:58 pm
by jhb50
It would appear that Vevo videos have again been locked up with a scrambled signature.