mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
more sync movement
This commit is contained in:
@@ -115,10 +115,15 @@ namespace MediaBrowser.Server.Implementations.Playlists
|
||||
{
|
||||
Name = name,
|
||||
Parent = parentFolder,
|
||||
Path = path,
|
||||
OwnerUserId = options.UserId
|
||||
Path = path
|
||||
};
|
||||
|
||||
playlist.Shares.Add(new Share
|
||||
{
|
||||
UserId = options.UserId,
|
||||
CanEdit = true
|
||||
});
|
||||
|
||||
playlist.SetMediaType(options.MediaType);
|
||||
|
||||
await parentFolder.AddChild(playlist, CancellationToken.None).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user