diff options
| author | Shadowghost <Shadowghost@users.noreply.github.com> | 2023-03-18 08:25:34 +0100 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2023-03-18 10:49:52 +0100 |
| commit | eba24d188d3ff9747e2c39281e3f64d5fdd53899 (patch) | |
| tree | 649a93d902e840da6e6e98bae29c547cd117e964 | |
| parent | 82080bd1ef056153fd54e05fb9decbf5f5830572 (diff) | |
Update Emby.Server.Implementations/Playlists/PlaylistManager.cs
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
| -rw-r--r-- | Emby.Server.Implementations/Playlists/PlaylistManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs index 853daf724..4d1b45428 100644 --- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs +++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs @@ -136,7 +136,7 @@ namespace Emby.Server.Implementations.Playlists Name = name, Path = path, OwnerUserId = options.UserId, - Shares = options.Shares + Shares = options.Shares ?? Array.Empty<Share>() }; playlist.SetMediaType(options.MediaType); |
