Renamed plex.py to main.py
MODIFY
README.md
README.md
@@ -22,7 +22,7 @@ To setup this on your own machine, first clone or download this repo.
After that, rename the `.env_example` file to `.env`. The data you have to put into this file will be printed out by `python3 get_env_data.py`, so execute this script and follow the instructions.
-After that you're done. run `python3 plex.py`. You can take a look at the progress in the `last_update.log` file which will be created.
+After that you're done. run `python3 main.py`. You can take a look at the progress in the `last_update.log` file which will be created.
Personally, I run this script in a cronjob every two hours. On Mac this worked by adding the line

MODIFY
get_env_data.py
get_env_data.py
trakt_user = input("Please input your Trakt username: ")
trakt.init(trakt_user, store=True)
print("You are now logged into Trakt. Add your username in .env: TRAKT_USER=" + trakt_user)
-print("Once the PLEX_TOKEN and TRAKT_USER are in your .env file, you can run 'python3 plex.py' and enjoy!")
\ No newline at end of file
+print("Once the PLEX_TOKEN and TRAKT_USER are in your .env file, you can run 'python3 main.py' and enjoy!")
\ No newline at end of file

RENAME
plex.py
main.py
MODIFY
plex_trakt_sync.sh
plex_trakt_sync.sh
#!/bin/sh
PATH=/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin
-python3 ./plex.py
\ No newline at end of file
+python3 ./main.py
\ No newline at end of file

Renamed plex.py to main.py