PhoenixPlexCode / PhoenixAdult.bundle

Plex Meta-Data Agent for scene videos from multiple adult sites
123 stars 213 forks source link

Naughty America sites getting critical error #25

Closed Dbones202 closed 1 year ago

Dbones202 commented 4 years ago

Updated code tonight from GitHub. Was working before. Now seems to skip the search. Here is the log.

2020-02-04 01:12:02,918 (2108) : INFO (agentkit:957) - Searching for matches for {'openSubtitlesHash': '539ce44efbe86787', 'name': '2009 10 06 7266 Lillakatt', 'filename': 'S%3A%5CX%5CSites%5CKink%5CHogtied%5C2009-10-06%207266_LillaKatt%2Emp4', 'plexHash': 'a46fae8b46e19254a3132e56a57974b1a7832c43', 'duration': '2767865', 'id': '21967'} 2020-02-04 01:12:02,918 (2108) : DEBUG (networking:143) - Requesting 'http://127.0.0.1:32400/library/metadata/21967/tree' 2020-02-04 01:12:02,930 (2108) : INFO (logkit:16) - *MEDIA TITLE** 2009 10 06 7266 Lillakatt 2020-02-04 01:12:02,930 (2108) : INFO (logkit:16) - Getting Search Settings for: 2009 10 06 7266 Lillakatt 2020-02-04 01:12:02,930 (2108) : INFO (logkit:16) - mediaTitle w/ possible abbreviation: 2009 10 06 7266 Lillakatt 2020-02-04 01:12:02,936 (2108) : INFO (logkit:16) - mediaTitle w/ possible abbrieviation fixed: 2009 10 06 7266 Lillakatt 2020-02-04 01:12:02,937 (2108) : CRITICAL (core:574) - Exception in the search function of agent named 'PhoenixAdult', called with keyword arguments {'openSubtitlesHash': '539ce44efbe86787', 'name': '2009 10 06 7266 Lillakatt', 'filename': 'S%3A%5CX%5CSites%5CKink%5CHogtied%5C2009-10-06%207266_LillaKatt%2Emp4', 'plexHash': 'a46fae8b46e19254a3132e56a57974b1a7832c43', 'duration': '2767865', 'id': '21967'} (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-f5213a238\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1007, in _search agent.search(*f_args, f_kwargs) File "C:\Users\Donovan\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code__init.py", line 54, in search searchSettings = PAsearchSites.getSearchSettings(title) File "C:\Users\Donovan\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code\PAsearchSites.py", line 1205, in getSearchSettings searchSiteID = getSearchSiteIDByFilter(mediaTitle) File "C:\Users\Donovan\AppData\Local\Plex Media Server\Plug-ins\PhoenixAdult.bundle\Contents\Code\PAsearchSites.py", line 979, in getSearchSiteIDByFilter if sites[0].lower().replace(" ","").replace("'","") in searchFilter.lower().replace(".com","").replace("'","") or sites[0].lower().replace(" ","").replace("'","") in searchFilter.lower().replace(".com","").replace(" ","").replace("'",""): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-f5213a238\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 108, in getitem = lambda x, y: x.getitem(y), AttributeError: 'NoneType' object has no attribute 'getitem__'