Closed dsrtusr88 closed 3 years ago
Noticed refresh of metadata cleared actor data and then noticed it wasn't matching anymore at all.
2021-01-12 17:49:45,088 (7ff675ffb700) : DEBUG (runtime:88) - Sending packed state data (112 bytes) 2021-01-12 17:49:45,088 (7ff675ffb700) : DEBUG (runtime:924) - Response: [200] str, 16 bytes 2021-01-12 17:49:51,178 (7ff675ffb700) : DEBUG (runtime:717) - Handling request GET /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM1CjE3NzY3czIKaWRzMjIKYmxhY2tlZHJhdyBEb3VibGUgUGxheXM0Cm5hbWVuczQKeWVhcnIwCg__ 2021-01-12 17:49:51,179 (7ff675ffb700) : DEBUG (runtime:49) - Received packed state data (80 bytes) 2021-01-12 17:49:51,179 (7ff675ffb700) : DEBUG (runtime:814) - Found route matching /:/plugins/com.plexapp.agents.phoenixadult/messaging/function/X0FnZW50S2l0OlNlYXJjaA__/Y2VyZWFsMQoxCmxpc3QKMApyMAo_/Y2VyZWFsMQoyCmRpY3QKZGljdAo2CnMyCmVuczQKbGFuZ2IxczYKbWFudWFsYjFzNwpwcmltYXJ5aTAKczcKdmVyc2lvbnIxCnM2Cmt3YXJnc3M1Ck1vdmllczEwCm1lZGlhX3R5cGUzCnM1CjE3NzY3czIKaWRzMjIKYmxhY2tlZHJhdyBEb3VibGUgUGxheXM0Cm5hbWVuczQKeWVhcnIwCg__ 2021-01-12 17:49:51,180 (7ff675ffb700) : INFO (agentkit:961) - Searching for matches for {'year': None, 'id': '17767', 'name': 'blackedraw Double Play'} 2021-01-12 17:49:51,180 (7ff675ffb700) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/17767/tree' 2021-01-12 17:49:51,183 (7ff675ffb700) : INFO (__init__:55) - *******MEDIA TITLE****** blackedraw Double Play 2021-01-12 17:49:51,183 (7ff675ffb700) : INFO (__init__:57) - Getting Search Settings for: blackedraw Double Play 2021-01-12 17:49:51,183 (7ff675ffb700) : INFO (PAsearchSites:41) - mediaTitle w/ possible abbreviation: blackedraw Double Play 2021-01-12 17:49:51,190 (7ff675ffb700) : INFO (PAsearchSites:49) - mediaTitle w/ possible abbrieviation fixed: blackedraw Double Play 2021-01-12 17:49:51,192 (7ff675ffb700) : INFO (PAsearchSites:34) - Site found 2021-01-12 17:49:51,192 (7ff675ffb700) : INFO (PAsearchSites:61) - ^^^^^^^ siteNum: 0 2021-01-12 17:49:51,192 (7ff675ffb700) : INFO (PAsearchSites:62) - ^^^^^^^ Shortening Title 2021-01-12 17:49:51,193 (7ff675ffb700) : INFO (PAsearchSites:85) - searchTitle (before date processing): Double Play 2021-01-12 17:49:51,193 (7ff675ffb700) : INFO (__init__:64) - Search Title: Double Play 2021-01-12 17:49:51,193 (7ff675ffb700) : INFO (__init__:69) - Double%20Play 2021-01-12 17:49:51,194 (7ff675ffb700) : INFO (PAutils:107) - Requesting GET "https://www.blackedraw.com/api/search?q=Double%20Play" 2021-01-12 17:49:51,196 (7ff675ffb700) : CRITICAL (agentkit:1018) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'year': None, 'id': '17767', 'name': 'blackedraw Double Play'} (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-3c3adfcb4/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search agent.search(*f_args, **f_kwargs) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/__init__.py", line 73, in search provider.search(results, encodedTitle, searchTitle, siteNum, lang, searchDate) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkStrike3.py", line 16, in search searchResults = getDatafromAPI(url) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/networkStrike3.py", line 6, in getDatafromAPI req = PAutils.HTTPRequest(url) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Code/PAutils.py", line 113, in HTTPRequest req = FakeResponse(None, url, 418, None) File "/config/Library/Application Support/Plex Media Server/Plug-ins/PhoenixAdult.bundle/Contents/Libraries/Shared/requests_response.py", line 11, in FakeResponse response._content = content.encode('UTF-8') AttributeError: 'NoneType' object has no attribute 'encode'
Fixed in 493ab9c327faa5988e21c7afc82c39aa2e79d388
Noticed refresh of metadata cleared actor data and then noticed it wasn't matching anymore at all.