Ignore virtual items and log more info
This commit is contained in:
parent
bb38c90fde
commit
d8bea7b54e
@ -136,6 +136,7 @@ public class QueueManager
|
|||||||
},
|
},
|
||||||
IncludeItemTypes = new BaseItemKind[] { BaseItemKind.Episode },
|
IncludeItemTypes = new BaseItemKind[] { BaseItemKind.Episode },
|
||||||
Recursive = true,
|
Recursive = true,
|
||||||
|
IsVirtualItem = false
|
||||||
};
|
};
|
||||||
|
|
||||||
_logger.LogDebug("Getting items");
|
_logger.LogDebug("Getting items");
|
||||||
@ -174,7 +175,11 @@ public class QueueManager
|
|||||||
|
|
||||||
if (string.IsNullOrEmpty(episode.Path))
|
if (string.IsNullOrEmpty(episode.Path))
|
||||||
{
|
{
|
||||||
_logger.LogWarning("Not queuing episode {Id} as no path was provided by Jellyfin", episode.Id);
|
_logger.LogWarning(
|
||||||
|
"Not queuing episode \"{Name}\" from series \"{Series}\" ({Id}) as no path was provided by Jellyfin",
|
||||||
|
episode.Name,
|
||||||
|
episode.SeriesName,
|
||||||
|
episode.Id);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user