4 snippets
Snippets
Small, self-contained bits of config and code I don’t want to lose, like my Jellyfin theme, tinyMediaManager renamer patterns, dotfiles, and other things too small for their own post but worth bookmarking.
Theming
-
Jellyfin custom theme css
scyfin theme x neo
@import url('https://cdn.jsdelivr.net/gh/loof2736/scyfin@latest/CSS/scyfin-theme.css'); .adminDrawerLogo img { content: url(https://i.imgur.com/adhRKTl.png) !important; } imgLogoIcon { content: url(https://i.imgur.com/adhRKTl.png) !important; } .pageTitleWithLogo { background-image: url(https://i.imgur.com/adhRKTl.png) !important; } .jellyfinEnhancedSection { display: none !important; } .adminMenuOptions > a:nth-child(4) { display: none !important; }
Media management
-
PowerShell | Organize JPGs into season folders pwsh
The PowerShell command I use to automatically sort .jpg files into season folders based on the season number in their filename, supporting both S01 E01 and Season 1 naming formats. Folders are created as SEASON 01, SEASON 02, etc.
gci *.jpg | % { if ($_.Name -match 'S(\d+)\s+E\d+') { $d="SEASON {0:D2}" -f [int]$matches[1] } elseif ($_.Name -match 'Season (\d+)') { $d="SEASON {0:D2}" -f [int]$matches[1] } else { return }; mkdir $d -Force | Out-Null; mv $_ $d } -
tinyMediaManager movie renamer pattern jmte
The JMTE pattern I use in tinyMediaManager’s Renamer settings so movie folders come out as
Bugs Bunny - Remastered (1999) 1080P AAC 5.1 H265 BLU-RAY, with the edition tag only showing up when one is actually set.${title} ${- ,edition,} (${year}) ${videoFormat;upper} ${audioCodec;upper} ${audioChannelsDotAsString;upper} ${videoCodec;upper} ${mediaSource;upper} ${hdrformat} -
tinyMediaManager tv-show renamer pattern jmte
The JMTE pattern I use in tinyMediaManager’s Renamer settings so episode files come out as
Bunny - S01E01 - The Arrival (2020) 1080P EAC3 5.1 H265 WEBRIP, with the edition tag only showing up when one is actually set.${showTitle} - S${seasonNr2}E${episodeNr2} - ${title} ${- ,edition,} (${year}) ${videoFormat;upper} ${audioCodec;upper} ${audioChannelsDotAsString;upper} ${videoCodec;upper} ${mediaSource;upper} ${hdrformat}