diff --git a/src/square/CommandWindow.cpp b/src/square/CommandWindow.cpp index 942bd30e2..143e8eff4 100755 --- a/src/square/CommandWindow.cpp +++ b/src/square/CommandWindow.cpp @@ -167,7 +167,8 @@ bool CommandWindow::ProcessCommand(const std::string& cmd) { bool CommandWindow::PlayFile(const std::vector& args) { if (args.size() > 0) { - transport->Start(args.at(0)); + std::string filename = boost::algorithm::join(args, " "); + transport->Start(filename); return true; } diff --git a/src/square/LogWindow.cpp b/src/square/LogWindow.cpp index 527f95209..f9fc730ad 100755 --- a/src/square/LogWindow.cpp +++ b/src/square/LogWindow.cpp @@ -17,7 +17,7 @@ LogWindow::LogWindow() { this->Create(); musik::debug::string_logged.connect(this, &LogWindow::OnLogged); - musik::debug::err("LogWindow", "initialized"); + musik::debug::warn("LogWindow", "initialized"); } LogWindow::~LogWindow() { diff --git a/src/square/TransportWindow.cpp b/src/square/TransportWindow.cpp index 5a4ebfe89..70cb75007 100755 --- a/src/square/TransportWindow.cpp +++ b/src/square/TransportWindow.cpp @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include "stdafx.h" #include "TransportWindow.h" @@ -38,7 +38,7 @@ void TransportWindow::Repaint() { WINDOW *c = this->GetContents(); std::string volume = boost::str(boost::format( - "♫ volume: %1%\n") % this->transport->Volume()); + "volume: %1%\n") % this->transport->Volume()); wprintw(c, volume.c_str()); wprintw(c, "filename: ");