mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 22:20:21 +00:00
24 lines
No EOL
1.2 KiB
C#
24 lines
No EOL
1.2 KiB
C#
using Roadie.Library.MetaData.Audio;
|
|
using Roadie.Library.SearchEngines.MetaData;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Roadie.Library.Engines
|
|
{
|
|
public interface IReleaseLookupEngine
|
|
{
|
|
IEnumerable<int> AddedReleaseIds { get; }
|
|
IEnumerable<int> AddedTrackIds { get; }
|
|
|
|
IReleaseSearchEngine DiscogsReleaseSearchEngine { get; }
|
|
IReleaseSearchEngine ITunesReleaseSearchEngine { get; }
|
|
IReleaseSearchEngine LastFmReleaseSearchEngine { get; }
|
|
IReleaseSearchEngine MusicBrainzReleaseSearchEngine { get; }
|
|
IReleaseSearchEngine SpotifyReleaseSearchEngine { get; }
|
|
IReleaseSearchEngine WikipediaReleaseSearchEngine { get; }
|
|
|
|
Task<OperationResult<Data.Release>> GetByName(Data.Artist artist, AudioMetaData metaData, bool doFindIfNotInDatabase = false, bool doAddTracksInDatabase = false, int? submissionId = null);
|
|
Task<OperationResult<Data.Release>> Add(Data.Release release, bool doAddTracksInDatabase = false);
|
|
Task<OperationResult<Data.Release>> PerformMetaDataProvidersReleaseSearch(AudioMetaData metaData, string artistFolder = null, int? submissionId = null);
|
|
}
|
|
} |