Sort by IndexNumber instead of SortName

Closes #25
This commit is contained in:
ConfusedPolarBear 2022-06-17 21:11:58 -05:00
parent f6abe81876
commit be41ef6226
3 changed files with 6 additions and 4 deletions

View File

@ -15,8 +15,10 @@
* Warning: Using a value that is too high will result in system instability
* Remove restart requirement to change auto skip setting
* Rewrite startup enqueue
* Fix deadlock issue on Windows (nyanmisaka)
* Improve skip intro button styling & positioning (Fallenbagel)
* Fix deadlock issue on Windows (#23 by @nyanmisaka)
* Improve skip intro button styling & positioning (ConfusedPolarBear/jellyfin-web#91 by @Fallenbagel)
* Order episodes by `IndexNumber` (#25 reported by @Flo56958)
## v0.1.0.0 (2022-06-09)
* Add option to automatically skip intros

View File

@ -108,7 +108,7 @@ public class Entrypoint : IServerEntryPoint
var query = new InternalItemsQuery()
{
ParentId = Guid.Parse(rawId),
OrderBy = new[] { ("SortName", SortOrder.Ascending) },
OrderBy = new[] { ("IndexNumber", SortOrder.Ascending) },
IncludeItemTypes = new BaseItemKind[] { BaseItemKind.Episode },
Recursive = true,
};

View File

@ -173,7 +173,7 @@ public class FingerprinterTask : IScheduledTask
return;
}
_logger.LogInformation(
_logger.LogDebug(
"Analyzing {Count} episodes from {Name} season {Season}",
season.Value.Count,
first.SeriesName,