rickdb / docker-plexanisync Goto Github PK
View Code? Open in Web Editor NEWDocker version of PlexAniSync
License: GNU General Public License v3.0
Docker version of PlexAniSync
License: GNU General Public License v3.0
Unless I'm doing something wrong (most likely case) I cant change the settings file in the docker container. I could be that i'm running this on unraid but there is not editor inside the docker for me to edit the settings.ini or the settingsupdater.py just to flip the flag. The only path change available is for the config file and not one for the setting.ini file. Can you either map setting.ini to a folder or have an environmental flag for 'plex_episode_count_priority'? The only other thing I have tried is creating a symlink inside the /config folder pointing to /plexanisync but that doesn't appear to work either.
Mostly just for the sake of convenience.
As a side note perhaps might also be a good idea to document the TZ environment variable in your README, as it's supported by default in python's debian based docker images as they have tzdata installed by default.
when ever i start the container with the newest image i get this error message:
Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/plexanisync/runsync.sh": permission denied: unknown
No changes to my anilist, no log files generated. docker just exits with code 0 after a few seconds and restarts itself.
Any help greatly appreciated!
I've just updated my docker image and now whenever i try to run it i just get this error:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "exec: "/runsync.sh": stat /runsync.sh: no such file or directory": unknown.
Heya,
Seems like the docker image isn't able to run properly anymore (for me at least).
I've updated to the latest version, and made sure all the environment variables are correctly named.
This is the output that I get when I look at the logs through Portainer:
No logs available
Is there a known issue or is it an isolated one for me?
Cheers
Python's base container images currently use debian which can lead to quite large image sizes, it would be good if an alpine image could be used here instead to save some space.
Hello, sometimes on my instance i get this error, so it stops the current update, and restarts at the next time set by the interval.
plexanisync | 2021-02-02 00:16:21 Found multiple seasons so using season search instead for: The Irregular at Magic High School
plexanisync | 2021-02-02 00:16:21 [PLEX] Retrieving episode watch count for show: The Irregular at Magic High School | season: 1
plexanisync | 2021-02-02 00:16:21 [PLEX] 26 episodes watched for season 1
plexanisync | 2021-02-02 00:16:21 [PLEX] Retrieving episode watch count for show: The Irregular at Magic High School | season: 2
plexanisync | 2021-02-02 00:16:21 [PLEX] 13 episodes watched for season 2
plexanisync | Traceback (most recent call last):
plexanisync | File "/plexanisync/PlexAniSync.py", line 168, in
plexanisync | start()
plexanisync | File "/plexanisync/PlexAniSync.py", line 159, in start
plexanisync | anilist.match_to_plex(
plexanisync | File "/plexanisync/anilist.py", line 576, in match_to_plex
plexanisync | match_series_with_seasons(
plexanisync | File "/plexanisync/anilist.py", line 898, in match_series_with_seasons
plexanisync | media_id_search = find_id_season_best_match(
plexanisync | File "/plexanisync/anilist.py", line 1167, in find_id_season_best_match
plexanisync | if item[0].media:
plexanisync | TypeError: 'NoneType' object is not subscriptable
Every time it's a different series. So let me put some others:
plexanisync | 2021-02-02 00:16:21 Found multiple seasons so using season search instead for: The Irregular at Magic High School
plexanisync | 2021-02-02 00:16:21 [PLEX] Retrieving episode watch count for show: The Irregular at Magic High School | season: 1
plexanisync | 2021-02-02 00:16:21 [PLEX] 26 episodes watched for season 1
plexanisync | 2021-02-02 00:16:21 [PLEX] Retrieving episode watch count for show: The Irregular at Magic High School | season: 2
plexanisync | 2021-02-02 00:16:21 [PLEX] 13 episodes watched for season 2
plexanisync | Traceback (most recent call last):
plexanisync | File "/plexanisync/PlexAniSync.py", line 168, in
plexanisync | start()
plexanisync | File "/plexanisync/PlexAniSync.py", line 159, in start
plexanisync | anilist.match_to_plex(
plexanisync | File "/plexanisync/anilist.py", line 576, in match_to_plex
plexanisync | match_series_with_seasons(
plexanisync | File "/plexanisync/anilist.py", line 898, in match_series_with_seasons
plexanisync | media_id_search = find_id_season_best_match(
plexanisync | File "/plexanisync/anilist.py", line 1167, in find_id_season_best_match
plexanisync | if item[0].media:
plexanisync | TypeError: 'NoneType' object is not subscriptable`
plexanisync | 2021-02-02 00:19:02 [PLEX] Retrieving episode watch count for show: Ace of the Diamond | season: 2
plexanisync | 2021-02-02 00:19:02 [PLEX] 29 episodes watched for season 2
plexanisync | Traceback (most recent call last):
plexanisync | File "/plexanisync/PlexAniSync.py", line 168, in
plexanisync | start()
plexanisync | File "/plexanisync/PlexAniSync.py", line 159, in start
plexanisync | anilist.match_to_plex(
plexanisync | File "/plexanisync/anilist.py", line 576, in match_to_plex
plexanisync | match_series_with_seasons(
plexanisync | File "/plexanisync/anilist.py", line 898, in match_series_with_seasons
plexanisync | media_id_search = find_id_season_best_match(
plexanisync | File "/plexanisync/anilist.py", line 1167, in find_id_season_best_match
plexanisync | if item[0].media:
plexanisync | TypeError: 'NoneType' object is not subscriptable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.