mirror of
https://github.com/sphildreth/roadie
synced 2024-11-23 04:33:16 +00:00
25 lines
No EOL
1.1 KiB
C#
25 lines
No EOL
1.1 KiB
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Roadie.Library.Data;
|
|
using Roadie.Library.MetaData.Audio;
|
|
using Roadie.Library.SearchEngines.Imaging;
|
|
using Roadie.Library.SearchEngines.MetaData;
|
|
|
|
namespace Roadie.Library.Engines
|
|
{
|
|
public interface IArtistLookupEngine
|
|
{
|
|
IEnumerable<int> AddedArtistIds { get; }
|
|
IArtistSearchEngine DiscogsArtistSearchEngine { get; }
|
|
IArtistSearchEngine ITunesArtistSearchEngine { get; }
|
|
IArtistSearchEngine LastFmArtistSearchEngine { get; }
|
|
IArtistSearchEngine MusicBrainzArtistSearchEngine { get; }
|
|
IArtistSearchEngine SpotifyArtistSearchEngine { get; }
|
|
IArtistSearchEngine WikipediaArtistSearchEngine { get; }
|
|
|
|
Task<OperationResult<Artist>> Add(Artist artist);
|
|
Task<OperationResult<Artist>> GetByName(AudioMetaData metaData, bool doFindIfNotInDatabase = false);
|
|
Task<OperationResult<Artist>> PerformMetaDataProvidersArtistSearch(AudioMetaData metaData);
|
|
Artist DatabaseQueryForArtistName(string name, string sortName = null);
|
|
}
|
|
} |