FAQ  •  Register  •  Login

YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

<<

TheOne.PC

Serviio lover

Posts: 77

Joined: Tue Jan 10, 2012 11:43 am

Post Sun Aug 12, 2012 8:08 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

jhb50 wrote:V10 released to fix timeout with Serviio 1.0


With Serviio 1.0.1 the problem is back :(
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Aug 12, 2012 8:54 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

TheOne.PC wrote:
jhb50 wrote:V10 released to fix timeout with Serviio 1.0


With Serviio 1.0.1 the problem is back :(


Thanks for letting me know but its not happening to me. I have an open issue with zip on this. Could you please post your "DEBUG" log starting at the line 2012-08-08 20:24:17,688 DEBUG [WebResourceParser] Parsing web resource 'http://www.youtubetop100.com' through to the 30000 timeout so we can pin the problem down?
<<

TheOne.PC

Serviio lover

Posts: 77

Joined: Tue Jan 10, 2012 11:43 am

Post Mon Aug 13, 2012 10:13 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

  Code:
2012-08-13 12:07:48,068 DEBUG [TechnicalMetadataCacheDecorator] Stored technical metadata for online item 'http://www.youtube.com/watch?v=evjkQ3JySMY&feature=youtube_gdata_22' in the cache (online_technical_metadata), returning it
2012-08-13 12:07:48,068 DEBUG [OnlineLibraryManager] Thumbnail http://i2.ytimg.com/vi/evjkQ3JySMY/default.jpg not in cache yet, loading it
2012-08-13 12:07:48,135 DEBUG [CoverImageService] Resizing and storing cover art image
2012-08-13 12:07:48,136 DEBUG [ImageUtils] Starting image resize, size = 3678 bytes
2012-08-13 12:07:48,150 DEBUG [ImageUtils] Returning resized image, size = 2777 bytes
2012-08-13 12:07:48,150 DEBUG [CoverImageService] Image successfully resized
2012-08-13 12:07:48,151 DEBUG [ThumbnailCacheDecorator] Stored entry in the cache (thumbnails), returning it
2012-08-13 12:07:48,151 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 68)
2012-08-13 12:07:48,152 DEBUG [OnlineLibraryManager] Resource http://www.youtubetop100.com?type=475&res=720 not in cache yet, loading it
2012-08-13 12:07:48,152 DEBUG [WebResourceParser] Parsing web resource 'http://www.youtubetop100.com?type=475&res=720'
2012-08-13 12:07:48,153 DEBUG [WebResourceParser] Found matching url extractor (YouTubeTop100) for resource http://www.youtubetop100.com?type=475&res=720
2012-08-13 12:07:48,153 DEBUG [FeedItemUrlExtractor] YouTubeTop100: Starting parsing resource: http://www.youtubetop100.com?type=475&res=720
2012-08-13 12:07:51,978 DEBUG [AbstractCDSLibraryIndexingListener] Library updated, notifying CDS
2012-08-13 12:08:09,351 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.1.2, timeout = 0
2012-08-13 12:08:09,352 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 83403509-60a4-3ac0-bae1-94340baf2344
2012-08-13 12:08:11,158 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:36
2012-08-13 12:08:18,160 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (YouTubeTop100): The operation took more than 30000 ms and has been cancelled.
   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.RuntimeException: The operation took more than 30000 ms and has been cancelled.
   at org.serviio.library.online.PluginExecutionProcessor.execute(PluginExecutionProcessor.java:64)
   at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:56)
   ... 4 more
2012-08-13 12:08:18,161 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 69)
2012-08-13 12:08:18,161 DEBUG [OnlineLibraryManager] Resource http://www.youtubetop100.com?type=473&res=720 not in cache yet, loading it
2012-08-13 12:08:18,162 DEBUG [WebResourceParser] Parsing web resource 'http://www.youtubetop100.com?type=473&res=720'
2012-08-13 12:08:18,162 DEBUG [WebResourceParser] Found matching url extractor (YouTubeTop100) for resource http://www.youtubetop100.com?type=473&res=720
2012-08-13 12:08:18,162 DEBUG [FeedItemUrlExtractor] YouTubeTop100: Starting parsing resource: http://www.youtubetop100.com?type=473&res=720
2012-08-13 12:08:32,095 DEBUG [WebServer] I/O error: Connection reset
2012-08-13 12:08:48,117 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.1.2, timeout = 0
2012-08-13 12:08:48,119 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 83403509-60a4-3ac0-bae1-94340baf2344
2012-08-13 12:08:48,163 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Unexpected error while invoking plugin (YouTubeTop100): The operation took more than 30000 ms and has been cancelled.
   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.RuntimeException: The operation took more than 30000 ms and has been cancelled.
   at org.serviio.library.online.PluginExecutionProcessor.execute(PluginExecutionProcessor.java:64)
   at org.serviio.library.online.WebResourceUrlExtractor.parseWebResource(WebResourceUrlExtractor.java:29)
   at org.serviio.library.online.WebResourceParser.parse(WebResourceParser.java:56)
   ... 4 more
