Page 1 of 1

Online feed expired unexpectedly

PostPosted: Tue Nov 20, 2012 2:37 pm
by miksa
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.

Re: Online feed expired unexpectedly

PostPosted: Wed Nov 21, 2012 9:50 am
by zip
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).

Re: Online feed expired unexpectedly

PostPosted: Wed Nov 21, 2012 2:18 pm
by miksa
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.