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