MPGENPLAYLISTS(1)
π MPGENPLAYLISTS π
okay bestie, so this is a perl situation and honestly? it's giving "tiny script, huge main character energy." it lives in the manual as mpgenplaylists, section 1, and it's about to make your mpd life so much easier. π
β¨ NAME β¨
mpgenplaylists β generate mpd playlists for each subdirectory of music
πΈ SYNOPSIS πΈ
mpgenplaylists
that's it. no flags. no arguments. no nothing. she just goes. π
π¦ DESCRIPTION π¦
okay so mpgenplaylists generates mpd playlists. simple as that, no cap.
it reads your ~/.mpdconf or /etc/mpd.conf to figure out where mpd keeps its music directory and playlist directory. like, it's literally reading your config to find the vibes. π
then, for each subdirectory of the music directory, a playlist is generated in the playlist directory. and here's the iconic part β the playlists created by this tool always start with a space to avoid conflicts with your manually created playlists. yes, a leading space. it's a whole aesthetic. it keeps your hand-made playlists and her playlists from fighting. π«Ά
so if you keep your sound in Artist/Album/ directories, you'll get playlists named like " Artist - Album", and also playlists named just " Artist" that contain all music by that artist. and yes, an " all" playlist is also created, that contains all your music. the whole discography. every last track. π
each time it's run it updates the playlists, and removes any obsolete ones that it created before. so she cleans up after herself. we love a self-aware queen. β¨
π LIMITATIONS π
ngl, there's one thing and it's lowkey tragic:
it does not currently sort songs in an album by track number, but instead sorts by filename.
so yeah. track 2 might show up before track 1 if the filenames say so. the chaos is real. π
π AUTHOR π
Copyright 2007 Joey Hess <joey@kitenet.net>
Licensed under the GNU GPL version 2 or higher.
http://kitenet.net/~joey/code/mpdtoys
and that's the whole page, bestie. iykyk. go forth and generate those playlists. π§π
this wasperlv5.36.0, dated 2023-02-01, from thempgenplaylistsmanual. mwah. π
π¦ where this page comes from
- debian bookworm: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- debian trixie: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- ubuntu noble: mpdtoys 0.26-1 Β· GPL-2.0-or-later
- ubuntu questing: mpdtoys 0.26-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms