diff options
| author | redSpoutnik <15638041+redSpoutnik@users.noreply.github.com> | 2019-03-16 17:28:45 +0100 |
|---|---|---|
| committer | redSpoutnik <15638041+redSpoutnik@users.noreply.github.com> | 2019-03-16 17:28:45 +0100 |
| commit | 4a30fee40df69be381c2cdea01cd4dd29b97ad3c (patch) | |
| tree | e1312b31c97daabcb52dd067d1a9780ee327ad44 | |
| parent | 427688a0a08e04e87774d01e7bfec22eecc71e7d (diff) | |
Remove some dead code
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 8dcf679a3..5652962da 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -134,10 +134,6 @@ namespace MediaBrowser.Model.Entities if (Type == MediaStreamType.Subtitle) { - //if (!string.IsNullOrEmpty(Title)) - //{ - // return AddLanguageIfNeeded(Title); - //} var attributes = new List<string>(); @@ -234,30 +230,6 @@ namespace MediaBrowser.Model.Entities return null; } - /* - private string AddLanguageIfNeeded(string title) - { - if (!string.IsNullOrEmpty(Language) && - !string.Equals(Language, "und", StringComparison.OrdinalIgnoreCase) && - !IsLanguageInTitle(title, Language)) - { - title = StringHelper.FirstToUpper(Language) + " " + title; - } - - return title; - } - - private bool IsLanguageInTitle(string title, string language) - { - if (title.IndexOf(Language, StringComparison.OrdinalIgnoreCase) != -1) - { - return true; - } - - return false; - } - */ - public string NalLengthSize { get; set; } /// <summary> |
