* hls segmenter wip * log message * close unused transcode sessions after 2 minutes * use frame rate for 2s keyframes in hls segmenter * add frame rate to media version * fix segmenter framerate calculation * automatically restart hls segmenter with next scheduled item * cleanup * update changelog * decrease segmenter start delay
21 lines
665 B
C#
21 lines
665 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ErsatzTV.Core.Domain;
|
|
using LanguageExt;
|
|
|
|
namespace ErsatzTV.Core.Interfaces.Metadata
|
|
{
|
|
public interface ILocalFileSystem
|
|
{
|
|
Unit EnsureFolderExists(string folder);
|
|
DateTime GetLastWriteTime(string path);
|
|
bool IsLibraryPathAccessible(LibraryPath libraryPath);
|
|
IEnumerable<string> ListSubdirectories(string folder);
|
|
IEnumerable<string> ListFiles(string folder);
|
|
bool FileExists(string path);
|
|
Task<Either<BaseError, Unit>> CopyFile(string source, string destination);
|
|
Unit EmptyFolder(string folder);
|
|
}
|
|
}
|