Skip to content

Instantly share code, notes, and snippets.

@pruperting
pruperting / gist:9c8ac97e73e4fc75acfdd64ddcb06237
Created September 18, 2024 21:19
Detailed logs from navidrome jukebox mode
Sep 18 22:15:38 hc2audioserver navidrome[20591]: time="2024-09-18T22:15:38+01:00" level=debug msg="Processing GetDevice" user=prupert
Sep 18 22:15:38 hc2audioserver navidrome[20591]: time="2024-09-18T22:15:38+01:00" level=info msg="JukeboxControl request received" action=set requestId=hc2audioserver/WO914CAHl2-000002
Sep 18 22:15:38 hc2audioserver navidrome[20591]: time="2024-09-18T22:15:38+01:00" level=debug msg="Processing Set action" device="Name: internal, Gain: 1.0000, Loaded track: %!s(<nil>)" ids="[]" requestId=hc2audioserver/WO914CAHl2-000002
Sep 18 22:15:38 hc2audioserver navidrome[20591]: time="2024-09-18T22:15:38+01:00" level=debug msg="Processing Clear action" device="Name: internal, Gain: 1.0000, Loaded track: %!s(<nil>)" requestId=hc2audioserver/WO914CAHl2-000002
Sep 18 22:15:38 hc2audioserver navidrome[20591]: time="2024-09-18T22:15:38+01:00" level=debug msg="Processing Add action" device="Name: internal, Gain: 1.0000, Loaded track: %!s(<nil>)" ids="[]" requestId=hc2audioserver/WO914CAHl2-00000
#!/bin/bash
#updated ffmpeg progress indicator
#by Rupert Plumridge
#for updates visit www.prupert.co.uk
#Creative Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England & Wales Licence
# Based on the ffmpegprogress bar from: http://handybashscripts.blogspot.com/2011/01/ffmpeg-with-progress-bar-re-work.html
# which was based on my initital progress script - circle of life and all that ;)
# version 2.0
# 07.04.2011
# now uses apparently better progress detection, based on duration of overall video and progress along the conversion
"""Retrieve the weather forecast for the current location."""
__author__ = 'Rupert Plumridge <r.plumridge@gmail.com>'
__copyright__ = 'Copyleft (c) 2010, The World.'
__license__ = 'Creative Commons Attribution-Non-Commercial-Share Alike 3.0 Unported Licence'
# based on the weather.py script by T.V. Raman <raman@google.com>,from Google, from the ASE Python script examples
import urllib2, re