Closed mr-gmz closed 4 years ago
Up to date? [...]/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/_Logs/(Library_name/)?series_root_folder.agent-update.log
Everything should be up to date (I ran the commands placed on the Ubuntu guide) and updated Plex to the latest version
This is the log for one of the affected series Aa! Megami-sama!.agent-update.log
AniDB:
<error code="500">banned</error>
--- tvdb mapping adjustments --------------------------------------------------------------------------------------------------------------------------------
TVDB Before: {'s0': {'27': '0', '7973': '9', '5426': '7'}, 's0e0': ('0', '1', '27'), 's0e6': ('1', '1', '206'), 's0e7': ('0', '1', '2533'), 's1': {'2533': '0'}, 's1e25': ('0', '2', '2533'), 's1e26': ('0', '3', '2533'), 's2': {'4153': '0'}, 's2e23': ('0', '1', '4153'), 's2e24': ('0', '2', '4153'), 's-1': {'206': '0'}}
Checking AniDBid: 27
ERROR: Unexpected exception hit
Exception: "'27'"
Removing AniDB & TVDB data from memory to prevent incorrect data from being loaded
Did you re-create libraries or clear cache recently? It should be tricky to be banned on AniDB
My NAS died and I had to get a new one, the library was not removed but it appeared to refresh all metadata, which could possibly be the reason for the ban as I have about 1000 shows there
So, anything I can do to about the ban? Use a router level VPN? Connect over phone tethering? Ask nicely to be unbanned?
wait 1 or 24 hours (depending ban level)...
Alright, I'll leave it alone until the end of the week then, thanks for the confirmation
You are not using the most recent code. You are missing lines that should have been printed and it would not have removed metadata on 'tvdb'
except Exception as e:
if is_banned: Log.Info("Expected exception hit as you were banned from AniDB so you have incomplete data to proceed")
else: Log.Error("Unexpected exception hit")
Log.Info('Exception: "{}"'.format(e))
Log.Info("If a key error, look at the 'season_map'/'relations_map' info to see why it is missing")
if source=="tvdb": Log.Info("Source is 'tvdb' so metadata will be loaded but it will not be complete for any 'anidb3' end of season additions")
if source=="tvdb6": Log.Info("Source is 'tvdb6' so removing AniDB & TVDB metadata from memory to prevent incorrect data from being loaded"); dict_AniDB.clear(); dict_TheTVDB.clear()
is_modified = False
Ok, I'm at my wits' end here with this
I had a few shows on my library with no match, most of them matched to a thetvdb record, after this some download metadata and some refuse to do so, I checked naming conventions, previous threads for issue, reviewed logs, cleared cache and the only relevant information I find on the com.plexapp.agents.hama.log that state that it has issues with authorization with the API for the TVDB
2019-09-16 18:12:47,382 (7ff91e979700) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/35359/tree' 2019-09-16 18:12:50,376 (7ff91e979700) : INFO (common:152) - ==== common.PlexLog(file="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/$ 2019-09-16 18:13:02,821 (7ff91e979700) : DEBUG (networking:166) - Requesting 'https://api.thetvdb.com/series/114921/images' 2019-09-16 18:13:05,843 (7ff91e979700) : DEBUG (networking:166) - Requesting 'https://api.thetvdb.com/series/114921/images' 2019-09-16 18:13:06,715 (7ff91e979700) : ERROR (networking:219) - Error opening URL 'https://api.thetvdb.com/series/114921/images' 2019-09-16 18:13:06,744 (7ff91e979700) : DEBUG (sandbox:19) - TheTVDB - Authorization expired for URL 'https://api.thetvdb.com/series/114921/images', Error: H$ 2019-09-16 18:13:06,770 (7ff91e979700) : DEBUG (networking:166) - Requesting 'https://api.thetvdb.com/login' 2019-09-16 18:13:07,701 (7ff91e979700) : DEBUG (sandbox:19) - TheTVDB - URL https://api.thetvdb.com/series/114921/images, headers: {'Accept-Language': 'ja', '$ 2019-09-16 18:13:07,791 (7ff91e979700) : DEBUG (networking:166) - Requesting 'https://api.thetvdb.com/series/114921/images' 2019-09-16 18:13:08,816 (7ff91e979700) : ERROR (networking:219) - Error opening URL 'https://api.thetvdb.com/series/114921/images' 2019-09-16 18:15:46,329 (7ff91cd77700) : DEBUG (model:229) - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV$ 2019-09-16 18:15:46,632 (7ff91cd77700) : DEBUG (runtime:88) - Sending packed state data (1584 bytes) 2019-09-16 18:15:46,771 (7ff91cd77700) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
Any ideas of what to do? Which logs do you guys need? Is there something stupid that i need to do to get the API going