mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
@@ -112,7 +112,7 @@ public class CleanupCollectionAndPlaylistPathsTask : IScheduledTask
|
|||||||
private void CleanupLinkedChildren<T>(T folder, CancellationToken cancellationToken)
|
private void CleanupLinkedChildren<T>(T folder, CancellationToken cancellationToken)
|
||||||
where T : Folder
|
where T : Folder
|
||||||
{
|
{
|
||||||
List<LinkedChild> itemsToRemove = null;
|
List<LinkedChild>? itemsToRemove = null;
|
||||||
foreach (var linkedChild in folder.LinkedChildren)
|
foreach (var linkedChild in folder.LinkedChildren)
|
||||||
{
|
{
|
||||||
if (!File.Exists(folder.Path))
|
if (!File.Exists(folder.Path))
|
||||||
|
|||||||
Reference in New Issue
Block a user