* more cancellation tokens and fixes * so much cancellation token * fix mysql playout builds
28 lines
1.5 KiB
C#
28 lines
1.5 KiB
C#
using ErsatzTV.Core.Domain;
|
|
|
|
namespace ErsatzTV.Scanner.Core.Interfaces.Metadata;
|
|
|
|
public interface ILocalMetadataProvider
|
|
{
|
|
Task<ShowMetadata> GetMetadataForShow(string showFolder);
|
|
Task<ArtistMetadata> GetMetadataForArtist(string artistFolder);
|
|
Task<bool> RefreshSidecarMetadata(Movie movie, string nfoFileName);
|
|
Task<bool> RefreshSidecarMetadata(Show televisionShow, string nfoFileName);
|
|
Task<bool> RefreshSidecarMetadata(Episode episode, string nfoFileName);
|
|
Task<bool> RefreshSidecarMetadata(Artist artist, string nfoFileName);
|
|
Task<bool> RefreshSidecarMetadata(MusicVideo musicVideo, string nfoFileName);
|
|
Task<bool> RefreshSidecarMetadata(OtherVideo otherVideo, string nfoFileName);
|
|
Task<bool> RefreshTagMetadata(Song song);
|
|
Task<bool> RefreshTagMetadata(Image image, double? durationSeconds);
|
|
Task<bool> RefreshTagMetadata(RemoteStream remoteStream, CancellationToken cancellationToken);
|
|
Task<bool> RefreshFallbackMetadata(Movie movie);
|
|
Task<bool> RefreshFallbackMetadata(Episode episode);
|
|
Task<bool> RefreshFallbackMetadata(Artist artist, string artistFolder);
|
|
Task<bool> RefreshFallbackMetadata(MusicVideo musicVideo);
|
|
Task<bool> RefreshFallbackMetadata(OtherVideo otherVideo);
|
|
Task<bool> RefreshFallbackMetadata(Song song);
|
|
Task<bool> RefreshFallbackMetadata(Image image);
|
|
Task<bool> RefreshFallbackMetadata(RemoteStream remoteStream, CancellationToken cancellationToken);
|
|
Task<bool> RefreshFallbackMetadata(Show televisionShow, string showFolder);
|
|
}
|