11 lines
185 B
Plaintext
11 lines
185 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
song=$(mpc --format "%position%\t%artist%\t%title%" playlist | sort | column -s" " -t | fzf)
|
||
|
|
||
|
if [ "$song" == "" ]
|
||
|
then
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
mpc play $(echo $song | awk '{print $1}')
|