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:
Fred Gleason
2020-02-01 17:17:47 -05:00
parent 32a3e34c6e
commit 8dfd341cdf
32 changed files with 352 additions and 80 deletions

View File

@@ -2,7 +2,7 @@
//
// Abstract a Rivendell Workstation.
//
// (C) Copyright 2002-2018 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -270,6 +270,19 @@ void RDStation::setReportEditorPath(const QString &cmd)
}
QString RDStation::browserPath() const
{
return RDGetSqlValue("STATIONS","NAME",station_name,"BROWSER_PATH").
toString();
}
void RDStation::setBrowserPath(const QString &cmd) const
{
SetRow("BROWSER_PATH",cmd);
}
RDStation::FilterMode RDStation::filterMode() const
{
return (RDStation::FilterMode)RDGetSqlValue("STATIONS","NAME",station_name,