diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2020-11-16 16:48:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-16 16:48:26 +0100 |
| commit | dc0e353b968e80b9532638f5a752f89572566d82 (patch) | |
| tree | 7f2d7ca1a28f88e8a33cb020135382990ba76141 | |
| parent | d53f97d8034d134c8f1cc7b137656257ba0b5a80 (diff) | |
| parent | 5fe4ea2f4a7134d3d92de13fde7cd3570a42a772 (diff) | |
Merge pull request #4494 from nyanmisaka/hdr-title
Add video range info to the title
| -rw-r--r-- | Emby.Server.Implementations/Localization/Core/en-US.json | 3 | ||||
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Localization/Core/en-US.json b/Emby.Server.Implementations/Localization/Core/en-US.json index 6d8b222b4..f8f595faa 100644 --- a/Emby.Server.Implementations/Localization/Core/en-US.json +++ b/Emby.Server.Implementations/Localization/Core/en-US.json @@ -9,11 +9,13 @@ "Channels": "Channels", "ChapterNameValue": "Chapter {0}", "Collections": "Collections", + "Default": "Default", "DeviceOfflineWithName": "{0} has disconnected", "DeviceOnlineWithName": "{0} is connected", "FailedLoginAttemptWithUserName": "Failed login attempt from {0}", "Favorites": "Favorites", "Folders": "Folders", + "Forced": "Forced", "Genres": "Genres", "HeaderAlbumArtists": "Album Artists", "HeaderContinueWatching": "Continue Watching", @@ -77,6 +79,7 @@ "Sync": "Sync", "System": "System", "TvShows": "TV Shows", + "Undefined": "Undefined", "User": "User", "UserCreatedWithName": "User {0} has been created", "UserDeletedWithName": "User {0} has been deleted", diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index fa3c9aaa2..ca0b93c30 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -191,6 +191,11 @@ namespace MediaBrowser.Model.Entities attributes.Add(Codec.ToUpperInvariant()); } + if (!string.IsNullOrEmpty(VideoRange)) + { + attributes.Add(VideoRange.ToUpperInvariant()); + } + if (!string.IsNullOrEmpty(Title)) { var result = new StringBuilder(Title); |
