From b409d6751088b8ad41a7c83645b329f8e8337662 Mon Sep 17 00:00:00 2001 From: Renamr Scaffold Date: Sun, 30 Aug 2026 04:20:59 +0000 Subject: [PATCH] Naming scheme editor: clickable field tokens + persist across restarts Two usability fixes to the naming-scheme editor, both reported/requested directly: the field-reference list ({show name}, {episode number}, etc.) was plain unclickable text, so building a scheme meant typing every field name out by hand; and the editor's text always reset to the built-in sample expression on every launch, since nothing ever wrote it to disk - only the explicit 1-9 preset slots (presets.rs) were persisted. Field list -> clickable buttons: each field reference is now a real + ); + return (
@@ -1460,6 +1533,7 @@ export default function RenamePanel() { setExpression(e.target.value)} @@ -1474,56 +1548,57 @@ export default function RenamePanel() { Rhai {" "} - script for anyone who wants it (e.g. {"{show name.to_upper()}"}). + script for anyone who wants it (e.g. {"{show name.to_upper()}"}). Click any field below to + insert it at the cursor instead of typing it out.

Always available - {"{name}"} - {"{ext}"} + +
TV, after Match (local, offline) - {"{show name}"} - {"{season number}"} - {"{episode number}"} + + +
TV, after Fetch Data (real TMDB metadata) - {"{episode name}"} - {"{airdate}"} + +
Movies, after Match or Fetch Data - {"{movie name}"} - {"{year}"} - {"{airdate}"} + + +
Release tags, after Match (TV or movies, local, offline) - {"{resolution}"} - {"{source}"} - {"{video codec}"} - {"{audio codec}"} - {"{release group}"} + + + + +
Real file probing, after Match (reads the actual file, local, offline) - {"{width}"} - {"{height}"} - {"{fps}"} - {"{duration}"} - {"{file size}"} + + + + +