feat(import): search all providers in parallel with a license filter
The import page searches Openverse and the Internet Archive at the same time and lists each source's results as they arrive, with a Quelle column. A multiselect dropdown picks the licenses: Openverse filters on its server, the Internet Archive after the search. Provider texts are translated, and the unused bearer token support is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c3c698aa93
commit
8d1790d164
9 files changed
+268
-101
No files matched your search
@@ -7,8 +7,7 @@ public interface IMusicProvider
|
||||
{
|
||||
string Name { get; }
|
||||
|
||||
bool IsAvailable => true;
|
||||
|
||||
// licenses: LicenseType codes to keep; null = all.
|
||||
/// <exception cref="MusicProviderException">Search failed.</exception>
|
||||
Task<IReadOnlyList<MusicTrack>> SearchAsync(string query, CancellationToken cancellationToken = default);
|
||||
Task<IReadOnlyList<MusicTrack>> SearchAsync(string query, IReadOnlySet<string>? licenses = null, CancellationToken cancellationToken = default);
|
||||
}
|
||||
Reference in new issue
Block a user