support external subtitles (#745)

* support external subtitles in local movie libraries

* code cleanup

* simplify subtitle updating

* skip external subtitles from media servers

* fix plex subtitles
This commit is contained in:
Jason Dove
2022-04-20 15:54:53 -05:00
committed by GitHub
parent d755d0ae29
commit 3713711864
47 changed files with 12876 additions and 449 deletions
@@ -9,6 +9,7 @@ public interface ILocalFileSystem
bool IsLibraryPathAccessible(LibraryPath libraryPath);
IEnumerable<string> ListSubdirectories(string folder);
IEnumerable<string> ListFiles(string folder);
IEnumerable<string> ListFiles(string folder, string searchPattern);
bool FileExists(string path);
bool FolderExists(string folder);
Task<Either<BaseError, Unit>> CopyFile(string source, string destination);