Post GPL cleanup

This commit is contained in:
Bond_009
2018-12-27 22:43:48 +01:00
parent c6618d0a5f
commit 340a2c6512
99 changed files with 327 additions and 1053 deletions

View File

@@ -7,8 +7,6 @@ namespace MediaBrowser.Model.MediaInfo
{
public class MediaInfo : MediaSourceInfo, IHasProviderIds
{
private static readonly string[] EmptyStringArray = new string[] {};
public ChapterInfo[] Chapters { get; set; }
/// <summary>
@@ -56,13 +54,13 @@ namespace MediaBrowser.Model.MediaInfo
public MediaInfo()
{
Chapters = new ChapterInfo[] { };
Artists = new string[] {};
AlbumArtists = EmptyStringArray;
Studios = new string[] {};
Genres = new string[] {};
People = new BaseItemPerson[] { };
Chapters = Array.Empty<ChapterInfo>();
Artists = Array.Empty<string>();
AlbumArtists = Array.Empty<string>();
Studios = Array.Empty<string>();
Genres = Array.Empty<string>();
People = Array.Empty<BaseItemPerson>();
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
}
}

View File

@@ -1,5 +1,4 @@
using MediaBrowser.Model.Dlna;
using System.Collections.Generic;
using System;
namespace MediaBrowser.Model.MediaInfo