Fic mpxplayer block

Jonathan Hodgson 6 years ago
parent b05f18aeea
commit 8acb0d670e
  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