Test for episodes in series folder
Turn on multiple versions for episodes
Support for multiversion episodes in mixed folders
Update 2 failing test cases. These were for passing for unofficially supported filenames. Dashes with no spaces, which is not how JF docs say multiversion files are supposed to be named.
Fix possible null
fix null take 2
Don't ParseName when calling ResolveVideos<Episode>
ParseName drops everything after year in a filename. This results in episode information being dropped if year is present.
Update tests to set ParseName=false
Additional test with Mixed folder with Year in filename
Added case when calculating displayname for versions for mixed folders.
Add StringComparison.Ordinal to LastIndexOf
Was generating an error in recent build attempts.
Clean the episode filename to set the grouper value
This allows files like
Name (2020) - S01E01 [BluRay-480p x264][AC3 2.0] - [ORIGINAL].mkv
Name (2020) - S01E01 [BluRay-1080p x264][AC3 5.1]- [Remaster].mkv
to be grouped on 'Name (2020) - S01E01'
Fix false positive merging
Only do cleanstring or " -" index cleaning, not both.
Compatiblity fix when stacking episodes and multiple versions are present
Fix linting problems
- Adds regular expression to CleanStrings to remove suffix style extra naming from the name presented in JF.
- Override Resolve for Extras to enable parsename
- remove exclusion on parsename of extratypes
Right now, a movie Name `Iron Man Multi 1080p.mkv` will be searched as
`Iron
Man Multi` leading to no result.
The cleaning regex was containing multi but it looks like a typo joined
`multi` and `subs` in the same term.
Co-authored-by: Xavier-Do <xavier.dolle@gmail.com>
"Digital Media" is a common 'disk'-splitting prefix, more so with recent "digital" music releases as physical cd's/disks aren't used.
In particular, it is part of Lidarr's {Medium Format} tag for automatic archive sorting. So it would be good to see this reflected into Jellyfin.
I'm not familiar with the code-base, or whether a ' ' character is valid within this context.
Fix to allow for episode numbering over 999 in certain scenarios
(cherry picked from commit 3ea67374ae)
Signed-off-by: Joshua Boniface <joshua@boniface.me>