-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: music
action: blob
revision:
path_from: music-rebroadcast
revision_from: refs/heads/master:
path_to:
revision_to:

git.thebackupbox.net

music

git://git.thebackupbox.net/music

blob of:

music

/ music-rebroadcast

refs/heads/master:/music-rebroadcast
 #!/bin/bash
 set -eo pipefail
 music-setnowplaying "$1 [now playing info not loaded yet]"
 mpv "$1" --quiet \
   | stdbuf -oL egrep ' icy-title: | Title: ' \
   | stdbuf -oL cut '-d ' -f3- \
   | stdbuf -o0 tr '\n' '\0' \
   | xargs -0 -n1 music-setnowplaying "$1"

-- Response ended

-- Page fetched on Sun Jun 2 15:15:50 2024