mynttt / UpdateTool

A tool to update the IMDB ratings for Plex libraries that contain movies/series and use the IMDB agent to receive ratings
GNU General Public License v3.0
250 stars 12 forks source link

TV Show agent opt-in not working (Unraid) #121

Open nickolasjamesw opened 5 months ago

nickolasjamesw commented 5 months ago

image

Found library [SERIES] TV Shows (ID=2) with agent: tv.plex.agents.series and 4408 item(s). Found library [SERIES] TV Shows 4K (ID=4) with agent: tv.plex.agents.series and 272 item(s). New TV Show Agent Library with ID: 2 will not be processed by UpdateTool. Please register with environment variable UNLOCK_FOR_NEW_TV_AGENT to unlock proceessing capabilities. New TV Show Agent Library with ID: 4 will not be processed by UpdateTool. Please register with environment variable UNLOCK_FOR_NEW_TV_AGENT to unlock proceessing capabilities.

mynttt commented 1 month ago

With the new 1.9.0 it dumps the environment variables right at the start. Please let me know if it contains UNLOCK_FOR_NEW_TV_AGENT = 2;4 in there

nickolasjamesw commented 1 month ago

With the new 1.9.0 it dumps the environment variables right at the start. Please let me know if it contains UNLOCK_FOR_NEW_TV_AGENT = 2;4 in there

DUMP OF ENV_VARS: [{PATH=/usr/local/openjdk-11/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, RESTART_ON_CRASH=false, UNLOCK_FOR_NEW_TV_AGENT=, HOST_CONTAINERNAME=UpdateTool, CAPABILITIES=, TVDB_API_KEY=REDACTED, JVM_MAX_HEAP=256m, TZ=America/Chicago, RUN_EVERY_N_HOURS=12, JAVA_HOME=/usr/local/openjdk-11, OLDPWD=/usr/app, LANG=C.UTF-8, HOST_OS=Unraid, HOSTNAME=d93851757dbd, OVERRIDE_DATABASE_LOCATION=, PLEX_DATA_DIR=/plexdata, JAVA_VERSION=11.0.16, IGNORE_LIBS=, PWD=/config, HOSTHOSTNAME=Tower, SHLVL=1, HOME=/root, =/usr/local/openjdk-11/bin/java, USE_PLEX_SQLITE_BINARY_FOR_WRITE_ACCESS=/usr/app/plexsqlitedriver/Plex SQLite}]

mynttt commented 1 month ago

UNLOCK_FOR_NEW_TV_AGENT=

Indicates that the variable is set, however with an empty string. So it looks like the values you have are not passed to the container.

I'd check the configuration for TVDB_API_KEY and compare how it's done there since the value reaches the container.