This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
mpc playlist -f '%position%\t%file%' |
|
|
sort -k 2 |
|
|
perl -ne 'm/(.*)\t(.*)/; print "$1\n" if $2 eq $prev; $prev=$2' |
|
|
mpc del
|