MPD-DYNAMIC(1p)
π NAME π
okay so bestie, mpd-dynamic β it's a dynamic playlist for mpd. that's the whole vibe. π
this page lives in the User Contributed Perl Documentation section (it's the 1p one), so like, it's a perl thing, iykyk. π¦
β¨ VERSION β¨
this is version 2.004. periodt. π
πΈ DESCRIPTION πΈ
so. this program implements a dynamic playlist for MPD, and it's built on top of the Audio::MPD perl module. that's the foundation, that's the lore. π«Ά
MPD (music player daemon) is a cool music player, no cap, but the way it just... lacks a dynamic playlist?? tragic. and a dynamic playlist is, per definition, a playlist that changes automatically over time. so iconic. in particular, it will:
- remove already played songs (keeping at most a given number of songs)
- add new songs to the playlist so it never falls short of songs
and listen β since mpd is a daemon needing no gui to work, mpd-dynamic is also a daemon. that is, it will fork and do all its work from the background. main character energy fr fr. this way, you can fire mpd and mpd-dynamic and forget completely about your music β especially since mpd-dynamic is a low-resource program β it will just be there! :-) ππ
π USAGE π
mpd-dynamic [options]
π OPTIONS π
π General behaviour π
you can customize the usage of mpd-dynamic with the following options:
-o[ld]<old> β number of old tracks to keep in the backlog. defaults to10.-n[ew]<new> β number of new tracks to keep in the to-be-played playlist. defaults to10.-s[leep]<sleep> β time spent sleeping (in seconds) before checking if playlist should be updated. defaults to5seconds.-d[ebug]β runmpd-dynamicin debug mode. in particular, the program will not daemonize itself. defaults to false.-e[ncoding]<encoding> β print debug messages with this encoding. sincempd-dynamicis meant to be a silent daemon, this option will not be used outside of debug mode. defaults to"utf-8".--version--usage--help--man
print the usual program information π
note however that those flags are optional: since mpd-dynamic comes with some sane defaults, you can fire mpd-dynamic as is. no config, no stress, just vibes. β¨
β Ratings β
you can also take advantage of ratings if you want. with those options, songs need to have at least a given rating (or no rating yet) to be inserted β this way, you will only listen to your favorite songs! obsessed. π
ratings can be created / updated with mpd-rate.
note that if you supply a non-existant rating db-file, the rating mechanism will be ignored. π«£
the following options control the rating mechanism:
-r[atings]<ratings> β the path of a db file with the ratings per song. the keys are the song path (relative to MPD root), and the value is an integer (the rating). defaults to"~/.mpd/ratings.db".-m[in[imum]]<min> β the minimum rating for a song to be inserted in the playlist. defaults to4.
π AUTHOR π
Jerome Quelin
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2007 by Jerome Quelin.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
k that's literally it bestie, go stream ur music πΈπ ok bye, this was MPD-DYNAMIC(1p) from perl v5.34.0, dated 2022-06-08 β slay, ate, no crumbs. π¦β¨
π¦ where this page comes from
- debian bookworm: libaudio-mpd-perl 2.004-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libaudio-mpd-perl 2.004-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libaudio-mpd-perl 2.004-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libaudio-mpd-perl 2.004-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libaudio-mpd-perl 2.004-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms