commit
4297708d3e
|
|
@ -96,6 +96,15 @@ Full list of configuration options can be found in the [.env.sample](.env.sample
|
|||
docker run --rm -it -v "$(pwd)/.env:/app/.env" luigi311/jellyplex-watched:latest
|
||||
```
|
||||
|
||||
## Troubleshooting/Issues
|
||||
|
||||
* Jellyfin
|
||||
* Attempt to decode JSON with unexpected mimetype, make sure you enable remote access or add your docker subnet to lan networks in jellyfin settings
|
||||
|
||||
* Configuration
|
||||
* Do not use quotes around variables in docker compose
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
I am open to receiving pull requests. If you are submitting a pull request, please make sure run it locally for a day or two to make sure it is working as expected and stable. Make all pull requests against the dev branch and nothing will be merged into the main without going through the lower branches.
|
||||
|
|
|
|||
|
|
@ -422,5 +422,7 @@ def main():
|
|||
sleep(sleep_duration)
|
||||
|
||||
except KeyboardInterrupt:
|
||||
if len(times) > 0:
|
||||
logger(f"Average time: {sum(times) / len(times)}", 0)
|
||||
logger("Exiting", log_type=0)
|
||||
os._exit(0)
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ def update_user_watched(user, user_plex, library, videos, dryrun):
|
|||
msg = f"Plex: {movies_search.title} as partially watched for {floor(video_status['time'] / 60_000)} minutes for {user.title} in {library}"
|
||||
if not dryrun:
|
||||
logger(msg, 5)
|
||||
movies_search.updateProgress(video_status["time"])
|
||||
movies_search.updateTimeline(video_status["time"])
|
||||
else:
|
||||
logger(msg, 6)
|
||||
|
||||
|
|
@ -353,7 +353,7 @@ def update_user_watched(user, user_plex, library, videos, dryrun):
|
|||
msg = f"Plex: {show_search.title} {episode_search.title} as partially watched for {floor(video_status['time'] / 60_000)} minutes for {user.title} in {library}"
|
||||
if not dryrun:
|
||||
logger(msg, 5)
|
||||
episode_search.updateProgress(video_status["time"])
|
||||
episode_search.updateTimeline(video_status["time"])
|
||||
else:
|
||||
logger(msg, 6)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue