mirror of https://github.com/ErsatzTV/ErsatzTV.git
7 changed files with 130 additions and 147 deletions
@ -1,19 +1,18 @@ |
|||||||
using System.Threading.Tasks; |
using System.Threading.Tasks; |
||||||
using ErsatzTV.Core.Domain; |
using ErsatzTV.Core.Domain; |
||||||
using LanguageExt; |
|
||||||
|
|
||||||
namespace ErsatzTV.Core.Interfaces.Metadata |
namespace ErsatzTV.Core.Interfaces.Metadata |
||||||
{ |
{ |
||||||
public interface ILocalMetadataProvider |
public interface ILocalMetadataProvider |
||||||
{ |
{ |
||||||
Task<ShowMetadata> GetMetadataForShow(string showFolder); |
Task<ShowMetadata> GetMetadataForShow(string showFolder); |
||||||
Task<Option<MusicVideoMetadata>> GetMetadataForMusicVideo(string filePath); |
|
||||||
Task<bool> RefreshSidecarMetadata(Movie movie, string nfoFileName); |
Task<bool> RefreshSidecarMetadata(Movie movie, string nfoFileName); |
||||||
Task<bool> RefreshSidecarMetadata(Show televisionShow, string nfoFileName); |
Task<bool> RefreshSidecarMetadata(Show televisionShow, string nfoFileName); |
||||||
Task<bool> RefreshSidecarMetadata(Episode episode, string nfoFileName); |
Task<bool> RefreshSidecarMetadata(Episode episode, string nfoFileName); |
||||||
Task<bool> RefreshSidecarMetadata(MusicVideo musicVideo, string nfoFileName); |
Task<bool> RefreshSidecarMetadata(MusicVideo musicVideo, string nfoFileName); |
||||||
Task<bool> RefreshFallbackMetadata(Movie movie); |
Task<bool> RefreshFallbackMetadata(Movie movie); |
||||||
Task<bool> RefreshFallbackMetadata(Episode episode); |
Task<bool> RefreshFallbackMetadata(Episode episode); |
||||||
|
Task<bool> RefreshFallbackMetadata(MusicVideo musicVideo); |
||||||
Task<bool> RefreshFallbackMetadata(Show televisionShow, string showFolder); |
Task<bool> RefreshFallbackMetadata(Show televisionShow, string showFolder); |
||||||
} |
} |
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue