SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2011, 10:03 PM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Is BMT striking out with TVDB more often?

I'm wondering if BMT (yeah it's really phoenix, but BMT is shorter ) is not getting results and/or timing out more often with TVDB in the past few weeks. Case in point, BMT found squat for my recordings tonight. Obviously if the issue is TVDB not responding, there is nothing that could be done other than possibly scheduling a retry at a later time, but should I really need to add a regex for matching every show to its TVDB id? If so I can, but I was under the impression that the mediatitles.xml was just for tweaking and/or pathological cases.

Here is a snip from phoenix-metadata.log
Code:
2011-04-01 21:00:03,712 - ERROR; f:\Recordings3\Chaos-Pilot-9542473-0.mpg; Chaos; 9653888; Failed while parsing series: MediaSearchResult [extraArgs={CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,RAW_TITLE: Chaos,EPISODE_DATE: 2011-04-01,}, id=193801, imdbId=null, metadata=null, providerId=tvdb, score=1.0, title=Chaos, type=TV, url=193801, year=0]
2011-04-01 23:00:00,428 - AUTO; RECORDING; f:\Recordings3\BlueBloods-ToTelltheTruth-9556211-0.mpg; Blue Bloods; 9663782
2011-04-01 23:00:10,432 - ERROR; f:\Recordings3\BlueBloods-ToTelltheTruth-9556211-0.mpg; Blue Bloods; 9663782; Search Failed for SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,QUERY: Blue Bloods,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
2011-04-01 23:00:10,432 - AUTO; RECORDING; D:\Recordings1\Merlin-ComingofArthur-9545489-0.ts; Merlin; 9663783
2011-04-01 23:00:20,435 - ERROR; D:\Recordings1\Merlin-ComingofArthur-9545489-0.ts; Merlin; 9663783; Search Failed for SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,QUERY: Merlin,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
and this is a snip from the phoenix.log for the evening
Code:
2011-04-01 21:00:00,228 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - search(): tvdb; SearchQuery [type=TV, fields={RAW_TITLE: Chaos,CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
2011-04-01 21:00:00,228 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - Searching: Chaos using TVDBMetadataProvider[MetadataProviderInfo [id=tvdb, fanartId=null, mediaTypes=[TV], name=thetvdb.com]]
2011-04-01 21:00:00,228 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser - TVDB Search: http://www.thetvdb.com/api/GetSeries.php?seriesname=Chaos
2011-04-01 21:00:00,702 [Timer-10] WARN  sagex.phoenix.metadata.search.MetadataSearchUtil - The year was not passed in the query: SearchQuery [type=TV, fields={RAW_TITLE: Chaos,CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,QUERY: Chaos,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]] we are returning the first good result.  Consider adding the year to the query for better matches.
2011-04-01 21:00:00,703 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - Fetching Metadata for MediaSearchResult [extraArgs={CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,RAW_TITLE: Chaos,EPISODE_DATE: 2011-04-01,}, id=193801, imdbId=null, metadata=null, providerId=tvdb, score=1.0, title=Chaos, type=TV, url=193801, year=0]
2011-04-01 21:00:00,703 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBSeriesParser - TVDB Series: http://www.thetvdb.com/api/5645B594A3F32D27/series/193801/en.xml
2011-04-01 21:00:01,088 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBSeriesParser - TVDB Actors: http://www.thetvdb.com/api/5645B594A3F32D27/series/193801/actors.xml
2011-04-01 21:00:01,179 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBItemParser - TVDB date: http://thetvdb.com/api/GetEpisodeByAirDate.php?apikey=5645B594A3F32D27&seriesid=193801&airdate=2011-04-01
2011-04-01 21:00:03,045 [Timer-10] WARN  sagex.phoenix.metadata.provider.tvdb.TVDBItemParser - Can't do lookup by season/epsidoe for season: null; episode: null
2011-04-01 21:00:03,046 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBItemParser - TVDB Title: http://www.thetvdb.com/api/5645B594A3F32D27/series/193801/all/en.xml
2011-04-01 21:00:03,712 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBItemParser - Unable to match a direct title for: Pilot
2011-04-01 21:00:03,713 [Timer-10] WARN  phoenix.log - ERROR; f:\Recordings3\Chaos-Pilot-9542473-0.mpg; Chaos; 9653888; Failed while parsing series: MediaSearchResult [extraArgs={CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,RAW_TITLE: Chaos,EPISODE_DATE: 2011-04-01,}, id=193801, imdbId=null, metadata=null, providerId=tvdb, score=1.0, title=Chaos, type=TV, url=193801, year=0]
MetadataException []
	at sagex.phoenix.metadata.provider.tvdb.TVDBItemParser.getMetadata(TVDBItemParser.java:118)
	at sagex.phoenix.metadata.provider.tvdb.TVDBMetadataProvider.getMetaData(TVDBMetadataProvider.java:33)
	at sagex.phoenix.metadata.MetadataManager.getMetdata(MetadataManager.java:317)
	at sagex.phoenix.metadata.MetadataManager.getMetdata(MetadataManager.java:381)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:473)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:443)
	at sagex.phoenix.plugin.PhoenixPlugin.updateMetadata(PhoenixPlugin.java:175)
	at sagex.phoenix.plugin.PhoenixPlugin.recordingCompleted(PhoenixPlugin.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.Exception: Cannot process TV without a valid season/episod; Result: MediaSearchResult [extraArgs={CLEAN_TITLE: Chaos,EPISODE_TITLE: Pilot,RAW_TITLE: Chaos,EPISODE_DATE: 2011-04-01,}, id=193801, imdbId=null, metadata=null, providerId=tvdb, score=1.0, title=Chaos, type=TV, url=193801, year=0]
	at sagex.phoenix.metadata.provider.tvdb.TVDBItemParser.getMetadata(TVDBItemParser.java:99)
	... 14 more
2011-04-01 23:00:00,429 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - search(): tvdb; SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
2011-04-01 23:00:00,429 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - Searching: Blue Bloods using TVDBMetadataProvider[MetadataProviderInfo [id=tvdb, fanartId=null, mediaTypes=[TV], name=thetvdb.com]]
2011-04-01 23:00:00,429 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser - TVDB Search: http://www.thetvdb.com/api/GetSeries.php?seriesname=Blue+Bloods
2011-04-01 23:00:10,432 [Timer-10] WARN  sagex.phoenix.metadata.MetadataManager - Search Failed for: SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,QUERY: Blue Bloods,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]] using provider TVDBMetadataProvider[MetadataProviderInfo [id=tvdb, fanartId=null, mediaTypes=[TV], name=thetvdb.com]]; Message: Failed to get/parse search query SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,QUERY: Blue Bloods,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
MetadataException []
	at sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser.getResults(TVDBSearchParser.java:91)
	at sagex.phoenix.metadata.provider.tvdb.TVDBMetadataProvider.search(TVDBMetadataProvider.java:47)
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:254)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:473)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:443)
	at sagex.phoenix.plugin.PhoenixPlugin.updateMetadata(PhoenixPlugin.java:175)
	at sagex.phoenix.plugin.PhoenixPlugin.recordingCompleted(PhoenixPlugin.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sagex.phoenix.util.url.CachedUrl.cache(CachedUrl.java:157)
	at sagex.phoenix.util.url.CachedUrl.getUrl(CachedUrl.java:142)
	at sagex.phoenix.util.url.CachedUrl.getInputStream(CachedUrl.java:200)
	at sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser.getResults(TVDBSearchParser.java:79)
	... 13 more
2011-04-01 23:00:10,432 [Timer-10] WARN  phoenix.log - ERROR; f:\Recordings3\BlueBloods-ToTelltheTruth-9556211-0.mpg; Blue Bloods; 9663782; Search Failed for SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,QUERY: Blue Bloods,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
MetadataException [query=SearchQuery [type=TV, fields={RAW_TITLE: Blue Bloods,CLEAN_TITLE: Blue Bloods,EPISODE_TITLE: To Tell the Truth,QUERY: Blue Bloods,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]], ]
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:283)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:473)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:443)
	at sagex.phoenix.plugin.PhoenixPlugin.updateMetadata(PhoenixPlugin.java:175)
	at sagex.phoenix.plugin.PhoenixPlugin.recordingCompleted(PhoenixPlugin.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
2011-04-01 23:00:10,433 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - search(): tvdb; SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
2011-04-01 23:00:10,433 [Timer-10] INFO  sagex.phoenix.metadata.MetadataManager - Searching: Merlin using TVDBMetadataProvider[MetadataProviderInfo [id=tvdb, fanartId=null, mediaTypes=[TV], name=thetvdb.com]]
2011-04-01 23:00:10,433 [Timer-10] INFO  sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser - TVDB Search: http://www.thetvdb.com/api/GetSeries.php?seriesname=Merlin
2011-04-01 23:00:20,435 [Timer-10] WARN  sagex.phoenix.metadata.MetadataManager - Search Failed for: SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,QUERY: Merlin,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]] using provider TVDBMetadataProvider[MetadataProviderInfo [id=tvdb, fanartId=null, mediaTypes=[TV], name=thetvdb.com]]; Message: Failed to get/parse search query SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,QUERY: Merlin,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
MetadataException []
	at sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser.getResults(TVDBSearchParser.java:91)
	at sagex.phoenix.metadata.provider.tvdb.TVDBMetadataProvider.search(TVDBMetadataProvider.java:47)
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:254)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:473)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:443)
	at sagex.phoenix.plugin.PhoenixPlugin.updateMetadata(PhoenixPlugin.java:175)
	at sagex.phoenix.plugin.PhoenixPlugin.recordingCompleted(PhoenixPlugin.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: connect timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sagex.phoenix.util.url.CachedUrl.cache(CachedUrl.java:157)
	at sagex.phoenix.util.url.CachedUrl.getUrl(CachedUrl.java:142)
	at sagex.phoenix.util.url.CachedUrl.getInputStream(CachedUrl.java:200)
	at sagex.phoenix.metadata.provider.tvdb.TVDBSearchParser.getResults(TVDBSearchParser.java:79)
	... 13 more
2011-04-01 23:00:20,435 [Timer-10] WARN  phoenix.log - ERROR; D:\Recordings1\Merlin-ComingofArthur-9545489-0.ts; Merlin; 9663783; Search Failed for SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,QUERY: Merlin,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]]
MetadataException [query=SearchQuery [type=TV, fields={RAW_TITLE: Merlin,CLEAN_TITLE: Merlin,EPISODE_TITLE: Coming of Arthur,QUERY: Merlin,EPISODE_DATE: 2011-04-01,}, hints=Hints [hints={update_fanart: true,update_metadata: true,scan_missing_metadata: true,scan_subfolders: true,known_recording: true,import_tv_as_recording: false,auto: true,}]], ]
	at sagex.phoenix.metadata.MetadataManager.search(MetadataManager.java:283)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:473)
	at sagex.phoenix.metadata.MetadataManager.automaticUpdate(MetadataManager.java:443)
	at sagex.phoenix.plugin.PhoenixPlugin.updateMetadata(PhoenixPlugin.java:175)
	at sagex.phoenix.plugin.PhoenixPlugin.recordingCompleted(PhoenixPlugin.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
	at java.util.TimerThread.mainLoop(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)
To my eye it looks like Chaos failed to find anything then Blue Bloods and Merlin timed out. I could be mis-reading the logs though

Disclaimer: I am running 7.1.5 but I didn't flush the guide data when I updated last weekend (had to wait for Diamond!) so the S/E data is probably not available in my guide data for this week or the next.

Also, I'm not complaining; I'm questioning and hoping there is a solution that doesn't require much (any) coding on your part
Reply With Quote
  #2  
Old 04-02-2011, 05:06 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
In looking at your logs (thanks for posting) I think you've summed it up pretty good. The first failure was a regular failure (ie search completed but no good matches) and the other 2 were timeouts.

As for the first failure, it appears that "chaos" is in tvdb twice, and as result, it doesn't know which one to use, so it fails. (MediaTitles.xml would help with that).

As for the other two. A few build back I added a retry behaviour for failed automatic lookups. At that time, I only added support for Connection exceptions (which usually happen if the server is too busy) but I forgot add support SocketConnectException. I'm picking and choosing which exceptions to retry on, since I don't want to retry every exception. So, this will be in the next build that I'm hoping to get out today or tomorrow.

The retry behaviour can be tweaked from the Metadata/Fanart options. There are 3 settings that control this; Automatic Retry Count, Automatic Retry Threads, Automatic Retry Delay.

Count it the # of time a failed item will retry (currently set to 5). Threads is the number of retry threads (currently set to 2, shouldn't need to change), and Delay is the # of seconds to wait between retries.

So, as its configured out the box, a failed lookup will try 5 times with a 1 minute delay between retries. If you are finding that 1 minute (60 seconds) is too short, then you can set it to something larger.
Reply With Quote
  #3  
Old 04-02-2011, 06:57 PM
Spectrum Spectrum is offline
Sage Expert
 
Join Date: Aug 2006
Posts: 720
Woo, I didn't realize the delay and retry had been added for anything. I should pay more attention to the release notes Hopefully allowing retries on that exception will help things in the future.

Oh and I added chaos to the mediatitles.xml as it is one of those pathological cases.

Thanks for the help!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BMT fails to fetch tvdb metadata scanner95 Batch Metadata Tools 1 02-15-2011 08:35 AM


All times are GMT -6. The time now is 01:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.