Filter dialog: Language right after Quality
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -35,7 +35,7 @@ var helpSections = []helpSection{
|
||||
{title: "Library", note: "The dot before a title: green when monitored, grey hollow when not, blue while it is in the Radarr/Sonarr download queue (the details say how far).", items: []helpItem{
|
||||
{"Tab", "switch between the movies and series lists"},
|
||||
{"f", "cycle the status filter (all, missing, downloaded, monitored, unmonitored); every list has its own filters"},
|
||||
{"F", "filter by file properties: quality, codec (x265, x264, AV1), HDR / DV / SDR, audio (Atmos, TrueHD, DTS, DD+ ...), language. Changes apply live behind the dialog, also while you move through an open list; Esc undoes them. Options that would leave no results are not offered. Series files are read on demand."},
|
||||
{"F", "filter by file properties: quality, language, codec (x265, x264, AV1), HDR / DV / SDR, audio (Atmos, TrueHD, DTS, DD+ ...). Changes apply live behind the dialog, also while you move through an open list; Esc undoes them. Options that would leave no results are not offered. Series files are read on demand."},
|
||||
{"/", "text filter for the focused list only; each list keeps its own text (Enter or Esc returns to the list)"},
|
||||
{"t", "toggle monitored"},
|
||||
{"d", "remove from the library (files are kept unless you tick \"Delete files\")"},
|
||||
@@ -59,7 +59,7 @@ var helpSections = []helpSection{
|
||||
{"Enter, g", "grab the selected release"},
|
||||
{"s", "cycle the sort (best, size, age)"},
|
||||
{"f", "hide rejected releases"},
|
||||
{"F", "filter by quality, codec, HDR / DV, audio, language (read from the release title, quality and custom formats)"},
|
||||
{"F", "filter by quality, language, codec, HDR / DV, audio (read from the release title, quality and custom formats)"},
|
||||
}},
|
||||
{title: "Downloads", items: []helpItem{
|
||||
{"p", "pause / resume the SABnzbd queue"},
|
||||
|
||||
@@ -129,10 +129,10 @@ func staticOptions(o []string) func(filterPool) []string {
|
||||
|
||||
var facetDefs = []facet{
|
||||
{"Quality", staticOptions(resOptions), func(f attrFilter) string { return f.res }, func(f attrFilter, v string) attrFilter { f.res = v; return f }, nil, nil},
|
||||
{"Language", filterPool.languages, func(f attrFilter) string { return f.lang }, func(f attrFilter, v string) attrFilter { f.lang = v; return f }, nil, nil},
|
||||
{"Codec", staticOptions(codecOptions), func(f attrFilter) string { return f.codec }, func(f attrFilter, v string) attrFilter { f.codec = v; return f }, nil, nil},
|
||||
{"HDR", staticOptions(hdrOptions), func(f attrFilter) string { return f.hdr }, func(f attrFilter, v string) attrFilter { f.hdr = v; return f }, nil, nil},
|
||||
{"Audio", staticOptions(audioOptions), func(f attrFilter) string { return f.audio }, func(f attrFilter, v string) attrFilter { f.audio = v; return f }, nil, nil},
|
||||
{"Language", filterPool.languages, func(f attrFilter) string { return f.lang }, func(f attrFilter, v string) attrFilter { f.lang = v; return f }, nil, nil},
|
||||
}
|
||||
|
||||
// listedValues returns the options a facet offers: those that, together with
|
||||
@@ -153,8 +153,8 @@ func listedValues(f facet, state attrFilter, pool filterPool) []string {
|
||||
return vals
|
||||
}
|
||||
|
||||
// openAttrFilter shows the dialog to pick quality, codec, HDR, audio and
|
||||
// language. Every change is passed to set immediately so the list behind the
|
||||
// openAttrFilter shows the dialog to pick quality, language, codec, HDR and
|
||||
// audio (the most used first). Every change is passed to set immediately so the list behind the
|
||||
// dialog follows along, also while moving through an open list; Cancel and Esc
|
||||
// restore cur. Entries that would leave no results are not offered. The
|
||||
// returned function re-evaluates them when the pool has changed; onClose runs
|
||||
|
||||
Reference in New Issue
Block a user