MPGENPLAYLISTS(1)

πŸ“¦
version 0.26 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– 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 was perl v5.36.0, dated 2023-02-01, from the mpgenplaylists manual. mwah. πŸ’‹
πŸ“¦ where this page comes from