diff options
| author | Anthony Lavado <anthonylavado@users.noreply.github.com> | 2019-09-02 02:07:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-02 02:07:19 -0400 |
| commit | cb393c215a2ea75f61d0e3e798c6a4a596d720c2 (patch) | |
| tree | 1eb9586e139de7af8cc906ca4aa758e5106cb35d /MediaBrowser.Controller/Providers | |
| parent | c4eac8b3c6257e4a2aab2fa93d877fbcff8fee51 (diff) | |
| parent | e4f893a0eb955d43e7ef4c99bef8d4bfeb61a771 (diff) | |
Merge pull request #1686 from Bond-009/warn7
More warning fixes
Diffstat (limited to 'MediaBrowser.Controller/Providers')
| -rw-r--r-- | MediaBrowser.Controller/Providers/AlbumInfo.cs | 2 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Providers/MusicVideoInfo.cs | 4 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Providers/SongInfo.cs | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/Providers/AlbumInfo.cs b/MediaBrowser.Controller/Providers/AlbumInfo.cs index b0b443fc01..ac6b86c1d8 100644 --- a/MediaBrowser.Controller/Providers/AlbumInfo.cs +++ b/MediaBrowser.Controller/Providers/AlbumInfo.cs @@ -9,7 +9,7 @@ namespace MediaBrowser.Controller.Providers /// Gets or sets the album artist. /// </summary> /// <value>The album artist.</value> - public string[] AlbumArtists { get; set; } + public IReadOnlyList<string> AlbumArtists { get; set; } /// <summary> /// Gets or sets the artist provider ids. diff --git a/MediaBrowser.Controller/Providers/MusicVideoInfo.cs b/MediaBrowser.Controller/Providers/MusicVideoInfo.cs index 194b264849..9835351fc8 100644 --- a/MediaBrowser.Controller/Providers/MusicVideoInfo.cs +++ b/MediaBrowser.Controller/Providers/MusicVideoInfo.cs @@ -1,7 +1,9 @@ +using System.Collections.Generic; + namespace MediaBrowser.Controller.Providers { public class MusicVideoInfo : ItemLookupInfo { - public string[] Artists { get; set; } + public IReadOnlyList<string> Artists { get; set; } } } diff --git a/MediaBrowser.Controller/Providers/SongInfo.cs b/MediaBrowser.Controller/Providers/SongInfo.cs index 61e9501307..50615b0bd3 100644 --- a/MediaBrowser.Controller/Providers/SongInfo.cs +++ b/MediaBrowser.Controller/Providers/SongInfo.cs @@ -1,12 +1,15 @@ using System; +using System.Collections.Generic; namespace MediaBrowser.Controller.Providers { public class SongInfo : ItemLookupInfo { - public string[] AlbumArtists { get; set; } + public IReadOnlyList<string> AlbumArtists { get; set; } + public string Album { get; set; } - public string[] Artists { get; set; } + + public IReadOnlyList<string> Artists { get; set; } public SongInfo() { |
