Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luigi311/JellyPlex-Watched
Sync watched between jellyfin and plex locally
https://github.com/luigi311/JellyPlex-Watched
Last synced: about 2 months ago
JSON representation
Sync watched between jellyfin and plex locally
- Host: GitHub
- URL: https://github.com/luigi311/JellyPlex-Watched
- Owner: luigi311
- License: gpl-3.0
- Created: 2022-05-21T19:12:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T06:47:34.000Z (6 months ago)
- Last Synced: 2024-04-05T07:39:56.428Z (6 months ago)
- Language: Python
- Homepage:
- Size: 358 KB
- Stars: 309
- Watchers: 4
- Forks: 18
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JellyPlex-Watched
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/26b47c5db63942f28f02f207f692dc85)](https://www.codacy.com/gh/luigi311/JellyPlex-Watched/dashboard?utm_source=github.com&utm_medium=referral&utm_content=luigi311/JellyPlex-Watched&utm_campaign=Badge_Grade)
Sync watched between jellyfin, plex and emby locally
## Description
Keep in sync all your users watched history between jellyfin, plex and emby servers locally. This uses file names and provider ids to find the correct episode/movie between the two. This is not perfect but it works for most cases. You can use this for as many servers as you want by entering multiple options in the .env plex/jellyfin section separated by commas.
## Features
### Plex
- \[x] Match via filenames
- \[x] Match via provider ids
- \[x] Map usernames
- \[x] Use single login
- \[x] One way/multi way sync
- \[x] Sync watched
- \[x] Sync in progress### Jellyfin
- \[x] Match via filenames
- \[x] Match via provider ids
- \[x] Map usernames
- \[x] Use single login
- \[x] One way/multi way sync
- \[x] Sync watched
- \[x] Sync in progress### Emby
- \[x] Match via filenames
- \[x] Match via provider ids
- \[x] Map usernames
- \[x] Use single login
- \[x] One way/multi way sync
- \[x] Sync watched
- \[x] Sync in progress## Configuration
Full list of configuration options can be found in the [.env.sample](.env.sample)
## Installation
### Baremetal
- Setup virtualenv of your choice
- Install dependencies
```bash
pip install -r requirements.txt
```- Create a .env file similar to .env.sample, uncomment whitelist and blacklist if needed, fill in baseurls and tokens
- Run
```bash
python main.py
```### Docker
- Build docker image
```bash
docker build -t jellyplex-watched .
```- or use pre-built image
```bash
docker pull luigi311/jellyplex-watched:latest
```#### With variables
- Run
```bash
docker run --rm -it -e PLEX_TOKEN='SuperSecretToken' luigi311/jellyplex-watched:latest
```#### With .env
- Create a .env file similar to .env.sample and set the variables to match your setup
- Run
```bash
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.
## License
This is currently under the GNU General Public License v3.0.