mpdcron(1)
π mpdcron β like cron but make it mpd π
okay bestie, sit down, hydrate, because this is the mpdcron(1) page from the General Commands Manual and it is so much cooler than it sounds. it's a whole daemon. she's iconic. let's get into it π
β¨ NAME β¨
mpdcron β cron like daemon for mpd π¦
πΈ SYNOPSIS πΈ
mpdcron [option]
that's it. that's the whole vibe. one optional [option] and she's off π
π DESCRIPTION π
okay so mpdcron is a cron like daemon for mpd. she connects to mpd, and then she justβ¦ waits. patiently. for idle events. main character energy honestly π«Ά
and she's got two interfaces, which, yes, two whole personalities:
- Hooks β these get executed after setting environment variables, so hooks can pull all the deets about the event without having to go connect to mpd themselves. lowkey thoughtful of her tbh β¨
- Modules β these are dynamically loaded and have direct access to the mpd connection plus the file descriptor of mpdcron's configuration file. yeah. full access. no cap π
by default she'll grab the host name and port for mpd from the MPD_HOST and MPD_PORT environment variables. and if you need to get into a password-protected mpd, just set the MPD_PASSWORD environment variable and you're in, bestie π
but β and hear me out β if those environment variables aren't set at all? she connects to localhost on port 6600. simple. classic. the default we know and love π
π OPTIONS π
-?,--helpβ shows you the help options and then exits. like a good friend who actually tells you what's going on π-V,--versionβ prints version information and exits. flex the build, queen π-k,--killβ instead of launching the daemon, she will attempt to kill the already running daemon. not me being the one to end it π-n,--no-daemonβ don't detach from console. this one is for debugging, so if you're trying to figure out what's going on, she stays right there with you π«Ά
π FILES π
~/.mpdcron/mpdcron.confβ the User configuration file π
π₯ SEE ALSO π₯
iykyk, go read those too π
π REPORTING BUGS π
if you find a bug (and bestie, it happens, it's not a big deal), please report it at <http://github.com/alip/mpdcron/issues> β the devs wanna know fr fr π
π COPYRIGHT π
Copyright (c) 2009 Ali Polatel <alip@exherbo.org>
free use of this software is granted under the terms of the GNU General Public License (GPL). so like, go wild, but respectfully β¨
π AUTHOR π
Ali Polatel <alip@exherbo.org> β the actual legend behind all this π«‘
and that's the whole page, bestie! stay idle, stay iconic, and don't forget to check your env vars πΈ
this was the manual page, dated December 23, 2009 β yes, she's a vintage queen and she still ate π
π
π¦ where this page comes from
- debian bookworm: mpdcron 0.3+git20161228-3 Β· GPL-2.0-only
- nixos 26.05: mpdcron 20161228
- nixpkgs unstable: mpdcron 20161228
- ubuntu jammy: mpdcron 0.3+git20161228-3 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms