

I’m a fan of inclusive min, exclusive max for rng. It behaves consistently with decimal numbers in a readable way, for example int(0,100) can return 100 different integers. x<0 has a 0% chance of happening, x<50 is 50%, x<100 is 100%. If you swap with dec(0,100) you could now get 99.999 but x<50 is still exactly 50%
I do agree with amio on consistency and making sure each method added is worth the abstraction.









I usually check the length of each episode with the disc open in VLC and find the title with a matching length in MakeMKV, so I can set the names before extracting. Jellyfin supports naming episode files ‘S01E01 Episode Name’ which makes it easy to track what the file really is in case the db ordering turns out to be different. For nonserialized shows where order mismatches are likely I’ll check with TVDB as I’m going through the episodes on the disc.