# Music Manager for Plex

Music Manager for Plex is a Streamlit application that organizes, automates, and curates a Plex Music library. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2188/music-manager-for-plex

## Description

Music Manager for Plex is a Streamlit application that organizes, automates, and curates a Plex Music library. It generates rhythm-based Sonic playlists from beats-per-minute and energy analysis, exports and compares library metadata to CSV, and bulk-edits tags in batches. It is designed for homelab users who want to manage a large music library without re-tagging every file by hand.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

50/100 (Fair), based on 4 of 5 factors.
- Maintained: 60 (last commit 150 days ago)
- Popular: 25 (17 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 75 (no serious findings)

## Links

- Docker Hub: https://hub.docker.com/r/zcaddick/music-manager-for-plex
- GitHub: https://github.com/caddickzac/Music-Manager-for-Plex
- Unraid: https://ca.unraid.net/apps/music-manager-for-plex-1nfyjdd183lubx?q=Music-Manager-for-Plex

## Common questions

### How do I configure the Docker or Unraid container to connect to Plex?

Set the PLEX_URL environment variable to your local Plex server address, PLEX_TOKEN to your X-Plex-Token, and PLEX_LIBRARY_NAME to the exact name of your music library.

### Where are the exported CSV files stored?

Map the /app/Exports volume to a persistent share if you want to access the CSV dumps. The /app/config.txt volume is optional if you prefer file-based configuration.

### Can I run it locally instead of in Docker?

Clone the repository, install dependencies with pip, and run the app with streamlit run Music-Manager-for-Plex-App.py.

### How do I apply metadata changes back to my Plex library?

Use the Bulk Editor to update metadata such as genres, ratings, dates, and collections from CSV using single or chained scripts.

### How can I automate the app on Unraid?

Unraid automation is done by setting up a user script and scheduling it with cron syntax.

---
Source: Our Local Host (https://ourlocalhost.com/app/2188/music-manager-for-plex), the self-hosted and open-source app directory.
