2021-02-05 Fred Gleason <fredg@paravelsystems.com>

* Removed the rddiscimport(1) utility.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-02-05 16:08:02 -05:00
parent ca69b9e6e4
commit 200d986549
18 changed files with 5 additions and 2603 deletions

View File

@ -21015,3 +21015,5 @@
model-based API.
2021-02-05 Fred Gleason <fredg@paravelsystems.com>
* Removed vestigal 'LibListview' class from rdairplay(1).
2021-02-05 Fred Gleason <fredg@paravelsystems.com>
* Removed the rddiscimport(1) utility.

View File

@ -3,7 +3,7 @@ dnl
dnl Autoconf configuration for Rivendell.
dnl Use autoconf to process this into a configure script
dnl
dnl (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
dnl (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License version 2 as
@ -574,7 +574,6 @@ AC_CONFIG_FILES([rivendell.spec \
utils/rddbmgr/Makefile \
utils/rddelete/Makefile \
utils/rddgimport/Makefile \
utils/rddiscimport/Makefile \
utils/rdexport/Makefile \
utils/rdgen/Makefile \
utils/rdgpimon/Makefile \

View File

@ -1,7 +1,7 @@
## rivendell.spec.in
##
## The Rivendell Radio Automation System
## Copyright (C) 2002-2020 Fred Gleason <fredg@paravelsystems.com>
## Copyright (C) 2002-2021 Fred Gleason <fredg@paravelsystems.com>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of version 2 of the GNU General Public License as
@ -455,7 +455,6 @@ rm -rf $RPM_BUILD_ROOT
@LOCAL_PREFIX@/bin/rdcatch_copy
@LOCAL_PREFIX@/bin/panel_copy
@LOCAL_PREFIX@/bin/rddgimport
@LOCAL_PREFIX@/bin/rddiscimport
@LOCAL_PREFIX@/share/applications/rivendell-rddgimport.desktop
@LOCAL_PREFIX@/share/applications/rivendell-rddiscimport.desktop

View File

@ -2,7 +2,7 @@
##
## Automake.am for rivendell/utils
##
## (C) Copyright 2002-2016 Fred Gleason <fredg@paravelsystems.com>
## (C) Copyright 2002-2021 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 as
@ -33,7 +33,6 @@ SUBDIRS = $(ALSACONFIG_RD_OPT)\
rddbconfig\
rddbmgr\
rddelete\
rddiscimport\
rdexport\
rdgen\
rdgpimon\

View File

@ -1,68 +0,0 @@
## Makefile.am
##
## (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
## published by the Free Software Foundation.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public
## License along with this program; if not, write to the Free Software
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
##
## Use automake to process this into a Makefile.in
AM_CPPFLAGS = -Wall -DPREFIX=\"$(prefix)\" -I$(top_srcdir)/lib @QT4_CFLAGS@ @MUSICBRAINZ_CFLAGS@ -DQT3_SUPPORT -I/usr/include/Qt3Support
LIBS = -L$(top_srcdir)/lib
MOC = @QT_MOC@
# The dependency for qt's Meta Object Compiler (moc)
moc_%.cpp: %.h
$(MOC) $< -o $@
# I18N Stuff
install-exec-local:
mkdir -p $(DESTDIR)$(prefix)/share/rivendell
cp rddiscimport_*.qm $(DESTDIR)$(prefix)/share/rivendell
uninstall-local:
rm -f $(DESTDIR)$(prefix)/share/rivendell/rddiscimport_*.qm
all:
lupdate-qt4 rddiscimport.pro
lrelease-qt4 rddiscimport.pro
bin_PROGRAMS = rddiscimport
dist_rddiscimport_SOURCES = metalibrary.cpp metalibrary.h\
metarecord.cpp metarecord.h\
rddiscimport.cpp rddiscimport.h
nodist_rddiscimport_SOURCES = moc_rddiscimport.cpp
rddiscimport_LDADD = @LIB_RDLIBS@ @LIBVORBIS@ @QT4_LIBS@ @MUSICBRAINZ_LIBS@ -lQt3Support
EXTRA_DIST = rddiscimport.pro\
rddiscimport_de.ts\
rddiscimport_es.ts\
rddiscimport_fr.ts\
rddiscimport_nb.ts\
rddiscimport_nn.ts\
rddiscimport_pt_BR.ts
CLEANFILES = *~\
*.idb\
*ilk\
*.obj\
*.pdb\
*.qm\
moc_*
MAINTAINERCLEANFILES = *~\
Makefile.in\
moc_*

View File

@ -1,224 +0,0 @@
// metalibrary.cpp
//
// Abstract a library of metadata.
//
// (C) Copyright 2013,2016 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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <stdio.h>
#include <stdlib.h>
#include <rdconf.h>
#include <metalibrary.h>
MetaLibrary::MetaLibrary()
{
}
MetaLibrary::~MetaLibrary()
{
for(unsigned i=0;i<meta_tracks.size();i++) {
delete meta_tracks[i];
}
}
unsigned MetaLibrary::totalTracks()
{
return meta_tracks.size();
}
unsigned MetaLibrary::tracks(const QString &disc_id)
{
unsigned ret=0;
for(unsigned i=0;i<meta_tracks.size();i++) {
if(meta_tracks[i]->discId()==disc_id) {
ret++;
}
}
return ret;
}
MetaRecord *MetaLibrary::track(const QString &disc_id,int track_num)
{
for(unsigned i=0;i<meta_tracks.size();i++) {
if((meta_tracks[i]->discId()==disc_id)&&
(meta_tracks[i]->trackNumber()==track_num)){
return meta_tracks[i];
}
}
return NULL;
}
int MetaLibrary::load(const QString &filename)
{
FILE *f=NULL;
char line[32768];
QStringList f0;
//
// Open Source File
//
if((f=fopen(filename,"r"))==NULL) {
return -1;
}
//
// Load Headers
//
if(fgets(line,32768,f)==NULL) {
fclose(f);
return -1;
}
meta_headers=Split(",",QString(line).lower());
//
// Load Lines
//
while(fgets(line,1024,f)!=NULL) {
f0=Split(",",line);
if(f0.size()==meta_headers.size()) {
LoadLine(f0);
}
}
fclose(f);
return meta_tracks.size();
}
void MetaLibrary::clear()
{
for(unsigned i=0;i<meta_tracks.size();i++) {
delete meta_tracks[i];
}
meta_tracks.clear();
meta_headers.clear();
}
void MetaLibrary::LoadLine(const QStringList fields)
{
MetaRecord *m=new MetaRecord();
meta_tracks.push_back(m);
for(int i=0;i<fields.size();i++) {
if(meta_headers[i]=="disc") {
m->setDiscId(fields[i]);
}
if(meta_headers[i]=="cut") {
m->setTrackNumber(fields[i].toInt()-1);
}
if(meta_headers[i]=="songid") {
m->setSongId(fields[i]);
}
if(meta_headers[i]=="year") {
m->setYear(fields[i].toInt());
}
if(meta_headers[i]=="bpm") {
m->setBeatsPerMinute(fields[i].toInt());
}
if(meta_headers[i]=="title") {
m->setTitle(fields[i]);
}
if(meta_headers[i]=="artist") {
m->setArtist(fields[i]);
}
if(meta_headers[i]=="version") {
m->setVersion(fields[i]);
}
if(meta_headers[i]=="album") {
m->setAlbum(fields[i]);
}
if(meta_headers[i]=="composer") {
m->setComposer(fields[i]);
}
if(meta_headers[i]=="publisher") {
m->setPublisher(fields[i]);
}
if(meta_headers[i]=="client") {
m->setClient(fields[i]);
}
if(meta_headers[i]=="agency") {
m->setAgency(fields[i]);
}
if(meta_headers[i]=="license") {
m->setLicense(fields[i]);
}
if(meta_headers[i]=="recordlabel") {
m->setLabel(fields[i]);
}
if(meta_headers[i]=="isrc") {
m->setIsrc(fields[i]);
}
if(meta_headers[i]=="ending") {
m->setEnding(fields[i]);
}
if(meta_headers[i]=="intro") {
m->setIntroLength(RDSetTimeLength(fields[i]));
}
if(meta_headers[i]=="length") {
m->setLength(RDSetTimeLength(fields[i]));
}
if(meta_headers[i]=="aux3") {
m->setSegueStart(RDSetTimeLength(fields[i]));
}
}
}
QStringList MetaLibrary::Split(const QString &sep,const QString &str)
{
QString buf;
QStringList ret;
bool quoted=false;
for(int i=0;i<str.length();i++) {
switch(str.at(i).toAscii()) {
case ',':
if(quoted) {
buf+=str[i];
}
else {
ret.push_back(buf);
buf="";
}
break;
case '"':
quoted=!quoted;
break;
case '\n':
case '\r':
break;
default:
buf+=str.at(i);
break;
}
}
ret.push_back(buf);
return ret;
}

View File

@ -1,50 +0,0 @@
// metalibrary.h
//
// Abstract a library of metadata.
//
// (C) Copyright 2013,2016 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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#ifndef METALIBRARY_H
#define METALIBRARY_H
#include <vector>
#include <qstring.h>
#include <qstringlist.h>
#include <metarecord.h>
class MetaLibrary
{
public:
MetaLibrary();
~MetaLibrary();
unsigned totalTracks();
unsigned tracks(const QString &disc_id);
MetaRecord *track(const QString &disc_id,int track_num);
int load(const QString &filename);
void clear();
private:
void LoadLine(const QStringList fields);
QStringList Split(const QString &sep,const QString &str);
std::vector<MetaRecord *> meta_tracks;
QStringList meta_headers;
};
#endif // METALIBRARY_H

View File

@ -1,335 +0,0 @@
// metarecord.cpp
//
// Container class for metadata
//
// (C) Copyright 2013,2016 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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <metarecord.h>
MetaRecord::MetaRecord(const QString &disc_id,int track_num)
{
meta_disc_id=disc_id;
meta_track_number=track_num;
}
MetaRecord::MetaRecord()
{
meta_disc_id="";
meta_track_number=0;
}
QString MetaRecord::discId() const
{
return meta_disc_id;
}
void MetaRecord::setDiscId(const QString &disc_id)
{
meta_disc_id=disc_id;
}
int MetaRecord::trackNumber() const
{
return meta_track_number;
}
void MetaRecord::setTrackNumber(int track_num)
{
meta_track_number=track_num;
}
QString MetaRecord::songId() const
{
return meta_song_id;
}
void MetaRecord::setSongId(const QString &str)
{
meta_song_id=str;
}
QString MetaRecord::title() const
{
return meta_title;
}
void MetaRecord::setTitle(const QString &str)
{
meta_title=str;
}
QString MetaRecord::artist() const
{
return meta_artist;
}
void MetaRecord::setArtist(const QString &str)
{
meta_artist=str;
}
QString MetaRecord::version() const
{
return meta_version;
}
void MetaRecord::setVersion(const QString &str)
{
meta_version=str;
}
QString MetaRecord::ending() const
{
return meta_ending;
}
void MetaRecord::setEnding(const QString &str)
{
meta_ending=str;
}
int MetaRecord::introLength() const
{
return meta_intro_length;
}
void MetaRecord::setIntroLength(int msecs)
{
meta_intro_length=msecs;
}
int MetaRecord::length() const
{
return meta_length;
}
void MetaRecord::setLength(int msecs)
{
meta_length=msecs;
}
int MetaRecord::year() const
{
return meta_year;
}
void MetaRecord::setYear(int year)
{
meta_year=year;
}
QString MetaRecord::album() const
{
return meta_album;
}
void MetaRecord::setAlbum(const QString &str)
{
meta_album=str;
}
QString MetaRecord::composer() const
{
return meta_composer;
}
void MetaRecord::setComposer(const QString &str)
{
meta_composer=str;
}
QString MetaRecord::publisher() const
{
return meta_publisher;
}
void MetaRecord::setPublisher(const QString &str)
{
meta_publisher=str;
}
QString MetaRecord::license() const
{
return meta_license;
}
void MetaRecord::setLicense(const QString &str)
{
meta_license=str;
}
QString MetaRecord::label() const
{
return meta_label;
}
void MetaRecord::setLabel(const QString &str)
{
meta_label=str;
}
QString MetaRecord::client() const
{
return meta_client;
}
void MetaRecord::setClient(const QString &str)
{
meta_client=str;
}
QString MetaRecord::agency() const
{
return meta_agency;
}
void MetaRecord::setAgency(const QString &str)
{
meta_agency=str;
}
QString MetaRecord::isrc() const
{
return meta_isrc;
}
void MetaRecord::setIsrc(const QString &str)
{
meta_isrc=str;
}
int MetaRecord::beatsPerMinute() const
{
return meta_beats_per_minute;
}
void MetaRecord::setBeatsPerMinute(int bpm)
{
meta_beats_per_minute=bpm;
}
int MetaRecord::segueStart() const
{
return meta_segue_start;
}
void MetaRecord::setSegueStart(int msec)
{
meta_segue_start=msec;
}
int MetaRecord::segueEnd() const
{
return meta_segue_end;
}
void MetaRecord::setSegueEnd(int msec)
{
meta_segue_end=msec;
}
void MetaRecord::getMetadata(RDWaveData *data,int track_len)
{
data->setTitle(meta_title);
data->setArtist(meta_artist);
data->setReleaseYear(meta_year);
data->setAlbum(meta_album);
data->setLabel(meta_label);
data->setComposer(meta_composer);
data->setPublisher(meta_publisher);
data->setIsrc(meta_isrc);
data->setLicensingOrganization(meta_license);
data->setTalkStartPos(0);
data->setTalkEndPos(meta_intro_length);
if(meta_segue_start>=0) {
data->setSegueStartPos(meta_segue_start);
data->setSegueEndPos(track_len);
}
data->setTmciSongId(meta_song_id);
data->setBeatsPerMinute(meta_beats_per_minute);
if(!meta_ending.isEmpty()) {
data->setEndType((RDWaveData::EndType)((const char *)meta_ending)[0]);
}
}
void MetaRecord::clear()
{
meta_song_id="";
meta_title="";
meta_artist="";
meta_version="";
meta_ending="";
meta_intro_length=0;
meta_length=-1;
meta_year=0;
meta_album="";
meta_composer="";
meta_publisher="";
meta_license="";
meta_label="";
meta_client="";
meta_agency="";
meta_isrc="";
meta_beats_per_minute=0;
meta_segue_start=-1;
meta_segue_end=-1;
}

View File

@ -1,103 +0,0 @@
// metarecord.h
//
// Container class for metadata
//
// (C) Copyright 2013,2016 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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#ifndef METARECORD_H
#define METARECORD_H
#include <qstring.h>
#include <rdwavedata.h>
class MetaRecord
{
public:
MetaRecord(const QString &disc_id,int track_num);
MetaRecord();
QString discId() const;
void setDiscId(const QString &disc_id);
int trackNumber() const;
void setTrackNumber(int track_num);
QString songId() const;
void setSongId(const QString &str);
QString title() const;
void setTitle(const QString &str);
QString artist() const;
void setArtist(const QString &str);
QString version() const;
void setVersion(const QString &str);
QString ending() const;
void setEnding(const QString &str);
int introLength() const;
void setIntroLength(int msecs);
int length() const;
void setLength(int msecs);
int year() const;
void setYear(int year);
QString album() const;
void setAlbum(const QString &str);
QString composer() const;
void setComposer(const QString &str);
QString publisher() const;
void setPublisher(const QString &str);
QString license() const;
void setLicense(const QString &str);
QString label() const;
void setLabel(const QString &str);
QString client() const;
void setClient(const QString &str);
QString agency() const;
void setAgency(const QString &str);
QString isrc() const;
void setIsrc(const QString &str);
int beatsPerMinute() const;
void setBeatsPerMinute(int bpm);
int segueStart() const;
void setSegueStart(int msec);
int segueEnd() const;
void setSegueEnd(int msec);
void getMetadata(RDWaveData *data,int track_len);
void clear();
private:
QString meta_disc_id;
int meta_track_number;
QString meta_song_id;
QString meta_title;
QString meta_artist;
QString meta_version;
QString meta_ending;
int meta_intro_length;
int meta_length;
int meta_year;
QString meta_album;
QString meta_composer;
QString meta_license;
QString meta_publisher;
QString meta_label;
QString meta_client;
QString meta_agency;
QString meta_isrc;
int meta_beats_per_minute;
int meta_segue_start;
int meta_segue_end;
};
#endif // METARECORD_H

View File

@ -1,719 +0,0 @@
// rddiscimport.cpp
//
// A Qt-based application for importing TM Century GoldDisc CDs
//
// (C) Copyright 2013-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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <qapplication.h>
#include <qfiledialog.h>
#include <qmessagebox.h>
#include <qtranslator.h>
#include <rdconf.h>
#include <rdlistviewitem.h>
#include <rdprofile.h>
#include <rdwavedata.h>
#include "rddiscimport.h"
MainWidget::MainWidget(RDConfig *c,QWidget *parent)
: RDWidget(c,parent)
{
QString err_msg;
dg_resize=false;
dg_group=NULL;
//
// Open the Database
//
rda=new RDApplication("RDDiscImport","rddiscimport",RDDISCIMPORT_USAGE,this);
if(!rda->open(&err_msg)) {
QMessageBox::critical(this,"RDDiscImport - "+tr("Error"),err_msg);
exit(1);
}
//
// Read Command Options
//
for(unsigned i=0;i<rda->cmdSwitch()->keys();i++) {
if(!rda->cmdSwitch()->processed(i)) {
QMessageBox::critical(this,"RDDiscImport - "+tr("Error"),
tr("Unknown command option")+": "+
rda->cmdSwitch()->key(i));
exit(2);
}
}
//
// Set Window Size
//
setMinimumSize(sizeHint());
SetCaption();
//
// Get Temporary File
//
dg_tempfile=RDTempFile();
//
// Configuration Elements
//
connect(rda,SIGNAL(userChanged()),this,SLOT(userChangedData()));
rda->ripc()->connectHost("localhost",RIPCD_TCP_PORT,rda->config()->password());
//
// Metadata Index Library
//
dg_metalibrary=new MetaLibrary();
//
// CD Player
//
dg_player=new RDCdPlayer(NULL,this);
connect(dg_player,SIGNAL(mediaChanged()),this,SLOT(mediaChangedData()));
connect(dg_player,SIGNAL(ejected()),this,SLOT(ejectData()));
dg_player->setDevice(rda->libraryConf()->ripperDevice());
dg_ripper=new RDCdRipper(NULL,this);
dg_ripper->setDevice(rda->libraryConf()->ripperDevice());
dg_ripper->setDestinationFile(dg_tempfile);
dg_importer=new RDAudioImport(this);
dg_importer->setSourceFile(dg_tempfile);
dg_importer->setUseMetadata(false);
//
// Index File
//
dg_indexfile_edit=new QLineEdit(this);
dg_indexfile_label=new QLabel(dg_indexfile_edit,tr("Index File")+":",this);
dg_indexfile_label->setFont(labelFont());
dg_indexfile_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
dg_indexfile_button=new QPushButton(tr("Select"),this);
dg_indexfile_button->setFont(buttonFont());
connect(dg_indexfile_button,SIGNAL(clicked()),
this,SLOT(indexFileSelectedData()));
//
// Group List
//
dg_group_box=new QComboBox(this);
dg_group_label=new QLabel(dg_group_box,tr("Destination Group")+":",this);
dg_group_label->setFont(labelFont());
dg_group_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
connect(dg_group_box,SIGNAL(activated(int)),
this,SLOT(groupActivatedData(int)));
//
// User Defined Field
//
dg_userdef_edit=new QLineEdit(this);
dg_userdef_label=new QLabel(dg_userdef_edit,tr("User Defined")+":",this);
dg_userdef_label->setFont(labelFont());
dg_userdef_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
//
// Track List
//
dg_track_list=new RDListView(this);
dg_track_list->setAllColumnsShowFocus(true);
dg_track_list->setItemMargin(5);
dg_track_list->setSelectionMode(Q3ListView::Single);
dg_track_list->setSortColumn(-1);
connect(dg_track_list,
SIGNAL(doubleClicked(Q3ListViewItem *,const QPoint &,int)),
this,
SLOT(trackDoubleClickedData(Q3ListViewItem *,const QPoint &,int)));
dg_track_list->addColumn("#");
dg_track_list->setColumnAlignment(0,Qt::AlignHCenter);
dg_track_list->addColumn(tr("Title"));
dg_track_list->setColumnAlignment(1,Qt::AlignLeft);
dg_track_list->addColumn(tr("Artist"));
dg_track_list->setColumnAlignment(2,Qt::AlignLeft);
dg_track_list->addColumn(tr("Length"));
dg_track_list->setColumnAlignment(3,Qt::AlignRight);
//
// Progress Bars
//
dg_disc_label=new QLabel(tr("Disk Progress"),this);
dg_disc_label->setFont(labelFont());
dg_disc_label->setDisabled(true);
dg_disc_bar=new QProgressBar(this);
dg_disc_bar->setDisabled(true);
dg_track_label=new QLabel(tr("Track Progress"),this);
dg_track_label->setFont(labelFont());
dg_track_label->setDisabled(true);
dg_track_bar=new QProgressBar(this);
dg_track_bar->setMaximum(dg_ripper->totalSteps()+1);
dg_track_bar->setDisabled(true);
connect(dg_ripper,SIGNAL(progressChanged(int)),
dg_track_bar,SLOT(setProgress(int)));
//
// Disc ID
//
dg_discid_edit=new QLineEdit(this);
dg_discid_label=new QLabel(dg_discid_edit,tr("Disc ID")+":",this);
dg_discid_label->setFont(labelFont());
dg_discid_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
connect(dg_discid_edit,SIGNAL(textChanged(const QString &)),
this,SLOT(discIdChangedData(const QString &)));
//
// Rip Button
//
dg_rip_button=new QPushButton(tr("Rip Disc"),this);
dg_rip_button->setFont(buttonFont());
connect(dg_rip_button,SIGNAL(clicked()),this,SLOT(ripData()));
//
// Channels
//
dg_channels_box=new QComboBox(this);
dg_channels_box->insertItem("1");
dg_channels_box->insertItem("2");
dg_channels_box->setCurrentItem(rda->libraryConf()->defaultChannels()-1);
dg_channels_label=new QLabel(dg_channels_box,tr("Channels")+":",this);
dg_channels_label->setFont(labelFont());
dg_channels_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
//
// Autotrim Check Box
//
dg_autotrim_box=new QCheckBox(tr("Autotrim"),this);
dg_autotrim_box->setFont(labelFont());
dg_autotrim_box->setChecked(true);
dg_autotrim_box->setChecked(rda->libraryConf()->trimThreshold()!=0);
connect(dg_autotrim_box,SIGNAL(toggled(bool)),
this,SLOT(autotrimCheckData(bool)));
//
// Autotrim Level
//
dg_autotrim_spin=new QSpinBox(this);
dg_autotrim_spin->setRange(-99,0);
dg_autotrim_spin->setValue(rda->libraryConf()->trimThreshold()/100);
dg_autotrim_label=new QLabel(dg_autotrim_spin,tr("Level")+":",this);
dg_autotrim_label->setFont(labelFont());
dg_autotrim_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
dg_autotrim_unit=new QLabel(tr("dBFS"),this);
dg_autotrim_unit->setFont(labelFont());
dg_autotrim_unit->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
//
// Normalize Check Box
//
dg_normalize_box=new QCheckBox(tr("Normalize"),this);
dg_normalize_box->setFont(labelFont());
dg_normalize_box->setChecked(true);
dg_normalize_box->setChecked(rda->libraryConf()->ripperLevel()!=0);
connect(dg_normalize_box,SIGNAL(toggled(bool)),
this,SLOT(normalizeCheckData(bool)));
//
// Normalize Level
//
dg_normalize_spin=new QSpinBox(this);
dg_normalize_spin->setRange(-30,0);
dg_normalize_spin->setValue(rda->libraryConf()->ripperLevel()/100);
dg_normalize_label=new QLabel(dg_normalize_spin,tr("Level:"),this);
dg_normalize_label->setFont(labelFont());
dg_normalize_label->setAlignment(Qt::AlignRight|Qt::AlignVCenter);
dg_normalize_unit=new QLabel(tr("dBFS"),this);
dg_normalize_unit->setFont(labelFont());
dg_normalize_unit->setAlignment(Qt::AlignLeft|Qt::AlignVCenter);
//
// Eject Button
//
dg_eject_button=new RDTransportButton(RDTransportButton::Eject,this);
connect(dg_eject_button,SIGNAL(clicked()),dg_player,SLOT(eject()));
//
// Close Button
//
dg_close_button=new QPushButton(tr("Close"),this);
dg_close_button->setFont(buttonFont());
connect(dg_close_button,SIGNAL(clicked()),this,SLOT(quitMainWidget()));
LoadConfig();
dg_group=new RDGroup(dg_group_name);
if(!dg_player->open()) {
QMessageBox::warning(this,"RDDiscImport - "+tr("Ripper Error"),
tr("Unable to open CD-ROM device at")+" "+
" \""+rda->libraryConf()->ripperDevice()+"\".");
exit(256);
}
if(dg_metalibrary->load(dg_indexfile_edit->text())&&
(!dg_indexfile_edit->text().isEmpty())<0) {
QMessageBox::warning(this,"RDDiscImport - "+tr("Read Error"),
tr("Unable to read index file!"));
return;
}
dg_resize=true;
}
QSize MainWidget::sizeHint() const
{
return QSize(700,700);
}
void MainWidget::indexFileSelectedData()
{
QString filename;
int lines;
filename=QFileDialog::getOpenFileName(this,"RDDiscImport - "+
tr("Open Index File"),
dg_indexfile_edit->text(),
"CSV files (*.csv);;All files (*.*)");
dg_metalibrary->clear();
if((lines=dg_metalibrary->load(filename))<0) {
QMessageBox::warning(this,"RDDiscImport - "+tr("Read Error"),
tr("Unable to read index file!"));
return;
}
else {
dg_indexfile_edit->setText(filename);
QMessageBox::information(this,"RDDiscImport - "+tr("File Read"),
tr("Loaded")+QString().sprintf(" %d ",lines)+
tr("records."));
}
SaveConfig();
}
void MainWidget::groupActivatedData(int)
{
if(dg_group!=NULL) {
delete dg_group;
}
dg_group=new RDGroup(dg_group_box->currentText());
SaveConfig();
}
void MainWidget::autotrimCheckData(bool state)
{
dg_autotrim_spin->setEnabled(state);
dg_autotrim_label->setEnabled(state);
dg_autotrim_unit->setEnabled(state);
}
void MainWidget::trackDoubleClickedData(Q3ListViewItem *it,const QPoint &pt,
int row)
{
RDListViewItem *item=(RDListViewItem *)it;
if(item->id()) {
item->setTextColor(Qt::gray);
item->setId(false);
dg_rip_enableds[item->text(0).toInt()-1]=false;
}
else {
item->setTextColor(Qt::black);
item->setId(true);
dg_rip_enableds[item->text(0).toInt()-1]=true;
}
}
void MainWidget::normalizeCheckData(bool state)
{
dg_normalize_spin->setEnabled(state);
dg_normalize_label->setEnabled(state);
dg_normalize_unit->setEnabled(state);
}
void MainWidget::mediaChangedData()
{
dg_rip_enableds.clear();
dg_track_list->clear();
for(int i=(dg_player->tracks()-1);i>=0;i--) {
dg_rip_enableds.push_back(false);
RDListViewItem *item=new RDListViewItem(dg_track_list);
item->setId(false);
item->setTextColor(Qt::gray);
item->setText(0,QString().sprintf("%d",i+1));
item->setText(1,tr("Track")+QString().sprintf(" %d",i+1));
item->setText(3,RDGetTimeLength(dg_player->trackLength(i+1),false,false));
}
dg_discid_label->setDisabled(dg_player->tracks()==0);
dg_discid_edit->setDisabled(dg_player->tracks()==0);
}
void MainWidget::discIdChangedData(const QString &str)
{
MetaRecord *meta=NULL;
RDListViewItem *item=NULL;
bool matched=false;
item=(RDListViewItem *)dg_track_list->firstChild();
while(item!=NULL) {
if((meta=dg_metalibrary->track(str,item->text(0).toInt()-1))==NULL) {
item->setText(1,tr("Track")+
QString().sprintf(" %d",item->text(0).toInt()));
item->setText(2,"");
item->setTextColor(Qt::gray);
item->setId(false);
dg_rip_enableds[item->text(0).toInt()-1]=false;
}
else {
item->setText(1,meta->title());
item->setText(2,meta->artist());
item->setTextColor(Qt::black);
item->setId(true);
dg_rip_enableds[item->text(0).toInt()-1]=true;
matched=true;
}
item=(RDListViewItem *)item->nextSibling();
}
dg_rip_button->setEnabled(matched);
}
void MainWidget::ripData()
{
RDCart *cart=NULL;
RDCut *cut=NULL;
RDWaveData *data=NULL;
unsigned cartnum;
RDAudioImport::ErrorCode import_err;
RDAudioConvert::ErrorCode conv_err;
QString err_msg;
//
// Sanity Checks
//
if(dg_group->freeCartQuantity()<dg_player->tracks()) {
QMessageBox::warning(this,"RDDiscImport - "+tr("Ripper Error"),
tr("There are insufficient free cart numbers available in the")+
"\""+dg_group->name()+"\" "+tr("group")+"!");
return;
}
//
// Lock Down the GUI
//
LockGui(false);
//
// Load Importer Settings
//
RDSettings *s=new RDSettings();
if(rda->libraryConf()->defaultFormat()==1) {
s->setFormat(RDSettings::MpegL2Wav);
}
else {
s->setFormat(RDSettings::Pcm16);
}
s->setChannels(dg_channels_box->currentItem()+1);
s->setSampleRate(rda->system()->sampleRate());
s->setBitRate(rda->libraryConf()->defaultBitrate());
if(dg_normalize_box->isChecked()) {
s->setNormalizationLevel(dg_normalize_spin->value());
}
if(dg_autotrim_box->isChecked()) {
s->setAutotrimLevel(dg_autotrim_spin->value());
}
dg_importer->setDestinationSettings(s);
//
// Rip and Import
//
dg_disc_bar->setMaximum(dg_player->tracks());
for(int i=0;i<dg_player->tracks();i++) {
if(dg_rip_enableds[i]) {
MetaRecord *r=dg_metalibrary->track(dg_discid_edit->text(),i);
if(r!=NULL) {
dg_disc_bar->setValue(i);
dg_track_label->setText(QString().sprintf("Track %d: ",i+1)+
r->title()+" - "+r->artist());
dg_ripper->rip(i);
if((cartnum=RDCart::create(dg_group->name(),RDCart::Audio,
&err_msg))==0) {
QMessageBox::warning(this,"RDDiscImport - "+tr("Error"),err_msg);
return;
}
cart=new RDCart(cartnum);
cart->addCut(rda->libraryConf()->defaultFormat(),
rda->libraryConf()->defaultBitrate(),
dg_channels_box->currentItem()+1,"",r->discId());
cut=new RDCut(cartnum,1);
dg_importer->setCartNumber(cartnum);
dg_importer->setCutNumber(1);
if((import_err=dg_importer->
runImport(rda->user()->name(),rda->user()->password(),&conv_err))==
RDAudioImport::ErrorOk) {
data=new RDWaveData();
r->getMetadata(data,dg_player->trackLength(i+1));
if(!dg_autotrim_box->isChecked()) {
data->setStartPos(0);
data->setEndPos(dg_player->trackLength(i+1));
}
data->setUserDefined(dg_userdef_edit->text().
replace("%d",dg_discid_edit->text()).
replace("%t",QString().sprintf("%d",i+1)));
cart->setMetadata(data);
cut->setMetadata(data);
delete data;
}
else {
QMessageBox::warning(this,"RDDiscImport - "+tr("Import Error"),
tr("Unable to import track audio!")+"\n"+
"["+
RDAudioImport::errorText(import_err,conv_err)+
"].");
return;
}
delete cut;
delete cart;
}
}
}
delete s;
//
// Reset Progress Bars
//
dg_disc_bar->reset();
dg_track_bar->reset();
//
// Unlock the GUI
//
LockGui(true);
dg_player->eject();
qApp->processEvents();
QMessageBox::information(this,"RDDiscImport - "+tr("Ripper Status"),
tr("Rip Complete!"));
}
void MainWidget::ejectData()
{
dg_track_list->clear();
dg_discid_label->setDisabled(true);
dg_discid_edit->setDisabled(true);
dg_discid_edit->clear();
dg_rip_button->setDisabled(true);
}
void MainWidget::userChangedData()
{
QStringList groups;
dg_group_box->clear();
groups=rda->user()->groups();
for(int i=0;i<groups.size();i++) {
dg_group_box->insertItem(groups[i]);
if(dg_group_name==groups[i]) {
dg_group_box->setCurrentItem(i);
}
}
SetCaption();
}
void MainWidget::quitMainWidget()
{
if(dg_close_button->isEnabled()) {
SaveConfig();
unlink(dg_tempfile);
qApp->quit();
}
}
void MainWidget::resizeEvent(QResizeEvent *e)
{
if(dg_resize) {
dg_indexfile_label->setGeometry(10,10,115,20);
dg_indexfile_edit->setGeometry(130,10,size().width()-220,20);
dg_indexfile_button->setGeometry(size().width()-70,7,60,26);
dg_group_label->setGeometry(10,40,115,20);
dg_group_box->setGeometry(130,40,200,20);
dg_userdef_label->setGeometry(350,40,95,20);
dg_userdef_edit->setGeometry(450,40,size().width()-460,20);
dg_track_list->setGeometry(10,72,size().width()-20,size().height()-232);
dg_disc_label->setGeometry(15,size().height()-157,size().width()-20,20);
dg_disc_bar->setGeometry(10,size().height()-140,size().width()-20,20);
dg_track_label->setGeometry(15,size().height()-117,size().width()-20,20);
dg_track_bar->setGeometry(10,size().height()-100,size().width()-20,20);
dg_discid_label->setGeometry(10,size().height()-70,60,20);
dg_discid_edit->setGeometry(75,size().height()-70,60,20);
dg_rip_button->setGeometry(10,size().height()-43,130,30);
dg_channels_box->setGeometry(340,size().height()-75,50,20);
dg_channels_label->setGeometry(250,size().height()-75,75,20);
dg_autotrim_box->setGeometry(200,size().height()-48,80,15);
dg_autotrim_spin->setGeometry(340,size().height()-50,40,20);
dg_autotrim_label->setGeometry(290,size().height()-50,45,20);
dg_autotrim_unit->setGeometry(385,size().height()-50,40,20);
dg_normalize_box->setGeometry(200,size().height()-21,113,15);
dg_normalize_spin->setGeometry(340,size().height()-23,40,20);
dg_normalize_label->setGeometry(290,size().height()-23,45,20);
dg_normalize_unit->setGeometry(385,size().height()-23,40,20);
dg_eject_button->setGeometry(size().width()-200,size().height()-60,80,50);
dg_close_button->setGeometry(size().width()-90,size().height()-60,80,50);
}
}
void MainWidget::LockGui(bool state)
{
dg_indexfile_edit->setEnabled(state);
dg_indexfile_button->setEnabled(state);
dg_group_box->setEnabled(state);
dg_disc_label->setDisabled(state);
dg_disc_bar->setDisabled(state);
dg_track_label->setDisabled(state);
dg_track_bar->setDisabled(state);
dg_discid_edit->setEnabled(state);
dg_eject_button->setEnabled(state);
dg_channels_box->setEnabled(state);
if(state) {
dg_autotrim_box->setEnabled(true);
if(dg_autotrim_box->isChecked()) {
dg_autotrim_spin->setEnabled(true);
}
dg_normalize_box->setEnabled(true);
if(dg_normalize_box->isChecked()) {
dg_normalize_spin->setDisabled(true);
}
}
else {
dg_autotrim_box->setDisabled(true);
dg_autotrim_spin->setDisabled(true);
dg_normalize_box->setDisabled(true);
dg_normalize_spin->setDisabled(true);
}
dg_rip_button->setEnabled(state);
dg_close_button->setEnabled(state);
}
void MainWidget::SetCaption()
{
QString username=tr("[unknown]");
username=rda->user()->name();
setCaption(tr("RDDiscImport")+" v"+VERSION+" "+tr("User")+": "+username);
}
void MainWidget::LoadConfig()
{
RDProfile *p=new RDProfile();
p->setSource(RDHomeDir()+"/.rddiscimportrc");
dg_indexfile_edit->setText(p->stringValue("RDDiscImport","IndexFile"));
dg_group_name=p->stringValue("RDDiscImport","Group");
dg_userdef_edit->setText(p->stringValue("RDDiscImport","UserDefTemplate",
"Ripped from disc %d track %t"));
delete p;
}
void MainWidget::SaveConfig()
{
FILE *f=NULL;
if((f=fopen(RDHomeDir()+"/.rddiscimportrc","w"))==NULL) {
return;
}
fprintf(f,"[RDDiscImport]\n");
fprintf(f,"IndexFile=%s\n",(const char *)dg_indexfile_edit->text());
fprintf(f,"Group=%s\n",(const char *)dg_group_box->currentText());
fprintf(f,"UserDefTemplate=%s\n",(const char *)dg_userdef_edit->text());
dg_group_name=dg_group_box->currentText();
fclose(f);
}
int main(int argc,char *argv[])
{
QApplication::setStyle(RD_GUI_STYLE);
QApplication a(argc,argv);
//
// Load Translations
//
QTranslator qt(0);
qt.load(QString("/usr/share/qt4/translations/qt_")+QTextCodec::locale(),
".");
a.installTranslator(&qt);
QTranslator rd(0);
rd.load(QString(PREFIX)+QString("/share/rivendell/librd_")+
QTextCodec::locale(),".");
a.installTranslator(&rd);
QTranslator rdhpi(0);
rdhpi.load(QString(PREFIX)+QString("/share/rivendell/librdhpi_")+
QTextCodec::locale(),".");
a.installTranslator(&rdhpi);
QTranslator tr(0);
tr.load(QString(PREFIX)+QString("/share/rivendell/rddiscimport_")+
QTextCodec::locale(),".");
a.installTranslator(&tr);
//
// Start Event Loop
//
RDConfig *config=new RDConfig();
config->load();
MainWidget *w=new MainWidget(config);
a.setMainWidget(w);
w->setGeometry(QRect(QPoint(0,0),w->sizeHint()));
w->show();
return a.exec();
}

View File

@ -1,111 +0,0 @@
// rddiscimport.h
//
// A Qt-based application for importing TM Century GoldDisc CDs
//
// (C) Copyright 2013-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
// published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#ifndef RDDISCIMPORT_H
#define RDDISCIMPORT_H
#include <qcheckbox.h>
#include <qcombobox.h>
#include <qlabel.h>
#include <qlineedit.h>
#include <qprogressbar.h>
#include <qspinbox.h>
#include <rdaudioimport.h>
#include <rdcdplayer.h>
#include <rdcdripper.h>
#include <rdgroup.h>
#include <rdlistview.h>
#include <rdtransportbutton.h>
#include <rdwidget.h>
#include "metalibrary.h"
#define RDDISCIMPORT_USAGE "\n"
class MainWidget : public RDWidget
{
Q_OBJECT
public:
MainWidget(RDConfig *c,QWidget *parent=0);
QSize sizeHint() const;
private slots:
void indexFileSelectedData();
void groupActivatedData(int);
void autotrimCheckData(bool state);
void trackDoubleClickedData(Q3ListViewItem *item,const QPoint &pt,int row);
void ripData();
void normalizeCheckData(bool state);
void mediaChangedData();
void discIdChangedData(const QString &str);
void ejectData();
void userChangedData();
void quitMainWidget();
protected:
void resizeEvent(QResizeEvent *e);
private:
void LockGui(bool state);
void SetCaption();
void LoadConfig();
void SaveConfig();
QLabel *dg_indexfile_label;
QLineEdit *dg_indexfile_edit;
QPushButton *dg_indexfile_button;
QLabel *dg_group_label;
QComboBox *dg_group_box;
QLabel *dg_userdef_label;
QLineEdit *dg_userdef_edit;
RDListView *dg_track_list;
QLabel *dg_disc_label;
QProgressBar *dg_disc_bar;
QLabel *dg_track_label;
QProgressBar *dg_track_bar;
QLabel *dg_discid_label;
QLineEdit *dg_discid_edit;
QPushButton *dg_rip_button;
QLabel *dg_channels_label;
QComboBox *dg_channels_box;
QLabel *dg_autotrim_label;
QCheckBox *dg_autotrim_box;
QSpinBox *dg_autotrim_spin;
QLabel *dg_autotrim_unit;
QLabel *dg_normalize_label;
QCheckBox *dg_normalize_box;
QSpinBox *dg_normalize_spin;
QLabel *dg_normalize_unit;
RDTransportButton *dg_eject_button;
QPushButton *dg_close_button;
MetaLibrary *dg_metalibrary;
RDCdPlayer *dg_player;
RDCdRipper *dg_ripper;
RDAudioImport *dg_importer;
RDGroup *dg_group;
QString dg_group_name;
QString dg_tempfile;
std::vector<bool> dg_rip_enableds;
bool dg_resize;
};
#endif // RDDISCIMPORT_H

View File

@ -1,33 +0,0 @@
# utils.pro
#
# The utils/ QMake project file for Rivendell
#
# (C) Copyright 2003-2006,2016 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
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
SOURCES += metalibrary.cpp
SOURCES += metarecord.cpp
SOURCES += rddiscimport.cpp
HEADERS += metalibrary.h
HEADERS += metarecord.h
HEADERS += rddiscimport.h
TRANSLATIONS += rddiscimport_de.ts
TRANSLATIONS += rddiscimport_es.ts
TRANSLATIONS += rddiscimport_fr.ts
TRANSLATIONS += rddiscimport_nb.ts
TRANSLATIONS += rddiscimport_nn.ts
TRANSLATIONS += rddiscimport_pt_BR.ts

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View File

@ -1,159 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>MainWidget</name>
<message>
<source>Ripper Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Index File</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Destination Group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disk Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track Progress</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disc ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Disc</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Channels</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autotrim</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>dBFS</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Normalize</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Level:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Read Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to read index file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>There are insufficient free cart numbers available in the</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>group</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Ripper Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Rip Complete!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>File Read</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>records.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Track</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>[unknown]</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>RDDiscImport</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Import Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to import track audio!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Length</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>User Defined</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unable to open CD-ROM device at</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unknown command option</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open Index File</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>