helm/shell/+mpd/bin/mpd-recent-added
2017-09-05 19:09:18 +02: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'