Add dzadd script
This commit is contained in:
parent
76855bedf9
commit
62bd9e6676
5 changed files with 188 additions and 0 deletions
5
scripts/mpdDup
Executable file
5
scripts/mpdDup
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue