mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-03 12:23:27 +02:00
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
This commit is contained in:
parent
61a49e94c4
commit
bce45992d9
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue