8000 GitHub - ariririos/worf: Daemon to automatically queue similar songs in MPD using bliss. · GitHub
[go: up one dir, main page]

Skip to content
ariririosPublic

About

Daemon to automatically queue similar songs in MPD using bliss.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Worf

Worf is a daemon that automatically queues songs in MPD based on a "pin", which is just whatever song was playing when the daemon was started. It uses bliss-audio to queue songs that are most similar to the pin. The pin is changed simply by playing a new song.

Usage

First, initialize the bliss library if not already done by running worf --base-path $MPD_BASE_PATH init in the project root, where $MPD_BASE_PATH is where music is stored (can be a network location with username/password). Once that's done, run worf bliss in the project root to start queueing similar songs. Use worf update to update the bliss library with new songs from MPD. Send SIGHUP to worf to switch between bliss mode and genre mode.

By genres

Credit to Glenn McDonald and Spotify for the Every Noise at Once project, which provides similarity metrics for Spotify's genre tags. If your music is tagged accordingly, such as with Zotify (or my zotify-tagger if you forgot to enable genre tagging), worf can queue music by genre similarity. While this prevents the sort of "drifting" that purely audio-based similarity metrics might cause, in my experience, it often leads to the opposite problem of staying too close in a genre bubble.

You can try it with worf genres.

Popularity filters

Worf can use popularity data with the --popularity-filter flag; this requires that the library be tagged with popularity data in the comment field (MPD doesn't recognize a popularity tag applied directly).

zotify-tagger can do this with --tag popularity.

Signals

Use SIGHUP to trigger a library update on the next loop (typically, before the next recommendation is queued). Use SIGUSR1 to switch between bliss/genre queueing modes.

About

Daemon to automatically queue similar songs in MPD using bliss.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0