Closed ramair02 closed 3 years ago
My recommendation here is: re-download the latest package (2.8.1) - copy your config.yml into that new download.
In your config.yml, start simple with just one collection - here's my jurassic park one that works just fine.
Jurassic Park: imdb_list: https://www.imdb.com/list/ls068935685/ sync_mode: sync collection_mode: show_items
It looks like the connection to Plex is timing out - I'd try the following under the plex
key in the config:
url: http://localhost:32400
(no trailing slash)url: http://127.0.0.1:32400
(in case localhost
isn't resolving properly)url: http://192.168.1.xxx:32400
(in case 127.0.0.1
and localhost
aren't resolving properly)Another suggestion, especially if working with a large Plex library, is to increase the Plex API timeout. See here. If using docker, you can pass something like -e PLEXAPI_PLEXAPI_TIMEOUT=60
or larger.
Another suggestion, especially if working with a large Plex library, is to increase the Plex API timeout. See here. If using docker, you can pass something like
-e PLEXAPI_PLEXAPI_TIMEOUT=60
or larger.
Ah yea, forgot about this. We should consider catching any timeout errors and suggesting this fix in the script output. Or at least including in the documentation.
Potential duplicate of #74
It works! Thank you for the suggestions. I had to change my Plex URL and Tautulli URL to the PC IP address. I didn't change the timeout, but I'll keep that in mind should other issues arise. Thanks again for the help. Now I have a lot of configuring to do to manage all of my Collections!
Spent a lot of time configuring Collections for a bunch of Actors, Directors, Writers. Also added Decades Collections, a few Studios, a Christmas Collection, etc.
Sharing a config template in case anyone else wants a similar setup. Would be cool if there was a place for users to share their configs since a lot of manual labor goes into these and it could save people a bunch of time!
Spent a lot of time configuring Collections for a bunch of Actors, Directors, Writers. Also added Decades Collections, a few Studios, a Christmas Collection, etc.
Sharing a config template in case anyone else wants a similar setup. Would be cool if there was a place for users to share their configs since a lot of manual labor goes into these and it could save people a bunch of time!
This is a great idea, now that GitHub supports discussions maybe this would be a good first topic if @mza921 would like to open those up.
Did anyone find out where the config file is on windows for PlexApi? it doesn't seem to be located in the location according to the manual
Did anyone find out where the config file is on windows for PlexApi? it doesn't seem to be located in the location according to the manual
Try running python
, then
import plexapi
help(plexapi)
It should be the value of CONFIG_PATH
.
Thank you, i found the config_path as you said "CONFIG_PATH = r'C:\Users\Plex Media/.config/plexapi/config.ini'", but it doesn't seem to exist. I can't cd to it and there is no hidden folder named .config in that folder.
Is there a way to set it from the terminal?
i can do PLEXAPI_TIMEMOUT=120 or PLEXAPI_CONFIG_PATH="X" without an error but if i do help(plexapi) again the values are the default values again. So it doesn't seem to have changed anything.
i found a solution, you need to go to your python version/Lib/sitepackages/plexapi. Then you create a config.ini file with for example
[plexapi] container_size = 500 TIMEOUT = 300
and then in config.py you add a line under def init(self,path):)
path = "X\config.ini"
This is as far as I'm getting:
Here is my config. I haven't made many changes yet, since I want to get it working first: