Comments (8)
OK. The url split change has been committed to the master branch. All is right with the world. Thanks to cheveguerra for spotting that so quickly.
from audiobooks.bundle.
Yep, cheveguerra is correct. I just figured out the same thing...
It's too much trouble to fix match everything, rebuilding the library now...
from audiobooks.bundle.
It looks like audible has changed something in their site in the last couple of days. My own server loaded a book fine last week, but a quick test this afternoon gives a couple of errors and doesn't load all the data.
I'll dig in and make some corrections.
from audiobooks.bundle.
I found a checkbox to enable some more debug logging:
2017-07-17 16:45:12,730 (ef8) : DEBUG (networking:166) - Requesting 'http://127.0.0.1:32400/library/metadata/32841/tree' 2017-07-17 16:45:12,744 (ef8) : INFO (logkit:16) - ***** UPDATING "Angels and Demons" ID: Mysteries-Thrillers - AUDIBLE v.1.2017.03.05.1 ***** 2017-07-17 16:45:12,767 (ef8) : DEBUG (networking:161) - Fetching 'http://www.audible.com/pd/Mysteries-Thrillers' from the HTTP cache 2017-07-17 16:45:12,780 (ef8) : INFO (logkit:16) - ---------------------------------------XPATH SEARCH HIT----------------------------------------------- 2017-07-17 16:45:12,780 (ef8) : INFO (logkit:16) - date: None 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - title: 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - author: 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - series: 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - narrator: 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - studio: 2017-07-17 16:45:12,782 (ef8) : INFO (logkit:16) - thumb: None 2017-07-17 16:45:12,783 (ef8) : INFO (logkit:16) - genres: , 2017-07-17 16:45:12,783 (ef8) : INFO (logkit:16) - synopsis: 2017-07-17 16:45:12,783 (ef8) : CRITICAL (core:574) - Exception in the update function of agent named 'Audiobooks', called with guid 'com.plexapp.agents.audiobooks://Mysteries-Thrillers?lang=xn' (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-8fa494d15\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1076, in _update agent.update(obj, media, lang, **kwargs) File "D:\AppData\Local\Plex Media Server\Plug-ins\Audiobooks.bundle\Contents\Code\__init__.py", line 405, in update metadata.posters[1] = Proxy.Media(HTTP.Request(thumb)) File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-8fa494d15\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 177, in Request if url.find(':32400/') > -1 and self._sandbox.policy.elevated_execution == False: AttributeError: 'NoneType' object has no attribute 'find'
from audiobooks.bundle.
I am getting the same problem, but with the metada of any book:
2017-07-18 10:21:40,709 (16f8) : DEBUG (networking:161) - Fetching 'http://www.audible.com/pd/Health-Fitness' from the HTTP cache
2017-07-18 10:21:40,763 (16f8) : INFO (logkit:16) - ---------------------------------------XPATH SEARCH HIT-----------------------------------------------
2017-07-18 10:21:40,765 (16f8) : INFO (logkit:16) - date: None
2017-07-18 10:21:40,766 (16f8) : INFO (logkit:16) - title:
2017-07-18 10:21:40,766 (16f8) : INFO (logkit:16) - author:
2017-07-18 10:21:40,769 (16f8) : INFO (logkit:16) - series:
2017-07-18 10:21:40,769 (16f8) : INFO (logkit:16) - narrator:
2017-07-18 10:21:40,772 (16f8) : INFO (logkit:16) - studio:
2017-07-18 10:21:40,773 (16f8) : INFO (logkit:16) - thumb: None
2017-07-18 10:21:40,773 (16f8) : INFO (logkit:16) - genres: ,
2017-07-18 10:21:40,776 (16f8) : INFO (logkit:16) - synopsis:
2017-07-18 10:21:40,776 (16f8) : CRITICAL (core:574) - Exception in the update function of agent named 'Audiobooks', called with guid 'com.plexapp.agents.audiobooks://Health-Fitness?lang=xn' (most recent call last):
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-25d94bad9\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1076, in update
agent.update(obj, media, lang, **kwargs)
File "C:\Users\Cheve\AppData\Local\Plex Media Server\Plug-ins\Audiobooks.bundle\Contents\Code__init_.py", line 405, in update
metadata.posters[1] = Proxy.Media(HTTP.Request(thumb))
File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-25d94bad9\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\networkkit.py", line 177, in Request
if url.find(':32400/') > -1 and self._sandbox.policy.elevated_execution == False:
AttributeError: 'NoneType' object has no attribute 'find'
2017-07-18 10:21:40,779 (16f8) : DEBUG (model:229) - Serializing to C:\Users\Cheve\AppData\Local\Plex Media Server\Metadata\Albums\5\2a65eca4d8d5050fadf02c0c26f541bb1d32703.bundle\Contents\com.plexapp.agents.audiobooks\Info.xml
2017-07-18 10:21:40,785 (16f8) : DEBUG (runtime:88) - Sending packed state data (110 bytes)
2017-07-18 10:21:40,785 (16f8) : DEBUG (runtime:924) - Response: [200] str, 16 bytes
I tried with a lot of different audiobooks and always get the same error, it doesn't update any metadata.
Maybe audible changed something in their page that broke the parser!
Best Regards
from audiobooks.bundle.
Ok, I think I found the problem,
In line 275 of _init_.py we have: " itemId = url.split('/', 5)[4]"
I changed it to: ""itemId = url.split('/', 7)[6]"
I guess Audible changed the format of its URLs and it broke the code!
But just refreshing the metadata does NOT fix the problem, you have to Fix Match for every audiobook to get the right metadata ... or maybe recreate the Library.
Regards
from audiobooks.bundle.
After changing the line 275, the descriptions load, but only if unmatch/rematch or fix matching, or new audiobook!
from audiobooks.bundle.
Yeah. No fix for that. That's a "this is how plex works" issue.
from audiobooks.bundle.
Related Issues (20)
- title is showing as audible-escape HOT 6
- Some HTML tags are not being stripped (<em> and <strong>) from review/synopsis HOT 5
- Why do you have to uncheck "Store Track Process" ?? HOT 1
- 0x7f6de2ffd700 Error parsing content HOT 18
- Agent turning no results even on properly tagged content HOT 3
- How do I set this up? HOT 4
- Unable to scan a particular title HOT 3
- plex is not able to find authors at all HOT 7
- Multi-part books not being consolidated into 1 "library" HOT 4
- How to handle series? HOT 1
- Multiple libraries in different languages HOT 1
- Feature Request: HOT 2
- Debug question
- Chapter Titles? HOT 1
- Plugin not showing up on Synology DSM 6 with latest plexpass server version HOT 1
- Automatic collection creation HOT 2
- Author Metadata Feature Request - my workaround
- Cover Posters not showing HOT 3
- add russian language support
- Cant Fetch meta data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiobooks.bundle.