From 5b33ad8b216cfd766baa298f3d2e020caf40a90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santi=20Nore=C3=B1a?= Date: Tue, 23 Apr 2013 19:25:37 +0200 Subject: [PATCH] - Bugfix make thumbs script not correctly invoked --- changelog.txt | 6 +++++- src/libremediaserver.cpp | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index b2b332d..04acda2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 selector diff --git a/src/libremediaserver.cpp b/src/libremediaserver.cpp index 826d738..672b6ed 100644 --- a/src/libremediaserver.cpp +++ b/src/libremediaserver.cpp @@ -510,7 +510,12 @@ void libreMediaServer::makeThumbs() QProcess *script = new QProcess (); QStringList arguments; 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); } ///////////////////////////////////////////////////////////////////