2010-11-06 23:04:47 +01:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// LameXP - Audio Encoder Front-End
|
2014-01-01 17:05:52 +01:00
|
|
|
// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
|
2010-11-06 23:04:47 +01:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation; either version 2 of the License, or
|
2013-10-23 20:56:57 +02:00
|
|
|
// (at your option) any later version, but always including the *additional*
|
|
|
|
// restrictions defined in the "License.txt" file.
|
2010-11-06 23:04:47 +01:00
|
|
|
//
|
|
|
|
// 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.,
|
|
|
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
//
|
|
|
|
// http://www.gnu.org/licenses/gpl-2.0.txt
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "Thread_FileAnalyzer.h"
|
|
|
|
|
|
|
|
#include "Global.h"
|
|
|
|
#include "LockedFile.h"
|
|
|
|
#include "Model_AudioFile.h"
|
2012-05-04 04:01:10 +02:00
|
|
|
#include "Thread_FileAnalyzer_Task.h"
|
2013-10-06 19:26:08 +02:00
|
|
|
#include "PlaylistImporter.h"
|
2010-11-06 23:04:47 +01:00
|
|
|
|
|
|
|
#include <QDir>
|
|
|
|
#include <QFileInfo>
|
|
|
|
#include <QProcess>
|
|
|
|
#include <QDate>
|
|
|
|
#include <QTime>
|
2010-11-22 21:45:00 +01:00
|
|
|
#include <QDebug>
|
2011-11-19 14:06:39 +01:00
|
|
|
#include <QImage>
|
2012-05-04 04:01:10 +02:00
|
|
|
#include <QThreadPool>
|
2012-05-05 03:55:27 +02:00
|
|
|
#include <QTime>
|
2013-10-06 19:26:08 +02:00
|
|
|
#include <QElapsedTimer>
|
|
|
|
#include <QTimer>
|
2013-10-25 00:48:18 +02:00
|
|
|
#include <QQueue>
|
|
|
|
|
|
|
|
//Insert into QStringList *without* duplicates
|
|
|
|
static inline void SAFE_APPEND_STRING(QStringList &list, const QString &str)
|
|
|
|
{
|
|
|
|
if(!list.contains(str, Qt::CaseInsensitive))
|
|
|
|
{
|
|
|
|
list << str;
|
|
|
|
}
|
|
|
|
}
|
2012-01-14 01:11:58 +01:00
|
|
|
|
2010-11-06 23:04:47 +01:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Constructor
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
FileAnalyzer::FileAnalyzer(const QStringList &inputFiles)
|
2010-12-18 15:15:17 +01:00
|
|
|
:
|
2013-10-06 19:26:08 +02:00
|
|
|
m_tasksCounterNext(0),
|
|
|
|
m_tasksCounterDone(0),
|
2010-12-18 15:15:17 +01:00
|
|
|
m_inputFiles(inputFiles),
|
2013-10-06 19:26:08 +02:00
|
|
|
m_templateFile(NULL),
|
|
|
|
m_pool(NULL)
|
2010-11-06 23:04:47 +01:00
|
|
|
{
|
|
|
|
m_bSuccess = false;
|
2011-05-16 21:02:24 +02:00
|
|
|
m_bAborted = false;
|
2013-10-06 19:26:08 +02:00
|
|
|
|
|
|
|
m_filesAccepted = 0;
|
|
|
|
m_filesRejected = 0;
|
|
|
|
m_filesDenied = 0;
|
|
|
|
m_filesDummyCDDA = 0;
|
|
|
|
m_filesCueSheet = 0;
|
|
|
|
|
|
|
|
m_timer = new QElapsedTimer;
|
2010-11-06 23:04:47 +01:00
|
|
|
}
|
|
|
|
|
2012-01-14 01:11:58 +01:00
|
|
|
FileAnalyzer::~FileAnalyzer(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
if(!m_pool->waitForDone(2500))
|
|
|
|
{
|
|
|
|
qWarning("There are still running tasks in the thread pool!");
|
|
|
|
}
|
|
|
|
|
2013-11-01 19:34:27 +01:00
|
|
|
LAMEXP_DELETE(m_templateFile);
|
2013-10-06 19:26:08 +02:00
|
|
|
LAMEXP_DELETE(m_pool);
|
|
|
|
LAMEXP_DELETE(m_timer);
|
2012-01-14 01:11:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Static data
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
const char *FileAnalyzer::g_tags_gen[] =
|
|
|
|
{
|
2012-01-14 20:28:43 +01:00
|
|
|
"ID",
|
2012-01-14 01:11:58 +01:00
|
|
|
"Format",
|
|
|
|
"Format_Profile",
|
|
|
|
"Format_Version",
|
|
|
|
"Duration",
|
|
|
|
"Title", "Track",
|
|
|
|
"Track/Position",
|
|
|
|
"Artist", "Performer",
|
|
|
|
"Album",
|
|
|
|
"Genre",
|
|
|
|
"Released_Date", "Recorded_Date",
|
|
|
|
"Comment",
|
|
|
|
"Cover",
|
|
|
|
"Cover_Type",
|
|
|
|
"Cover_Mime",
|
|
|
|
"Cover_Data",
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
|
|
|
const char *FileAnalyzer::g_tags_aud[] =
|
|
|
|
{
|
2012-01-14 20:28:43 +01:00
|
|
|
"ID",
|
2012-04-20 22:39:19 +02:00
|
|
|
"Source",
|
2012-01-14 01:11:58 +01:00
|
|
|
"Format",
|
|
|
|
"Format_Profile",
|
|
|
|
"Format_Version",
|
|
|
|
"Channel(s)",
|
|
|
|
"SamplingRate",
|
2012-03-08 01:34:00 +01:00
|
|
|
"BitDepth",
|
2012-01-14 01:11:58 +01:00
|
|
|
"BitRate",
|
|
|
|
"BitRate_Mode",
|
2012-08-01 00:17:12 +02:00
|
|
|
"Encoded_Library",
|
2012-01-14 01:11:58 +01:00
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2010-11-06 23:04:47 +01:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Thread Main
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
void FileAnalyzer::run()
|
|
|
|
{
|
2012-05-06 04:57:00 +02:00
|
|
|
m_bSuccess = false;
|
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
m_tasksCounterNext = 0;
|
|
|
|
m_tasksCounterDone = 0;
|
|
|
|
m_completedCounter = 0;
|
2012-05-06 04:57:00 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
m_completedFiles.clear();
|
|
|
|
m_completedTaskIds.clear();
|
|
|
|
m_runningTaskIds.clear();
|
|
|
|
|
|
|
|
m_filesAccepted = 0;
|
|
|
|
m_filesRejected = 0;
|
|
|
|
m_filesDenied = 0;
|
|
|
|
m_filesDummyCDDA = 0;
|
|
|
|
m_filesCueSheet = 0;
|
|
|
|
|
|
|
|
m_timer->invalidate();
|
2010-11-11 19:37:16 +01:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Update progress
|
2013-11-24 17:55:35 +01:00
|
|
|
//emit progressMaxChanged(m_inputFiles.count());
|
|
|
|
//emit progressValChanged(0);
|
2011-04-11 21:57:16 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Create MediaInfo template file
|
2012-01-14 01:11:58 +01:00
|
|
|
if(!m_templateFile)
|
|
|
|
{
|
|
|
|
if(!createTemplate())
|
|
|
|
{
|
|
|
|
qWarning("Failed to create template file!");
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-25 00:48:18 +02:00
|
|
|
//Sort files
|
2013-10-06 19:26:08 +02:00
|
|
|
lamexp_natural_string_sort(m_inputFiles, true);
|
2013-10-25 00:48:18 +02:00
|
|
|
|
|
|
|
//Handle playlist files first!
|
2013-10-06 19:26:08 +02:00
|
|
|
handlePlaylistFiles();
|
2012-05-06 04:57:00 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
const unsigned int nFiles = m_inputFiles.count();
|
2013-10-25 00:48:18 +02:00
|
|
|
if(nFiles < 1)
|
|
|
|
{
|
|
|
|
qWarning("File list is empty, nothing to do!");
|
|
|
|
return;
|
|
|
|
}
|
2012-05-04 04:01:10 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Update progress
|
|
|
|
emit progressMaxChanged(nFiles);
|
2013-11-24 17:55:35 +01:00
|
|
|
emit progressValChanged(0);
|
2010-11-06 23:04:47 +01:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Create thread pool
|
|
|
|
if(!m_pool) m_pool = new QThreadPool();
|
2013-10-16 03:31:14 +02:00
|
|
|
const int idealThreadCount = QThread::idealThreadCount();
|
|
|
|
if(idealThreadCount > 0)
|
|
|
|
{
|
|
|
|
m_pool->setMaxThreadCount(qBound(2, ((idealThreadCount * 3) / 2), 12));
|
|
|
|
}
|
2013-10-06 19:26:08 +02:00
|
|
|
|
|
|
|
//Start first N threads
|
|
|
|
QTimer::singleShot(0, this, SLOT(initializeTasks()));
|
2012-05-05 03:55:27 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Start event processing
|
|
|
|
this->exec();
|
|
|
|
|
|
|
|
//Wait for pending tasks to complete
|
|
|
|
m_pool->waitForDone();
|
|
|
|
|
|
|
|
//Was opertaion aborted?
|
2012-05-04 04:01:10 +02:00
|
|
|
if(m_bAborted)
|
2010-11-06 23:04:47 +01:00
|
|
|
{
|
2012-05-04 04:01:10 +02:00
|
|
|
qWarning("Operation cancelled by user!");
|
2012-01-14 20:28:43 +01:00
|
|
|
return;
|
2010-11-06 23:04:47 +01:00
|
|
|
}
|
2012-05-04 16:40:02 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
//Update progress
|
|
|
|
emit progressValChanged(nFiles);
|
|
|
|
|
|
|
|
//Emit pending files (this should not be required though!)
|
|
|
|
if(!m_completedFiles.isEmpty())
|
|
|
|
{
|
|
|
|
qWarning("FileAnalyzer: Pending file information found after last thread terminated!");
|
|
|
|
QList<unsigned int> keys = m_completedFiles.keys(); qSort(keys);
|
|
|
|
while(!keys.isEmpty())
|
|
|
|
{
|
|
|
|
emit fileAnalyzed(m_completedFiles.take(keys.takeFirst()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-05-04 04:01:10 +02:00
|
|
|
qDebug("All files added.\n");
|
|
|
|
m_bSuccess = true;
|
2013-10-06 19:26:08 +02:00
|
|
|
|
|
|
|
QThread::msleep(333);
|
2011-03-20 23:32:11 +01:00
|
|
|
}
|
|
|
|
|
2012-05-04 04:01:10 +02:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Privtae Functions
|
|
|
|
////////////////////////////////////////////////////////////
|
2011-05-21 21:08:10 +02:00
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
bool FileAnalyzer::analyzeNextFile(void)
|
|
|
|
{
|
|
|
|
if(!(m_inputFiles.isEmpty() || m_bAborted))
|
|
|
|
{
|
|
|
|
const unsigned int taskId = m_tasksCounterNext++;
|
|
|
|
const QString currentFile = QDir::fromNativeSeparators(m_inputFiles.takeFirst());
|
|
|
|
|
|
|
|
if((!m_timer->isValid()) || (m_timer->elapsed() >= 250))
|
|
|
|
{
|
|
|
|
emit fileSelected(QFileInfo(currentFile).fileName());
|
|
|
|
m_timer->restart();
|
|
|
|
}
|
|
|
|
|
|
|
|
AnalyzeTask *task = new AnalyzeTask(taskId, currentFile, m_templateFile->filePath(), &m_bAborted);
|
|
|
|
connect(task, SIGNAL(fileAnalyzed(const unsigned int, const int, AudioFileModel)), this, SLOT(taskFileAnalyzed(unsigned int, const int, AudioFileModel)), Qt::QueuedConnection);
|
|
|
|
connect(task, SIGNAL(taskCompleted(const unsigned int)), this, SLOT(taskThreadFinish(const unsigned int)), Qt::QueuedConnection);
|
|
|
|
m_runningTaskIds.insert(taskId); m_pool->start(task);
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileAnalyzer::handlePlaylistFiles(void)
|
|
|
|
{
|
2013-10-25 00:48:18 +02:00
|
|
|
QQueue<QVariant> queue;
|
|
|
|
QStringList importedFromPlaylist;
|
|
|
|
|
|
|
|
//Import playlist files into "hierarchical" list
|
2013-10-06 19:26:08 +02:00
|
|
|
while(!m_inputFiles.isEmpty())
|
|
|
|
{
|
|
|
|
const QString currentFile = m_inputFiles.takeFirst();
|
2013-10-25 00:48:18 +02:00
|
|
|
QStringList importedFiles;
|
|
|
|
if(PlaylistImporter::importPlaylist(importedFiles, currentFile))
|
2013-10-06 19:26:08 +02:00
|
|
|
{
|
2013-10-25 00:48:18 +02:00
|
|
|
queue.enqueue(importedFiles);
|
|
|
|
importedFromPlaylist << importedFiles;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
queue.enqueue(currentFile);
|
2013-10-06 19:26:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-25 00:48:18 +02:00
|
|
|
//Reduce temporary list
|
|
|
|
importedFromPlaylist.removeDuplicates();
|
|
|
|
|
|
|
|
//Now build the complete "flat" file list (files imported from playlist take precedence!)
|
|
|
|
while(!queue.isEmpty())
|
2013-10-06 19:26:08 +02:00
|
|
|
{
|
2013-10-25 00:48:18 +02:00
|
|
|
const QVariant current = queue.dequeue();
|
|
|
|
if(current.type() == QVariant::String)
|
|
|
|
{
|
|
|
|
const QString temp = current.toString();
|
|
|
|
if(!importedFromPlaylist.contains(temp, Qt::CaseInsensitive))
|
|
|
|
{
|
|
|
|
SAFE_APPEND_STRING(m_inputFiles, temp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(current.type() == QVariant::StringList)
|
|
|
|
{
|
|
|
|
const QStringList temp = current.toStringList();
|
|
|
|
for(QStringList::ConstIterator iter = temp.constBegin(); iter != temp.constEnd(); iter++)
|
|
|
|
{
|
|
|
|
SAFE_APPEND_STRING(m_inputFiles, (*iter));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
2013-10-06 19:26:08 +02:00
|
|
|
{
|
2013-10-25 00:48:18 +02:00
|
|
|
qWarning("Encountered an unexpected variant type!");
|
2013-10-06 19:26:08 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-14 01:11:58 +01:00
|
|
|
bool FileAnalyzer::createTemplate(void)
|
|
|
|
{
|
|
|
|
if(m_templateFile)
|
|
|
|
{
|
|
|
|
qWarning("Template file already exists!");
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString templatePath = QString("%1/%2.txt").arg(lamexp_temp_folder2(), lamexp_rand_str());
|
|
|
|
|
|
|
|
QFile templateFile(templatePath);
|
|
|
|
if(!templateFile.open(QIODevice::WriteOnly))
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
templateFile.write("General;");
|
|
|
|
for(size_t i = 0; g_tags_gen[i]; i++)
|
|
|
|
{
|
|
|
|
templateFile.write(QString("Gen_%1=%%1%\\n").arg(g_tags_gen[i]).toLatin1().constData());
|
|
|
|
}
|
2012-01-14 20:28:43 +01:00
|
|
|
templateFile.write("\\n\r\n");
|
2012-01-14 01:11:58 +01:00
|
|
|
|
|
|
|
templateFile.write("Audio;");
|
|
|
|
for(size_t i = 0; g_tags_aud[i]; i++)
|
|
|
|
{
|
|
|
|
templateFile.write(QString("Aud_%1=%%1%\\n").arg(g_tags_aud[i]).toLatin1().constData());
|
|
|
|
}
|
2012-01-14 20:28:43 +01:00
|
|
|
templateFile.write("\\n\r\n");
|
2012-01-14 01:11:58 +01:00
|
|
|
|
|
|
|
bool success = (templateFile.error() == QFile::NoError);
|
|
|
|
templateFile.close();
|
|
|
|
|
|
|
|
if(!success)
|
|
|
|
{
|
|
|
|
QFile::remove(templatePath);
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
try
|
|
|
|
{
|
2013-11-01 19:34:27 +01:00
|
|
|
m_templateFile = new LockedFile(templatePath, true);
|
2012-01-14 01:11:58 +01:00
|
|
|
}
|
2013-10-18 21:37:40 +02:00
|
|
|
catch(const std::exception &error)
|
|
|
|
{
|
|
|
|
qWarning("Failed to lock template file:\n%s\n", error.what());
|
|
|
|
return false;
|
|
|
|
}
|
2012-01-14 01:11:58 +01:00
|
|
|
catch(...)
|
|
|
|
{
|
|
|
|
qWarning("Failed to lock template file!");
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2013-10-06 19:26:08 +02:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Slot Functions
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
void FileAnalyzer::initializeTasks(void)
|
|
|
|
{
|
|
|
|
for(int i = 0; i < m_pool->maxThreadCount(); i++)
|
|
|
|
{
|
|
|
|
if(!analyzeNextFile()) break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileAnalyzer::taskFileAnalyzed(const unsigned int taskId, const int fileType, const AudioFileModel &file)
|
|
|
|
{
|
|
|
|
m_completedTaskIds.insert(taskId);
|
|
|
|
|
|
|
|
switch(fileType)
|
|
|
|
{
|
|
|
|
case AnalyzeTask::fileTypeNormal:
|
|
|
|
m_filesAccepted++;
|
|
|
|
if(m_tasksCounterDone == taskId)
|
|
|
|
{
|
|
|
|
emit fileAnalyzed(file);
|
|
|
|
m_tasksCounterDone++;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
m_completedFiles.insert(taskId, file);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case AnalyzeTask::fileTypeCDDA:
|
|
|
|
m_filesDummyCDDA++;
|
|
|
|
break;
|
|
|
|
case AnalyzeTask::fileTypeDenied:
|
|
|
|
m_filesDenied++;
|
|
|
|
break;
|
|
|
|
case AnalyzeTask::fileTypeCueSheet:
|
|
|
|
m_filesCueSheet++;
|
|
|
|
break;
|
|
|
|
case AnalyzeTask::fileTypeUnknown:
|
|
|
|
m_filesRejected++;
|
|
|
|
break;
|
|
|
|
default:
|
2013-10-18 21:37:40 +02:00
|
|
|
THROW("Unknown file type identifier!");
|
2013-10-06 19:26:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//Emit all pending files
|
|
|
|
while(m_completedTaskIds.contains(m_tasksCounterDone))
|
|
|
|
{
|
|
|
|
if(m_completedFiles.contains(m_tasksCounterDone))
|
|
|
|
{
|
|
|
|
emit fileAnalyzed(m_completedFiles.take(m_tasksCounterDone));
|
|
|
|
}
|
|
|
|
m_completedTaskIds.remove(m_tasksCounterDone);
|
|
|
|
m_tasksCounterDone++;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void FileAnalyzer::taskThreadFinish(const unsigned int taskId)
|
|
|
|
{
|
|
|
|
m_runningTaskIds.remove(taskId);
|
|
|
|
emit progressValChanged(++m_completedCounter);
|
|
|
|
|
|
|
|
if(!analyzeNextFile())
|
|
|
|
{
|
|
|
|
if(m_runningTaskIds.empty())
|
|
|
|
{
|
|
|
|
QTimer::singleShot(0, this, SLOT(quit())); //Stop event processing, if all threads have completed!
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-01-30 21:49:32 +01:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// Public Functions
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
2010-11-11 19:37:16 +01:00
|
|
|
unsigned int FileAnalyzer::filesAccepted(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
return m_filesAccepted;
|
2010-11-11 19:37:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int FileAnalyzer::filesRejected(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
return m_filesRejected;
|
2010-11-11 19:37:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
unsigned int FileAnalyzer::filesDenied(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
return m_filesDenied;
|
2010-11-11 19:37:16 +01:00
|
|
|
}
|
2010-11-06 23:04:47 +01:00
|
|
|
|
2011-03-19 15:35:17 +01:00
|
|
|
unsigned int FileAnalyzer::filesDummyCDDA(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
return m_filesDummyCDDA;
|
2011-03-19 15:35:17 +01:00
|
|
|
}
|
|
|
|
|
2011-05-17 01:14:50 +02:00
|
|
|
unsigned int FileAnalyzer::filesCueSheet(void)
|
|
|
|
{
|
2013-10-06 19:26:08 +02:00
|
|
|
return m_filesCueSheet;
|
2011-05-17 01:14:50 +02:00
|
|
|
}
|
|
|
|
|
2010-11-06 23:04:47 +01:00
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
// EVENTS
|
|
|
|
////////////////////////////////////////////////////////////
|
|
|
|
|
2010-11-08 00:24:54 +01:00
|
|
|
/*NONE*/
|