ZeroQI / YouTube-Agent.bundle

Plex Metadata Agent for Movies and TV Series libraries
463 stars 44 forks source link

Add support for youtube-key.txt for APP_KEY #106

Closed glensc closed 2 years ago

glensc commented 2 years ago

Benefit for the developer:

Benefit for the user:

glensc commented 2 years ago

I'm thinking that for consistency, should also support X-Plex-Token.id in plugin dir, and with .txt extension. WDYT?

ZeroQI commented 2 years ago

The token if only role is to download the library list so I could do logs per series in hama

glensc commented 2 years ago

Providing files for other plugins is a weird design anyway. and not documented: can't find any word "hama" in readme.md

ZeroQI commented 2 years ago

Just read the code again. The Plex token if allows to read the plex library xml list to get name and root folder etc... Forgot I used it in youtube agent as well for logs creation like I did for HAMA.

ZeroQI commented 2 years ago

Place the value to youtube-key.txt file in the plugin directory Not 'Plugins' but 'plugin' , the actual YouTube plugin folder, but can you not just change the key in agents settings?

MattDemers commented 2 years ago

Yes, I can; while just setting up, I didn't know if I was doing it correctly or not (since I'm having some issues in terms of some videos not showing up, some getting scraped and others not, etc). I basically wanted to make sure I was doing the right thing with the API, so I came to this instruction.

Mostly just suggesting adding clarity to this; my Plex setup (Synology) has a folder structure of Plug-ins/YouTube-Agent.bundle/Contents, so I'm not exactly sure where plugin is.

ZeroQI commented 2 years ago

Plug-ins/YouTube-Agent.bundle

MattDemers commented 2 years ago

Thank you. I apologize for sounding sharp; just more suggesting the documentation could be clearer.

ZeroQI commented 2 years ago

Submit a change request and I will approve it...