mirror of https://xfnw.ttm.sh/git/radio.git
16 lines
409 B
Bash
Executable File
16 lines
409 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# annotate:title="Title 1",artist="Artist 1":
|
|
|
|
#echo "#EXTM3U"
|
|
echo # stupid liquid mimetype bug, stop thinking my pl
|
|
# are csv files lmao
|
|
|
|
while [[ 1 ]]; do
|
|
read -p 'continue (^c to cancel)?'
|
|
SELSONG=$(fzf -i -q Music)
|
|
echo "$SELSONG" | sed 's+Music/++'|sed ' s/_/ /g'|sed 's/....$//' | awk -F' - ' '{print "annotate:title=\"" $2 "\",artist=\"" $1 "\":"}' | tr -d "\n"
|
|
echo "$SELSONG"
|
|
|
|
done
|