24 #include "SoundcloudData.h" 25 #include "Components/Library/AbstractLibrary.h" 26 #include "Utils/Library/Sorting.h" 27 #include "Utils/Pimpl.h" 45 void sig_artists_found(
const ArtistList& artists);
46 void sig_albums_found(
const AlbumList& albums);
50 explicit Library(QObject *parent=
nullptr);
54 void search_artist(
const QString& artist_name);
55 void fetch_tracks_by_artist(int64_t artist_sc_id);
56 void fetch_playlists_by_artist(int64_t artist_sc_id);
59 void get_track_by_id(TrackID track_id,
MetaData& md)
const override;
60 void get_album_by_id(AlbumId album_id,
Album& album)
const override;
61 void get_artist_by_id(ArtistId artist_id,
Artist& artist)
const override;
64 void get_all_artists(
ArtistList& artists)
const override;
67 void get_all_albums(
AlbumList& albums)
const override;
71 int get_num_tracks()
const override;
72 void get_all_tracks(
const QStringList& paths,
MetaDataList& v_md)
const override;
78 void update_track(
const MetaData& md);
79 void update_album(
const Album& album);
84 void apply_artist_and_album_to_md();
88 void artists_fetched(
const ArtistList& artists);
90 void albums_fetched(
const AlbumList& albums);
95 void refresh_artist()
override;
96 void refresh_albums()
override;
97 void refresh_tracks()
override;
101 #endif // LocalLibrary_H ReloadQuality
The ReloadQuality enum.
Definition: LibraryNamespaces.h:47
void refetch() override
Clears all filters and searchstrings and fetches everything again.
Definition: AbstractLibrary.h:41
The Filter class.
Definition: Filter.h:40
The CoverLocation class.
Definition: CoverLocation.h:42
TrackDeletionMode
The TrackDeletionMode enum.
Definition: LibraryNamespaces.h:36
The AlbumList class.
Definition: Album.h:89
ArtistList.
Definition: Artist.h:70
The Album class.
Definition: Album.h:39
Definition: SearchInformation.h:28
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
Definition: AbstractCoverLookup.h:30
The Artist class.
Definition: Artist.h:36
Definition: EngineUtils.h:33