-- Leo's gemini proxy

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

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: music
action: commit
revision:
path_from:
revision_from: 5d79176bc74ce26f3d03069f826eefbd2d5c36d3:
path_to:
revision_to:

git.thebackupbox.net

music

git://git.thebackupbox.net/music

commit 5d79176bc74ce26f3d03069f826eefbd2d5c36d3
Author: epoch <epoch@enzo.thebackupbox.net>
Date:   Fri Feb 11 01:28:59 2022 +0000

    setnowplaying now updates fmrl and uses a higher syslog priority

diff --git a/music-setnowplaying b/music-setnowplaying

index cb6996fb1e227a8c4f602f0533ceda020d72c16d..

index ..c8954bc3b572e8d4d718f46125e6b3832d4cf738 100755

--- a/music-setnowplaying
+++ b/music-setnowplaying
@@ -1,5 +1,8 @@
 #!/bin/bash
 music-pushmeta "$*" > /dev/null
-logger -p notice -n logserver "$*"
+fmrl-update-with-patch -t "4" -m "$*" 2>&1 >/dev/null
+### if you change the priority for this message, make sure the server-side is able to handle that.
+### the stuff I had logging now-playing to IRC broke because I changed from notice to warn.
+logger -p warn -n logserver "$*"
 printf "%s\n" "$*" | tr -s ' ' > ${PREFIX}/var/cache/music/nowplaying.txt
 music-albumart >> ${PREFIX}/var/cache/music/nowplaying.txt

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:40:13 2024