Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bearlikelion/popularplex

Generate dynamic collections of popular media for Plex using Tautulli
https://github.com/bearlikelion/popularplex

plex tautulli

Last synced: 10 days ago
JSON representation

Generate dynamic collections of popular media for Plex using Tautulli

Awesome Lists containing this project

README

        

# Popular Plex

This script is designed to run weekly, generating collections in Plex of most popular Movies and Television based on the data from the Tautulli API. It uses the [python-plexapi](https://github.com/pkkid/python-plexapi) package and [requests](http://python-requests.org/). It provides two options for login, Server/Access Token or Username/Password/Server, access token is preferred and when set username/password/server can be blank.

The idea behind this project was to recreate Netflix's 'What's Popular' list

![Screenshot of Popular Movies Collections](/Screenshots/Movies.png)
![Screenshot of Popular TV Collections](/Screenshots/TV.png)

## Requirements

- Python 3
- [Plex](https://plex.tv)
- [Tautulli](https://github.com/Tautulli/Tautulli)

## Setup

```sh
cp config.ini.example config.ini
```

> Edit `config.ini` in your preferred text editor

```sh
pip install -r requirements.txt
python popular_plex.py
```

### Running with Docker
[Docker Hub](https://hub.docker.com/r/bearlikelion/popularplex)

```sh
docker build -t popularplex .
docker run popularplex
```

## Scheduling

For Linux schedule using a cronjob, on Windows create a scheduled task to launch the script

```sh
0 3 * * 6 python3 /path/popular_plex.py
```