mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 14:28:46 +01:00
Merge pull request #734 from Bond-009/culture
Fix more analyzer warnings
This commit is contained in:
@@ -615,7 +615,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
if (!string.IsNullOrEmpty(ForcedSortName))
|
||||
{
|
||||
// Need the ToLower because that's what CreateSortName does
|
||||
_sortName = ModifySortChunks(ForcedSortName).ToLower();
|
||||
_sortName = ModifySortChunks(ForcedSortName).ToLowerInvariant();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -661,7 +661,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
return Name.TrimStart();
|
||||
}
|
||||
|
||||
var sortable = Name.Trim().ToLower();
|
||||
var sortable = Name.Trim().ToLowerInvariant();
|
||||
|
||||
foreach (var removeChar in ConfigurationManager.Configuration.SortRemoveCharacters)
|
||||
{
|
||||
|
||||
@@ -305,7 +305,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
private string GetUserDataKey(string providerId)
|
||||
{
|
||||
var key = providerId + "-" + ExtraType.ToString().ToLower();
|
||||
var key = providerId + "-" + ExtraType.ToString().ToLowerInvariant();
|
||||
|
||||
// Make sure different trailers have their own data.
|
||||
if (RunTimeTicks.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user