# finding long tracks # joostvb@bruhat:/var/lib/mpd% grep \^Time tag_cache | cut -d\: -f2 | sort -n | tail # joostvb@bruhat:/var/lib/mpd% egrep \^file\|\^Time tag_cache | egrep -C1 10800\|14315\|43956\|9336\|8826\|8523 # joostvb@bruhat:/var/lib/mpd% times=$(grep \^Time tag_cache | cut -d\: -f2 | sort -n | tail -80 | uniq) # joostvb@bruhat:/var/lib/mpd% for t in $times; do egrep \^file\|\^Time tag_cache | egrep -C1 $t; done | less # for mpd >= 0.16.7-2 : # joostvb@bruhat:/var/lib/mpd% for t in $times; do egrep \^song_begin\|\^Time tag_cache | egrep -C1 $t; done | less