jellyfin/tests
senritsu 4e21b49994 adjust episode path expression to allow digits in series names
The previous expression was too greedy to consume digits, because the hyphen was optional. This lead to incorrect episode numbers for certain series with digits in their names, in those cases each episode was recognized as the same episode number (the digit from the series name).

The rule, which matches most standard  anime filenames, also had a lower priority than one of the Kodi rules, leading to incorrect recognition for absolute numbered episodes with triple digits and higher (first digit was used as season number, rest of digits as episode number). This also resolves one of the TODO test cases.

Additional test cases were added to ensure that both hyphens in different parts of the filename, as well as names without hyphens, still work correctly. All previous test cases still pass.

Unfortunately another TODO (EpisodeNumberTests.cs@L76, Uchuu Senkan Yamato 2199) with the same issue (digits in the series name) could not be trivially fixed in the same change, due to the significantly different formatting. Attempts to resolve this case did not work out for now.
2021-01-17 20:24:23 +01:00
..
Jellyfin.Api.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.Common.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.Controller.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.Dlna.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.MediaEncoding.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.Model.Tests Upgrade Jellyfin.Model.Tests to net5.0 2020-11-13 10:40:09 -07:00
Jellyfin.Naming.Tests adjust episode path expression to allow digits in series names 2021-01-17 20:24:23 +01:00
Jellyfin.Networking.Tests/NetworkTesting Merge pull request #4970 from BaronGreenback/networkTestCorrection 2021-01-16 13:28:34 -05:00
Jellyfin.Server.Implementations.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
Jellyfin.XbmcMetadata.Tests Bump coverlet.collector from 1.3.0 to 3.0.0 2021-01-11 12:01:03 +00:00
coverletArgs.runsettings Split CI testing files 2020-01-15 11:05:57 +01:00
jellyfin-tests.ruleset Merge MediaBrowser.Api.Tests into Jellyfin.Api.Tests 2020-09-03 23:13:46 +02:00