|
@@ -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);
|