|
2 weeks ago | |
---|---|---|
.gitignore | 2 weeks ago | |
LICENSE | 2 weeks ago | |
README.md | 2 weeks ago | |
main.py | 2 weeks ago | |
requirements.txt | 2 weeks ago |
jellyfin-daily-mix
is a Python script that automatically generates a daily playlist in Jellyfin based on the least-played songs from selected users. The script ensures a fresh and balanced mix of songs by considering individual and combined play counts across multiple users.
dotenv
package for environment variable managementjellyfin_api_client
for interacting with JellyfinClone the repository:
git clone https://gogs.justprojects.de/subDesTagesMitExtraKaese/jellyfin-daily-mix.git
cd jellyfin-daily-mix
Install dependencies:
pip install -r requirements.txt
Create a .env
file with the following environment variables:
SERVER_URL=<your_jellyfin_server_url>
API_TOKEN=<your_api_token>
HOSTNAME=<your_device_name>
USER_NAMES="user1 user2 user3"
PLAYLIST="Daily Mix"
ITEM_COUNT=50
Run the script with:
python main.py
The script will:
USER_NAMES
.Daily Mix
with a fresh selection of songs.Feel free to submit issues or pull requests if you have improvements or feature suggestions.
MIT License. See LICENSE
for details.
httpx
and dotenv
for API requests and environment management.Happy listening! 🎵