mpdcron(1)

πŸ“¦ version 0.3+git20161228, in debian bookworm, nixos 26.05, nixpkgs unstable, ubuntu jammy

πŸ’– 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 (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