Skip to content

Instantly share code, notes, and snippets.

View Samg381's full-sized avatar
🚀
rad

Sam Gregg Samg381

🚀
rad
View GitHub Profile
@Samg381
Samg381 / ffmpeg.log
Created December 25, 2024 16:25
ffmpeg log
{"Protocol":0,"Id":"b826c82534f99b0ce0c2ce6c7d0ff4b0","Path":"/mnt/local-media/vlc-record-2021-06-08-21h08m17s-twin.peaks.s02e12.1080p.bluray.x264-reward.mkv-.ts","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"ts","Size":245072288,"Name":"vlc-record-2021-06-08-21h08m17s-twin.peaks.s02e12.1080p.bluray.x264-reward.mkv-","IsRemote":false,"ETag":"9bc4011cf1d1967d1b9e2a1b58e6c816","RunTimeTicks":1880627000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"UseMostCompatibleTranscodingProfile":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[{"Codec":"h264","CodecTag":null,"Language":"eng","ColorRange":null,"ColorSpace":null,"ColorTransfer":null,"ColorPrimaries":null,"DvVersionMajor":null,
@Samg381
Samg381 / jellyfin.log
Created December 25, 2024 16:24
jellyfin log
[2024-12-24 00:01:29.047 -05:00] [INF] Stopping directory watching for path "/mnt/synology-nas"
[2024-12-24 00:01:29.048 -05:00] [INF] Validating media library
[2024-12-24 00:01:29.082 -05:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
[2024-12-24 00:01:29.146 -05:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
[2024-12-24 00:01:29.842 -05:00] [INF] "Scan Media Library" Completed after 0 minute(s) and 0 seconds
[2024-12-24 00:01:29.901 -05:00] [INF] Watching directory "/mnt/synology-nas"
[2024-12-24 00:02:48.359 -05:00] [INF] Stopping directory watching for path "/mnt/synology-nas"
[2024-12-24 00:02:48.359 -05:00] [INF] Validating media library
[2024-12-24 00:02:48.373 -05:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
[2024-12-24 00:02:48.387 -05:00] [WRN] Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
@Samg381
Samg381 / AmazonShippingAddressWarning.user.js
Last active November 16, 2024 17:36
Reminds users to check their Amazon shipping address before purchasing. Useful for parents, the elderly, or the generally forgetful.
// ==UserScript==
// @name Amazon Shipping Address Warning
// @namespace http://samg381.com
// @version 1.3
// @description Remind users to check their Amazon shipping address before purchasing.
// @author Samg381
// @run-at document-idle
// @match https://www.amazon.com/*
// @grant none
// @require
@Samg381
Samg381 / thread.py
Created February 16, 2023 16:38
Simple Python Threading Demo
import threading
import time
Monitor = True
def thread_function():
print("[Worker] worker created!")
while (Monitor == True):
@Samg381
Samg381 / getmap.sh
Created December 18, 2022 02:04
DayZ Chernarus Map Downlaoder
## Used with WSL // Hence explorer.exe call at bottom
printf "Please specify resolution (1-8): "
read RES
# =========
if [ $RES == 1 ]; then
SIZE=1