Minor code fixes (cvium)
This commit is contained in:
parent
619d1d47f2
commit
a2a144869d
|
@ -91,7 +91,7 @@ public class TrickplayImagesTask : IScheduledTask
|
|||
while (startIndex < numberOfVideos)
|
||||
{
|
||||
query.StartIndex = startIndex;
|
||||
var videos = _libraryManager.GetItemList(query).OfType<Video>().ToList();
|
||||
var videos = _libraryManager.GetItemList(query).OfType<Video>();
|
||||
|
||||
foreach (var video in videos)
|
||||
{
|
||||
|
|
|
@ -247,7 +247,7 @@ public class TrickplayManager : ITrickplayManager
|
|||
/*
|
||||
* Move trickplay tiles to output directory
|
||||
*/
|
||||
Directory.CreateDirectory(outputDir);
|
||||
Directory.CreateDirectory(Directory.GetParent(outputDir)!.FullName);
|
||||
|
||||
// Replace existing tile grids if they already exist
|
||||
if (Directory.Exists(outputDir))
|
||||
|
|
Loading…
Reference in New Issue
Block a user