How to troubleshoot sorting logic
Posted: 05 Feb 2025, 08:14
I've been working on splitting my UHD/ SD-FHD content between two storage paths and during my spot checking have noticed some weird decisions when using ( >> az ) in my rules.
During spot checking I started noticing empty folders and movies seemingly sorted incorrectly. I also noticed the Godfather series had been once grouped into a folder like a collection. I never (purposely) configured rules to do that though I've read it's an option. I'm also assuming some of these differences are results of previous versions of FileBot as I've upgraded over time.
However, with 5.1.6 I'm trying to understand why it has made some decisions with the examples I'll provide below.
The silence of the lambs was sorted in the H folder. (Hannible?)
Color of Space was sorted in the A folder (I'm lost why)
What is FileBot referencing besides basic alphabetical sorting logic that might cause these results? How can I fix it?
Current ruleset for movies
During spot checking I started noticing empty folders and movies seemingly sorted incorrectly. I also noticed the Godfather series had been once grouped into a folder like a collection. I never (purposely) configured rules to do that though I've read it's an option. I'm also assuming some of these differences are results of previous versions of FileBot as I've upgraded over time.
However, with 5.1.6 I'm trying to understand why it has made some decisions with the examples I'll provide below.
The silence of the lambs was sorted in the H folder. (Hannible?)
Color of Space was sorted in the A folder (I'm lost why)
What is FileBot referencing besides basic alphabetical sorting logic that might cause these results? How can I fix it?
Current ruleset for movies
Format: Select all
{ height > 1400 ? 'M' : 'N' }:\Library/{ ~plex.id ** { none{ edition.match(/Theatrical|Remastered/) } ? " {edition-$edition}" : null } % {" [$vf"} % {", $vc"} % {", $bitrate"} % {", $hdr"} % {", $s3d"} % {", $ac $channels]"} % {" [" + fn.match(/REMUX/) + "]"}
>> az }