Server Version#: 1.18.4.2171-ac2afe5f8
Player Version#: Plex Web 4.20.1 (does this even matter?)
What do I want to achieve?
I have a German language TV show called “Äquator – Die Linie des Lebens” which I want to match using “Match” option.
What does not work?
Plex media agent for TheTVDB does return an empty search result.
What did I do to investigate the problem?
I checked the server logs at $PLEX_HOME/Library/Application Support/Plex Media Server/Logs which showed a confusing amount of stuff some of which might relate to the request:
Feb 09, 2020 12:15:02.150 [0x7f6255b6e700] DEBUG - EventSource: Resolving 82.94.168.22 port 443
Feb 09, 2020 12:15:02.150 [0x7f6255b6e700] DEBUG - EventSource: Resolved 82.94.168.22 to 82.94.168.22
Feb 09, 2020 12:15:02.211 [0x7f625536d700] DEBUG - EventSource: Connected in 41 ms.
Feb 09, 2020 12:15:02.212 [0x7f625536d700] DEBUG - EventSource: Wrote data, reading reply.
Feb 09, 2020 12:15:02.357 [0x7f6255b6e700] DEBUG - EventSource: Read HTTP reply header.
Feb 09, 2020 12:15:02.357 [0x7f6255b6e700] DEBUG - MyPlex: We appear to have regained Internet connectivity.
Feb 09, 2020 12:15:05.109 [0x7f625536d700] DEBUG - Auth: authenticated user 1 as mad inside
Feb 09, 2020 12:15:05.110 [0x7f61c57fa700] DEBUG - Request: [2.205.25.120:33436 (WAN)] GET /library/metadata/1845/matches?manual=1&title=%C3%A4quator%20Die%20Linie%20Des%20Lebens&agent=com.plexapp.agents.thetvdb&year=&language=de (4 live) TLS GZIP Signed-in Token (mad inside)
Feb 09, 2020 12:15:05.113 [0x7f61c57fa700] DEBUG - Most recent grandchild was episode 12
Feb 09, 2020 12:15:05.114 [0x7f61c57fa700] DEBUG - Issuing search query: http://127.0.0.1:32400/system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:05.114 [0x7f61c57fa700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:05.115 [0x7f624dbaf700] DEBUG - Request: [127.0.0.1:40134 (Loopback)] GET /system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1 (5 live) GZIP Signed-in
Feb 09, 2020 12:15:05.115 [0x7f624dbaf700] DEBUG - [com.plexapp.system] Sending command over HTTP (GET): /system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:05.116 [0x7f624dbaf700] DEBUG - HTTP requesting GET http://127.0.0.1:39677/system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:05.123 [0x7f61c47f8700] DEBUG - Request: [127.0.0.1:40138 (Loopback)] GET /:/plugins (6 live) GZIP Signed-in Token (mad inside)
Feb 09, 2020 12:15:05.124 [0x7f625536d700] DEBUG - Completed: [127.0.0.1:40138] 200 GET /:/plugins (6 live) GZIP 1ms 742 bytes
Feb 09, 2020 12:15:05.130 [0x7f61f2ffd700] DEBUG - Request: [127.0.0.1:40140 (Loopback)] GET /:/plugins/com.plexapp.agents.thetvdb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmRlczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNAoxODQ1czIKaWRzMjkKw6RxdWF0b3IgRGllIExpbmllIERlcyBMZWJlbnNzNApzaG93cjAK (6 live) GZIP Signed-in Token (mad inside)
Feb 09, 2020 12:15:05.131 [0x7f61f2ffd700] DEBUG - [com.plexapp.agents.thetvdb] Sending command over HTTP (GET): /:/plugins/com.plexapp.agents.thetvdb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmRlczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNAoxODQ1czIKaWRzMjkKw6RxdWF0b3IgRGllIExpbmllIERlcyBMZWJlbnNzNApzaG93cjAK
Feb 09, 2020 12:15:05.131 [0x7f61f2ffd700] DEBUG - HTTP requesting GET http://127.0.0.1:41503/:/plugins/com.plexapp.agents.thetvdb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmRlczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNAoxODQ1czIKaWRzMjkKw6RxdWF0b3IgRGllIExpbmllIERlcyBMZWJlbnNzNApzaG93cjAK
Feb 09, 2020 12:15:05.140 [0x7f623bde8700] DEBUG - Request: [127.0.0.1:40144 (Loopback)] GET /library/metadata/1845/tree (7 live) GZIP Signed-in Token (mad inside)
Feb 09, 2020 12:15:05.146 [0x7f625536d700] DEBUG - Completed: [127.0.0.1:40144] 200 GET /library/metadata/1845/tree (7 live) GZIP 6ms 2214 bytes
Feb 09, 2020 12:15:12.352 [0x7f61f2ffd700] DEBUG - HTTP 200 response from GET http://127.0.0.1:41503/:/plugins/com.plexapp.agents.thetvdb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmRlczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNAoxODQ1czIKaWRzMjkKw6RxdWF0b3IgRGllIExpbmllIERlcyBMZWJlbnNzNApzaG93cjAK
Feb 09, 2020 12:15:12.352 [0x7f61f2ffd700] DEBUG - [com.plexapp.agents.thetvdb] HTTP reply status 200, with 320 bytes of content.
Feb 09, 2020 12:15:12.353 [0x7f625536d700] DEBUG - Completed: [127.0.0.1:40140] 200 GET /:/plugins/com.plexapp.agents.thetvdb/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmRlczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M3ClRWX1Nob3dzMTAKbWVkaWFfdHlwZTMKbnM0CnllYXJzNAoxODQ1czIKaWRzMjkKw6RxdWF0b3IgRGllIExpbmllIERlcyBMZWJlbnNzNApzaG93cjAK (7 live) GZIP 7222ms 1161 bytes
Feb 09, 2020 12:15:12.357 [0x7f624dbaf700] DEBUG - HTTP 200 response from GET http://127.0.0.1:39677/system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:12.357 [0x7f624dbaf700] DEBUG - [com.plexapp.system] HTTP reply status 200, with 130 bytes of content.
Feb 09, 2020 12:15:12.357 [0x7f61c57fa700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1
Feb 09, 2020 12:15:12.357 [0x7f625536d700] DEBUG - Completed: [127.0.0.1:40134] 200 GET /system/agents/search?mediaType=2&id=1845&identifier=com.plexapp.agents.thetvdb&lang=de&show=%C3%A4quator%20Die%20Linie%20Des%20Lebens&year=&manual=1 (7 live) GZIP 7242ms 408 bytes
Feb 09, 2020 12:15:12.357 [0x7f61c57fa700] WARN - No matches for search.
Feb 09, 2020 12:15:12.358 [0x7f625536d700] DEBUG - Completed: [2.205.25.120:33436] 200 GET /library/metadata/1845/matches?manual=1&title=%C3%A4quator%20Die%20Linie%20Des%20Lebens&agent=com.plexapp.agents.thetvdb&year=&language=de (7 live) TLS GZIP 7248ms 561 bytes (pipelined: 1)
I created an API key at TheTVDB and curl’ed the corresponding API request. It actually returns the correct show.
I shortened the search term in Plex web interface to just “die linie des lebens” but no result, either. I changed the search term to “Doctor Who” which returns valid (but wrong in this case) results. My best guess is that the Plex media agent has problems with the umlaut Ä in the return set.
