more sync movement

This commit is contained in:
Luke Pulverenti
2014-12-12 22:56:30 -05:00
parent 3fb40eb02e
commit ab3da46113
49 changed files with 1001 additions and 149 deletions

View File

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