Follow

Last week I got tired of generating playlists using complicated find commands. I wrote a shell script to generate a plain text library of my music, search it using and extended regular expressions, and pipe results to mpv with switches to control repeat and shuffle.

I call it . You’re welcome to use it too.

matthewgraybosch.com/unix/rock
codeberg.org/starbreaker/rocko

I wrote and tested it on , but it should work on other BSDs, GNU/Linux, and GNU/systemd.

@starbreaker

Sorry I don’t have a Codeberg account so I comment here:

I think Line 21 of rockout is missing a “~/“ as it is pointing at current path and if user run this when they are not in $HOME, the will end up having these folders created left and right.`mkdir -p .local/rockout`

Sign in to participate in the conversation
Fosstodon

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.