Update Emby.Server.Implementations/Playlists/PlaylistManager.cs

Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
This commit is contained in:
Shadowghost 2023-03-18 08:25:34 +01:00 committed by Shadowghost
parent 82080bd1ef
commit eba24d188d

View File

@ -136,7 +136,7 @@ namespace Emby.Server.Implementations.Playlists
Name = name, Name = name,
Path = path, Path = path,
OwnerUserId = options.UserId, OwnerUserId = options.UserId,
Shares = options.Shares Shares = options.Shares ?? Array.Empty<Share>()
}; };
playlist.SetMediaType(options.MediaType); playlist.SetMediaType(options.MediaType);