This repository has been archived by the owner on May 18, 2024. It is now read-only.
Replies: 1 comment
-
Plex monitoring works fine too btw .. just trakt... Any info about this or if anyone face anything similar i would love to hear |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone! first of all thank you itsToggle for your work here!
I recently pulled the newest docker image and restarted everything form scratch but for some reason I am now facing 2 problems (will elaborate on them a bit more down):
1- the container can't read an existing settings files, even starting from scratch and then restarting shows the same behaviour.
2- after settings up and running I do reach "[trakt] getting entire trakt collection ... done" but then nothing more happens not matter what i update on the monitored trakt lists.
My env:
I added the docker container exactly like the documentation asks with the addition of a restart flag:
docker run -v /MY/path/to/config:/config --restart unless-stopped --net host -ti itstoggle/plex_debrid
for point number 1 changing the following in main.py seems to fix the issue (please keep in mind that i have not read the full code so this was just a direct fix i immediately saw reading the first couple of lines in main if this is supposed to be handled somewhere else in code I apologize):
if os.path.exists('./settings.json'): if os.path.getsize('./settings.json') > 0 and os.path.isfile('./settings.json'): config_dir = "."
to
if os.path.exists('./config/settings.json'): if os.path.getsize('./config/settings.json') > 0 and os.path.isfile('./config/settings.json'): config_dir = "./config"
solved the issue
any help with problem 2 or knowledge if I am initializing the container wrong for problem 1
(forgot to mention but logs show nothing important)
Beta Was this translation helpful? Give feedback.
All reactions