FAQ  •  Register  •  Login

Online feed expired unexpectedly

<<

miksa

Serviio lover

Posts: 68

Joined: Fri Nov 09, 2012 2:30 am

Post Tue Nov 20, 2012 2:37 pm

Online feed expired unexpectedly

Hi , I have noticed that after my PC returned from sleep mode Serviio started updating SOME RSS feeds that didn't supposed to be expired. Please take a look at log:

2012-11-19 21:13:21,125 DEBUG [org.serviio.library.online.OnlineContentCacheDecorator] Stored online content 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?time=today' in the cache (online_feeds), returning it
2012-11-19 21:13:21,125 DEBUG [org.serviio.library.online.OnlineLibraryManager] Resource http://gdata.youtube.com/feeds/api/stan ... time=today will expire in the cache on Mon Dec 03 18:13:21 EST 2012
...
2012-11-20 00:11:20,359 DEBUG [org.serviio.library.online.metadata.FeedUpdaterThread] Checking for new and expired online resources
2012-11-20 00:12:20,468 DEBUG [org.serviio.library.online.metadata.FeedUpdaterThread] Checking for new and expired online resources
2012-11-20 07:30:45,640 DEBUG [org.serviio.library.online.metadata.FeedUpdaterThread] Checking for new and expired online resources
2012-11-20 07:30:45,656 DEBUG [org.serviio.library.online.OnlineLibraryManager] Online resource http://gdata.youtube.com/feeds/api/stan ... time=today expired, will reload it
2012-11-20 07:30:45,656 DEBUG [org.serviio.library.online.OnlineLibraryManager] Resource http://gdata.youtube.com/feeds/api/stan ... time=today not in cache yet, loading it
2012-11-20 07:30:45,656 DEBUG [org.serviio.library.online.feed.FeedParser] Parsing feed 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?time=today'
2012-11-20 07:30:50,562 DEBUG [org.serviio.library.online.feed.FeedParser] Found matching url extractor (YouTube) for resource http://gdata.youtube.com/feeds/api/stan ... time=today
...
2012-11-20 07:30:53,109 DEBUG [org.serviio.library.online.OnlineContentCacheDecorator] Stored online content 'http://gdata.youtube.com/feeds/api/standardfeeds/top_rated?time=today' in the cache (online_feeds), returning it
2012-11-20 07:30:53,109 DEBUG [org.serviio.library.online.OnlineLibraryManager] Resource http://gdata.youtube.com/feeds/api/stan ... time=today will expire in the cache on Tue Dec 04 04:30:53 EST 2012
it looks like a bug.
- Mike
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Nov 21, 2012 9:50 am

Re: Online feed expired unexpectedly

What is your feed expiry interval? This message shows the expected expiry using the console setting. The plugin, however, can set individual expiry date for each item in the feed (which it does in the case of YouTube). In that case the feed expires whenever either the console setting or any of the feed items expires (whichever is first).
<<

miksa

Serviio lover

Posts: 68

Joined: Fri Nov 09, 2012 2:30 am

Post Wed Nov 21, 2012 2:18 pm

Re: Online feed expired unexpectedly

zip wrote:What is your feed expiry interval? This message shows the expected expiry using the console setting. The plugin, however, can set individual expiry date for each item in the feed (which it does in the case of YouTube). In that case the feed expires whenever either the console setting or any of the feed items expires (whichever is first).
Thanks Petr. feed expire interval was set to 333 hours in console. so i have commented out "expiresOn: expiryDate" to fix this issue.

as you might notice i want to see only current content from an online feed but i don't like periodic updates feature at all. because (1) it doesn't guarantee that content is up to a minute and (2) frequent updates may be waste of resources if the feed is not being watched for a day or two.
- Mike

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 47 guests

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