mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2020-02-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.BROWSER_PATH' field to the database. * Incremented the database version to 314. * Added a 'Web Browser' control to the 'Edit Host' dialog in rdadmin(1). * Added a MusicBrainz record lookup button to the full disc ripper in rdlibrary(1). * Added a MusicBrainz record lookup button to the disc track ripper in rdlibrary(1).
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
|
||||
#include "rdmblookup.h"
|
||||
|
||||
#include "../icons/musicbrainz-159x25.xpm"
|
||||
|
||||
QString err_str="OK";
|
||||
RDDiscLookup::Result result_code=RDDiscLookup::ExactMatch;
|
||||
|
||||
@@ -57,6 +59,22 @@ QString RDMbLookup::sourceName() const
|
||||
}
|
||||
|
||||
|
||||
QPixmap RDMbLookup::sourceLogo() const
|
||||
{
|
||||
return QPixmap(musicbrainz_159x25_xpm);
|
||||
}
|
||||
|
||||
|
||||
QString RDMbLookup::sourceUrl() const
|
||||
{
|
||||
if(discRecord()->discReleaseMbId().isEmpty()) {
|
||||
return QString();
|
||||
}
|
||||
return "https://"+rda->libraryConf()->mbServer()+"/release/"+
|
||||
discRecord()->discReleaseMbId();
|
||||
}
|
||||
|
||||
|
||||
void RDMbLookup::lookupRecord()
|
||||
{
|
||||
MusicBrainz5::CQuery
|
||||
|
Reference in New Issue
Block a user