Skip to content

Instantly share code, notes, and snippets.

View vredesbyyrd's full-sized avatar

Justin Faber vredesbyyrd

  • Minneapolis, MN
View GitHub Profile
@vredesbyyrd
vredesbyyrd / jellyfin_daemon.log
Created September 25, 2025 03:03
jellyfin daemon log
[DEBUG] 2025/09/24 17:53:06 jellyfin_daemon.go:3718: Executing command: refresh (debug mode: true)
[RT-DAEMON] 2025/09/24 17:53:06 🔄 Forcing full cache refresh...
[RT-DAEMON] 2025/09/24 17:53:06 Authenticating with Jellyfin server...
[RT-DAEMON] 2025/09/24 17:53:06 Attempting username/password authentication...
[DEBUG] 2025/09/24 17:53:06 jellyfin_daemon.go:669: >>> POST /Users/AuthenticateByName
[DEBUG] 2025/09/24 17:53:06 jellyfin_daemon.go:671: >>> BODY: {"Pw":"rinzler","Username":"clu"}
[DEBUG] 2025/09/24 17:53:06 jellyfin_daemon.go:703: <<< 200 ({"User":{"Name":"clu","ServerId":"97755c480b4342bc8da3912b0744d3cd","Id":"2fd28b579a394e53943aae1440f3afb9","PrimaryImageTag":"b4f50cf5b38298488f1d4195f6f06c0c","HasPassword":true,"HasConfiguredPasswo... [truncated for short debug])
[RT-DAEMON] 2025/09/24 17:53:06 ✅ Username/password authentication successful
[DEBUG] 2025/09/24 17:53:06 jellyfin_daemon.go:832: User ID: 2fd28b579a394e53943aae1440f3afb9
[RT-DAEMON] 2025/09/24 17:53:06 Fetching all Jellyfin data wit
@vredesbyyrd
vredesbyyrd / jellyfin_daemon.go
Created August 21, 2025 02:34
jellyfin_daemon.go
package main
import (
"bytes"
"context"
"crypto/md5"
"encoding/json"
"fmt"
"image"
"image/jpeg"
@vredesbyyrd
vredesbyyrd / jellyfin_daemon.py
Created August 20, 2025 22:04
my jellyfin_daemon.py
#!/usr/bin/env python3
import json
import os
import sys
import time
import signal
import asyncio
import logging
import threading
@vredesbyyrd
vredesbyyrd / fullscreen-preview.rasi
Created August 9, 2025 18:32
rofi blocks image preview debug script
/**
* ROFI Color Theme
*
* Fullscreen theme with switchable PREVIEW option.
*
* User: Dave Davenport
* Copyright: Dave Davenport
*/
* {
# Copy this to ~/.config/skippy-xd/skippy-xd.rc and edit it to your liking
#
# File Syntax:
# Comments must be on their own seperate lines that start with a #
#
# colors can be anything XAllocNamedColor can handle
# (like "black" or "#000000")
#
# fonts are Xft font descriptions
#
--[[
This file is part of darktable,
copyright (c)2021 Bill Ferguson <wpferguson@gmail.com>
darktable is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
darktable is distributed in the hope that it will be useful,
#################################
# Shadows #
#################################
# Enabled client-side shadows on windows. Note desktop windows
# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow,
# unless explicitly requested using the wintypes option.
#
# shadow = false
@vredesbyyrd
vredesbyyrd / nautilus-new-tab.sh
Created January 27, 2023 19:55
hackish script to open filepaths in new nautilus tab
# Convert desktop file urls to nautilus-friendly local paths.
# Accommodates special characters in directory names (!@#$, etc).
DELAY=$1
FILEURL=$2
FILEPATH="${FILEURL#file://}"
# Check for running instances of $app on current desktop/workspace.# Convert desktop file urls to nautilus-friendly local paths.
# Accommodates special characters in directory names (!@#$, etc).
DELAY=$1
APP=org.gnome.Nautilus
@vredesbyyrd
vredesbyyrd / raw_diff.sh
Last active November 11, 2022 01:00
small script to prune extreneous sooc jpg's - we want raw_dir == jpg_dir
#!/usr/bin/sh
# small script to prune extreneous sooc jpg's - we want raw_dir == jpg_dir
# takes one arg: full path to raw_dir
# requires 'trash-cli' package: https://github.com/andreafrancia/trash-cli
RAW_DIR="${1}" # user passes raw directory path
JPG_DIR=$(find "$RAW_DIR" -mindepth 1 -maxdepth 1 -name "*sooc" -type d) # only look dirs ending in "sooc"
# get all files matching .{ext}, return only the basename
@vredesbyyrd
vredesbyyrd / config.rasi
Created February 17, 2019 01:26
Rofi sidebar config
configuration {
display-drun: "/";
display-window: "";
show-icons: false;
sidebar-mode: true;
}
* {
background-color: #212D32;