-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matching audiobooks no longer possible #92
Comments
Adding on, since I'm hitting this too. This is on a fresh git clone, as well. Manual search
Auto search (I noticed this is ignoring my manually-set album/sort album, and using the audio metadata in teh file itself, even though I have "Prefer Local Metadata" disabled.
The book does exist on Audible, but I can replicate the API "miss" due to it ignoring my preference to use embedded metadata and the manual search failing hard means I can't match it at all. Edit: As a quick workaround, I put and additional check on the relevant
where original was
This is clearly just a hack for missing source data, so I didn't want to submit a PR for it. I don't know the source data structure/flow enough to determine if this would be a good permanent fix or just a hack to keep us going while waiting for one. self.media.filename when using auto search
self.media.filename when using manual search
|
@plmcgrn thanks for taking the time to look into this. Yes, manual matching doesn't receive the filename from plex (just how their system works). As for local/prefer embedded, that I believe is a scanner setting, and not controllable via the agent. |
Since today's gitpull matching audiobooks is no longer possible via 'match' context menu setting.
Search instantly returns with nothing found.
Running on Debian 11/latest stable pms
Log:
2023-03-10 15:17:02,345 (7f284e744b38) : DEBUG (model:234) - Deserializing from /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Artists/1/da8174c833edd4ed90ff9175a83eedef585412f.bundle/Contents/com.plexapp.agents.audnexus/Info.xml 2023-03-10 15:17:02,349 (7f284e744b38) : CRITICAL (agentkit:1018) - Exception in the search function of agent named 'Audnexus Agent', called with keyword arguments {'parentID': '110581', 'year': None, 'id': '110584', 'name': 'Tyranny of Faith', 'parentGUID': 'com.plexapp.agents.audnexus://B00USHZDJ8?lang=en'} (most recent call last): File "/usr/lib/plexmediaserver/Resources/Plug-ins-77dfff442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/agentkit.py", line 1011, in _search agent.search(*f_args, **f_kwargs) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Audnexus.bundle/Contents/Code/__init__.py", line 265, in search quick_match_asin = search_helper.check_for_asin() File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Audnexus.bundle/Contents/Code/search_tools.py", line 50, in check_for_asin self.media.filename).decode('utf8') File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/urllib.py", line 1235, in unquote bits = s.split('%') AttributeError: 'NoneType' object has no attribute 'split'
The text was updated successfully, but these errors were encountered: