Some qDebug changed
This commit is contained in:
parent
e260556ac8
commit
7f9152b267
4 changed files with 13 additions and 11 deletions
|
@ -27,8 +27,8 @@ const int BufferSize = 262144;
|
|||
#define PROGRESS_TIME_LABEL "Current"
|
||||
#define REMAINING_TIME "Remaining Time: "
|
||||
#define TOTAL_TIME_LABEL "Total"
|
||||
#define FILE_LABEL "File: "
|
||||
#define FOLDER_LABEL "Folder: "
|
||||
#define FILE_LABEL "File:"
|
||||
#define FOLDER_LABEL "Folder:"
|
||||
#define STATUS_LABEL " Status: "
|
||||
|
||||
#define NOTIFY_INTERVAL 150
|
||||
|
|
|
@ -98,6 +98,7 @@ libreMediaServerAudio::libreMediaServerAudio(QStringList args, QWidget *parent)
|
|||
connect(ola, SIGNAL( dmxOutput(int, int, int) ),
|
||||
this, SLOT( dmxInput(int, int, int) ) );
|
||||
ola->resendDmx();
|
||||
qDebug("Init Complete");
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
@ -153,7 +154,7 @@ void libreMediaServerAudio::ChangeMediaPath()
|
|||
QString file = fileNames.at(0);
|
||||
MediaLibrary::getInstance()->setPath(file);
|
||||
QString desc = tr("Media Path Changed to: %1").arg(m_pathmedia);
|
||||
textEdit->append(desc);
|
||||
qDebug(desc.toLatin1().constData());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -76,6 +76,10 @@ QList<MediaFile> MediaLibrary::getMediaInformation(QDir dir)
|
|||
|
||||
QString MediaLibrary::requestNewFile(int folder, int file){
|
||||
// Select one mediafile from the media library
|
||||
if (!m_media) {
|
||||
qWarning("Media Library not init. Set a correct path to medias library");
|
||||
return NULL;
|
||||
}
|
||||
QString newfile;
|
||||
if (folder < m_media->size()) {
|
||||
if (file < m_media->at(folder).m_MediaInformation.size()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue