Miam-Player  0.8.0
A nice music player
acoustid.h
Go to the documentation of this file.
1 #ifndef ACOUSTID_H
2 #define ACOUSTID_H
3 
5 #include "qchromaprint.h"
6 #include "requestpool.h"
8 
9 #include <QPushButton>
10 
17 class MIAMACOUSTID_LIBRARY AcoustId : public QObject
18 {
19  Q_OBJECT
20 private:
21  static QString _apiKey;
22  static QString _wsAcoustID;
23 
24  RequestPool *_requestPool;
25  QChromaprint *_chromaprint;
26  MatchingRecordsWidget *_matchingRecordsWidget;
27  QPushButton *_analyzeButton;
28 
29 public:
30  explicit AcoustId(QObject *parent = nullptr);
31 
32  virtual ~AcoustId();
33 
34  void start(const QList<QUrl> &tracks);
35 
36 signals:
37  void releaseFound(const MusicBrainz::Release &);
38  void tracksAnalyzed();
39 };
40 
41 #endif // ACOUSTID_H
Definition: matchingrecordswidget.h:10
The RequestPool class is used to limite rate to webservice.
Definition: requestpool.h:17
#define MIAMACOUSTID_LIBRARY
Definition: miamacoustid_global.hpp:8
The QChromaprint class wraps the Chromaprint Library.
Definition: qchromaprint.h:18
The AcoustId class can fetch tags automatically from Webservice.
Definition: acoustid.h:17
The Release class.
Definition: mbrelease.h:74