ZeroQI / YouTube-Agent.bundle

Plex Metadata Agent for Movies and TV Series libraries
452 stars 43 forks source link

Library access denied #57

Closed garbled1 closed 3 years ago

garbled1 commented 3 years ago

I was getting the error about not having the plex token id, so I added one, but now I'm getting:

2020-12-23 06:18:19,812 (7f3c7effd700) : INFO (init:182) - update() - guid: UC3CrzXzBFVqEopj5T1jiRtA, dir: eter_Brown [UC3CrzXzBFVqEopj5T1jiRtA], metadata.id: youtube|UC3CrzXzBFVqEopj5T1jiRtA|Peter_Brown [UC3CrzXzBFVqEopj5T1jiRtA] 2020-12-23 06:18:19,813 (7f3c7effd700) : INFO (init:60) - /var/lib/plexmediaserver/alcyone/video/Misc/Youtube/Peter_Brown [UC3CrzXzBFVqEopj5T1jiRtA]/20201204 - Rainbow_Rock_Bowl_Dipit_29 [e5PBikaUbIo].mkv 2020-12-23 06:18:19,814 (7f3c7effd700) : INFO (init:72) - [!] Library access denied 2020-12-23 06:18:19,814 (7f3c7effd700) : INFO (init:75) - [!] ASS root scanner file present: "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.agents.hama/DataItems/Logs/root.scanner.log" 2020-12-23 06:18:19,815 (7f3c7effd700) : INFO (init:226) - [ ] dir: "/var/lib/plexmediaserver/alcyone/video/Misc/Youtube/Peter_Brown [UC3CrzXzBFVqEopj5T1jiRtA]" 2020-12-23 06:18:19,816 (7f3c7effd700) : INFO (init:227) - [ ] library: "" 2020-12-23 06:18:19,817 (7f3c7effd700) : INFO (init:228) - [ ] root: "" 2020-12-23 06:18:19,817 (7f3c7effd700) : INFO (init:229) - [ ] path: "_unknown_folder" 2020-12-23 06:18:19,820 (7f3c7effd700) : INFO (init:350) - after

I have a bunch of different tokens when I look at the device.xml file on plex.tv. I tried using the one for my browser, and the one for the server itself, but both just give me the same error

The X-Plex-Token.id file is just a file whose entire contents is just the token, is that correct? No other formatting in the file?

ZeroQI commented 3 years ago

Correct It allows to list the libraries listing to get the library name and root folder and that mechanism fails and don't have enough logs to know where in the code...

garbled1 commented 3 years ago

com.plexapp.system.log com.plexapp.agents.youtube.log

Sorry for not including them, my bad.

garbled1 commented 3 years ago

This was likely my fault, but thanks for answering the question.