mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
Merge pull request #6281 from crobibero/controller-warn-04
This commit is contained in:
@@ -164,7 +164,7 @@ namespace Emby.Server.Implementations.Collections
|
||||
DateCreated = DateTime.UtcNow
|
||||
};
|
||||
|
||||
parentFolder.AddChild(collection, CancellationToken.None);
|
||||
parentFolder.AddChild(collection);
|
||||
|
||||
if (options.ItemIdList.Count > 0)
|
||||
{
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace Emby.Server.Implementations.Playlists
|
||||
|
||||
playlist.SetMediaType(options.MediaType);
|
||||
|
||||
parentFolder.AddChild(playlist, CancellationToken.None);
|
||||
parentFolder.AddChild(playlist);
|
||||
|
||||
await playlist.RefreshMetadata(new MetadataRefreshOptions(new DirectoryService(_fileSystem)) { ForceSave = true }, CancellationToken.None)
|
||||
.ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user