You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
310 B

#!/usr/bin/sh
socket="${SOCKET:-/tmp/mpvsocket}"
#case $BLOCK_BUTTON in
# 1) $COMMAND previous ;;
# 3) $COMMAND next ;;
#esac
echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - "${socket}" | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g'
echo ""
echo "#00FF00"