Fic mpxplayer block

master
Jonathan Hodgson 6 years ago
parent 713f9df659
commit 6185baf582
  1. 2
      i3/blocks/mpvmediaplayer

@ -9,6 +9,6 @@ socket="${SOCKET:-/tmp/mpvsocket}"
#esac #esac
echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - /tmp/mpvsocket | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g' echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - "${socket}" | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g'
echo "" echo ""
echo "#00FF00" echo "#00FF00"

Loading…
Cancel
Save