diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-08-04 17:35:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 17:35:12 -0700 |
| commit | da14c306b8da8b3d2262490042fbd3c684d06209 (patch) | |
| tree | 6bd8f7913426b95e4a14f8c343a17fd4cd812696 /MediaBrowser.Model/Entities | |
| parent | c2799fe4d3bd718f4d55b425c1bb8d7b5b53b8a6 (diff) | |
| parent | 4980db159489ce009845dd109cb4b91dc809c72c (diff) | |
Merge pull request #3809 from Bond-009/minor4
Minor improvements
Diffstat (limited to 'MediaBrowser.Model/Entities')
| -rw-r--r-- | MediaBrowser.Model/Entities/MediaStream.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs index 1b37cfc939..f9ec0d2388 100644 --- a/MediaBrowser.Model/Entities/MediaStream.cs +++ b/MediaBrowser.Model/Entities/MediaStream.cs @@ -233,7 +233,7 @@ namespace MediaBrowser.Model.Entities if (!string.IsNullOrEmpty(Title)) { - var result = new StringBuilder(Title); + var result = new StringBuilder(Title); foreach (var tag in attributes) { // Keep Tags that are not already in Title. @@ -246,7 +246,7 @@ namespace MediaBrowser.Model.Entities return result.ToString(); } - return string.Join(" - ", attributes.ToArray()); + return string.Join(" - ", attributes); } default: |
