- Install Python 3.7 or higher.
- Create a virtual environment and activate it:
- Unix:
python3 -m venv env
thensource env/bin/activate
- Windows:
python -m venv env
thenenv\Scripts\activate
- Unix:
- Install dependencies:
pip install -r requirements.txt
.
- Create a
.env
file with your Plex credentials:
PLEX_USERNAME=your_username
PLEX_PASSWORD=your_password
- Execute the script:
python index.py
.