helm/bin/mpd/recent-added
2019-08-06 13:56:54 -04:00

11 lines
259 B
Bash
Executable file

#!/usr/bin/env bash
# Show a list of recently added songs, and the date they were added. This can be
# used to compile a playlist, e.g.
#
# mpc clear
# mpc add $(mpc-recent | cut -f2)
grep added "$HOME/.config/mpd/mpd.log" | sed 's/ : update: added /\t/g'