- Bugfix make thumbs script not correctly invoked

This commit is contained in:
Santi Noreña 2013-04-23 19:25:37 +02:00
parent 5fffda62b4
commit 5b33ad8b21
2 changed files with 11 additions and 2 deletions

View file

@ -23,7 +23,11 @@ Lbre Media Server ChangeLog
******************************************************************************* *******************************************************************************
V 0.04: V 0.04-2
+ Bugfix make thumbs script not launched.
V 0.04-1:
+ GUI: added FPS counter + GUI: added FPS counter
+ GUI: added FPS selector + GUI: added FPS selector

View file

@ -510,7 +510,12 @@ void libreMediaServer::makeThumbs()
QProcess *script = new QProcess (); QProcess *script = new QProcess ();
QStringList arguments; QStringList arguments;
arguments << m_pathmedia; arguments << m_pathmedia;
script->execute("../scripts/make_thumbs.sh", arguments); qDebug() << "Creating thumbs in " << arguments;
QString s = "Creating thumbs in ";
s.append(arguments.at(0));
s.append("This operation can take some time...");
ui.textEdit->appendPlainText(s);
script->execute("./scripts/make_thumbs.sh", arguments);
} }
/////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////