A small helper for music collectors: mark tracks as ignored (= meh'd) so they’re automatically skipped, without deleting anything from your library.
- Adds a sticker
mehd=1to tracks - Watches MPD player events and skips meh'd tracks
- Lists or bulk-marks tracks by MPD queries
- Deletes meh'd tracks from disk
go build -ldflags "-s -w"
On first run it creates ~/.config/mpd-meh/config.
Required MPD config:
sticker_filemust be enabled inmpd.confmusic_directoryis needed for thedeletecommand
Minimal mpd-meh config example:
host=127.0.0.1
port=6600
password=
# paths (optional)
mpd_db_path=
sticker_db_path=
mpd_config=
music_directory=
If mpd_config is empty, it will try ~/.config/mpd/mpd.conf automatically.
mpd-meh meh
mpd-meh meh --file "path/to/file.mp3"
mpd-meh unmeh
mpd-meh unmeh --file "path/to/file.mp3"
mpd-meh unmeh --file "vgm_chiptune/ps1/*"
mpd-meh list
mpd-meh mark search artist "Some Artist"
mpd-meh delete
mpd-meh delete --file "vgm_chiptune/ps1/*"
Notes:
deleteremoves files from disk; MPD's database updates after a rescan.- Globs match across
/and are only applied to meh'd URIs.
A sample systemd unit is included: mpd-meh.service, to run mpd-meh as a daemon (will skip any meh'd playing track).