mirror of
https://github.com/sphildreth/roadie
synced 2024-11-23 04:33:16 +00:00
24 lines
916 B
C#
24 lines
916 B
C#
|
using Roadie.Library.Data;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Roadie.Library.Factories
|
|||
|
{
|
|||
|
public interface IArtistFactory
|
|||
|
{
|
|||
|
Task<OperationResult<bool>> Delete(Artist Artist);
|
|||
|
|
|||
|
Task<OperationResult<bool>> Delete(Guid RoadieId);
|
|||
|
|
|||
|
OperationResult<Artist> GetByExternalIds(string musicBrainzId = null, string iTunesId = null, string amgId = null, string spotifyId = null);
|
|||
|
|
|||
|
Task<OperationResult<Artist>> MergeArtists(Artist ArtistToMerge, Artist artistToMergeInto, bool doDbUpdates = false);
|
|||
|
|
|||
|
Task<OperationResult<bool>> RefreshArtistMetadata(Guid ArtistId);
|
|||
|
|
|||
|
Task<OperationResult<bool>> ScanArtistReleasesFolders(Guid artistId, string destinationFolder, bool doJustInfo);
|
|||
|
|
|||
|
Task<OperationResult<Artist>> Update(Artist Artist, IEnumerable<Image> ArtistImages, string destinationFolder = null);
|
|||
|
}
|
|||
|
}
|