mirror of
https://github.com/jhbruhn/jellyfin-radio.git
synced 2025-03-14 19:45:50 +00:00
stream random songs from a jellyfin server as a MP3 radio station
.cargo | ||
.github/workflows | ||
.vscode | ||
docker | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
README.md |
jellyfin-radio
Ever dreamt of having your own radio station, but without the hassle of choosing the music yourself?
jellyfin-radio randomly plays Songs from a Jellyfin collection and streams it via .mp3, which can be streamed for example on a Yamaha MusicCast System.
The usage is rather simple. It is recommended to run this as a Docker container. An example docker-compose configuration might look like this:
version: "3"
services:
radio:
image: ghcr.io/jhbruhn/jellyfin-radio:main
ports:
- "3000:3000"
restart: unless-stopped
environment:
JELLYFIN_URL: http://<jellyfin-server>:<jellyfin-port>
JELLYFIN_API_KEY: <api-key> # generated in jellyfin UI
JELLYFIN_COLLECTION_NAME: Music # name of the Collection you want to play music from
SONG_PREFETCH: 2 # optional: Define how many songs jellyfin-radio should fetch in advance
License
MIT