2012-08-13 12:08:48,163 DEBUG [OnlineRepositoryDAOImpl] Reading an OnlineRepository (id = 70)
2012-08-13 12:08:48,164 DEBUG [OnlineLibraryManager] Resource http://www.youtubetop100.com?type=466&res=720 not in cache yet, loading it
2012-08-13 12:08:48,164 DEBUG [WebResourceParser] Parsing web resource 'http://www.youtubetop100.com?type=466&res=720'
2012-08-13 12:08:48,164 DEBUG [WebResourceParser] Found matching url extractor (YouTubeTop100) for resource http://www.youtubetop100.com?type=466&res=720
2012-08-13 12:08:48,164 DEBUG [FeedItemUrlExtractor] YouTubeTop100: Starting parsing resource: http://www.youtubetop100.com?type=466&res=720
2012-08-13 12:08:49,924 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:46
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Aug 13, 2012 2:40 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

I do not know why you are getting the timeout while adding items. The I/O error is likely the cause but I don't know where that is coming from. The same urls work fine for me.

Attached is the V10 Top100.groovy with log statements added which will show a line each time an item is added. If you will use that groovy and post the log it will give me more info.
Attachments
Top100.groovy
DEBUG VERSION
(10.92 KiB) Downloaded 446 times
<<

TheOne.PC

Serviio lover

Posts: 77

Joined: Tue Jan 10, 2012 11:43 am

Post Mon Aug 13, 2012 5:54 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Everything all right, i wasn't using the v10 of the plugin because it wasn't in the "all plugin pack" - http://forum.serviio.org/viewtopic.php?f=20&t=3820
Sorry :?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Aug 13, 2012 8:19 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Version 11 posted with Version number added to log so users can verify version being used.
<<

ansonkemp

Serviio newbie

Posts: 4

Joined: Tue Sep 04, 2012 2:07 pm

Post Wed Sep 12, 2012 1:36 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Using Version 11 and getting this error
2012-09-12 15:20:56,810 DEBUG [FeedParser] Parsing feed 'http://www.youtubetop100.com?type=472&res=720'
2012-09-12 15:20:57,162 DEBUG [FeedParser] Feed failed parsing (Invalid XML), trying BOM detection
2012-09-12 15:20:57,166 DEBUG [FeedParser] BOM Feed failed parsing (Invalid XML: Error on line 34: The element type "link" must be terminated by the matching end-tag "</link>".), trying unzipping it
2012-09-12 15:20:57,166 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.youtubetop100.com?type=472&res=720. Message: Error during feed parsing, provided URL probably doesn't point to a valid RSS/Atom feed. Message: Invalid XML
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
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)
Does anyone know why?
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Sep 12, 2012 5:02 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

As it says this is a webresource not an rss/atom.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Sep 18, 2012 3:13 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Version 12 added to support new YouTube code. Prior versions no longer work.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Tue Sep 18, 2012 4:42 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Thank you for that jhb50.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Fri Sep 21, 2012 9:01 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Hi jhb50, this plugin just gets better, thankyou very much! Who knew Gangnam Style is the most popular track in my household and many to discover!

Are you able to add the Billboard Top 20 list too? - http://www.youtube.com/playlist?list=BB ... ature=plpp
The latest playlist date can be found on the right hand side here
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Sep 22, 2012 12:53 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Are you able to add the Billboard Top 20 list too?

Good idea. viewtopic.php?f=20&t=7500
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sat Sep 22, 2012 7:39 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

jhb50 wrote:Good idea. viewtopic.php?f=20&t=7500

That was quick!
Was not possible to include this list in this plugin rather than a new one?
This way it will be less maintenance for you when there's changes to YouTube.
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jenaas2107

Serviio newbie

Posts: 1

Joined: Thu Oct 04, 2012 7:12 am

Post Thu Oct 04, 2012 7:17 am

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

You can watch very interesting movies that comes under top 100 comedy movies. Comedy movies are enjoyable to watch and good to spend the free time of holidays. I also like to watch movies that are very interesting.

top 100 comedy movies
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Oct 04, 2012 12:39 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

jenaas2107 wrote:You can watch very interesting movies that comes under top 100 comedy movies. Comedy movies are enjoyable to watch and good to spend the free time of holidays. I also like to watch movies that are very interesting.

top 100 comedy movies


That site only ranks movies and shows trailers. It does not show the movies themselves.
<<

YTMY

User avatar

Serviio lover

Posts: 73

Joined: Wed May 04, 2011 7:02 pm

Location: Vilnius, Lithuania

Post Sun Oct 21, 2012 3:30 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

hi, first thanks for one of the best plugins :)

Until recently everything was flawless. But this week I noticed a problem - titles do not correspond to videos. When I press to play for example a gotye song, it plays a totally different video (which I think is from the same playlist). Can it be that Youtube coding changed somehow or is my library messed up? Refreshing, restarting, re-adding source does not help. Here is the example of one source (the same problem is for all sources I use with this plugin):
http://www.youtubetop100.com?type=472&res=720

P.S. I encounter the same problem with Billboard top 20 plugin.

Thanks for your help in advance.
| Samsung UE32C6500 LED | Windows 7 x64 | 5Ghz wi-fi N 300Mbps setup |
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Oct 21, 2012 8:55 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Thanks for the heads up. YouTube changed the format so I've posted V13.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Nov 30, 2012 10:26 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

V14 corrects 'for' parameter error.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Dec 09, 2012 6:35 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Version 15 posted to force daily listing per youtube change.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sun Dec 09, 2012 8:44 pm

Re: YOUTUBE TOP 100 MUSIC VIDEOS WEB RESOURCE

Version 16 posted to restore weekly listing
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 20 guests

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