diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-07-10 10:09:02 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-07-10 10:09:02 -0600 |
| commit | 65f8d8c0cd6cf64cebcbc0cc9279d9857ebf343c (patch) | |
| tree | 005197f12671ec838186369579951b236c8e4650 /Emby.Server.Implementations/Playlists | |
| parent | 4281722d5a50347c26ee92dcd47b3bbad5cedbbf (diff) | |
[CA1801] Parameter is never used. Remove the parameter or use it in the method body.
Diffstat (limited to 'Emby.Server.Implementations/Playlists')
| -rw-r--r-- | Emby.Server.Implementations/Playlists/PlaylistManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs index 9a1ca9946..8cafde38e 100644 --- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs +++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs @@ -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); |
