Skip to content
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

ASIN extraction can fail #23

Closed
djdembeck opened this issue Oct 14, 2021 · 0 comments · Fixed by #22
Closed

ASIN extraction can fail #23

djdembeck opened this issue Oct 14, 2021 · 0 comments · Fixed by #22
Labels
bug Something isn't working

Comments

@djdembeck
Copy link
Owner

2021-10-14 17:45:18,298 (151c30d4cb38) :  CRITICAL (agentkit:1018) - Exception in the search function of agent named 'Audnexus Agent', called with keyword arguments {'album': 'Training the Samurai Mind', 'openSubtitlesHash': 'dc5a1a661291dc1e', 'name': 'Training the Samurai Mind - A Bushido Sourcebook', 'artist': 'Thomas Cleary - translator/editor', 'title': None, 'filename': '%2Fdata%2Fmusic%2FAudiobooks%2FThomas%20Cleary%20-%20translatoreditor%2FTraining%20the%20Samurai%20Mind%2FTraining%20the%20Samurai%20Mind%20-%20A%20Bushido%20Sourcebook%2Em4b', 'plexHash': 'd3c40d24e4b3d7ae90e1178727c77f142d2599a5', 'duration': '29766296', 'id': '654615'} (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-e362dc1ee/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/Audnexus.bundle/Contents/Code/__init__.py", line 71, in search
    result = self.call_search_api(search_helper)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/Audnexus.bundle/Contents/Code/__init__.py", line 160, in call_search_api
    search_url = helper.build_url()
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/Audnexus.bundle/Contents/Code/search_tools.py", line 223, in build_url
    match_asin = re.search(asin_regex, self.media.artist)
  File "/usr/lib/plexmediaserver/Resources/Python/python27.zip/re.py", line 146, in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant