Create and use FormattingStreamWriter

Prevents bugs causes by system cultures with different formatting
This commit is contained in:
Bond_009
2024-08-30 17:10:28 +02:00
parent 2fe13f54ea
commit 3b94cfa837
5 changed files with 64 additions and 7 deletions

View File

@@ -180,10 +180,7 @@ namespace MediaBrowser.Controller.Entities.TV
}
public string FindSeriesPresentationUniqueKey()
{
var series = Series;
return series is null ? null : series.PresentationUniqueKey;
}
=> Series?.PresentationUniqueKey;
public string FindSeasonName()
{

View File

@@ -430,8 +430,6 @@ namespace MediaBrowser.Controller.Entities
InternalItemsQuery query,
ILibraryManager libraryManager)
{
var user = query.User;
// This must be the last filter
if (!query.AdjacentTo.IsNullOrEmpty())
{