diff --git a/src/cube/TransportController.cpp b/src/cube/TransportController.cpp index 65381008a..9f87b0bfb 100644 --- a/src/cube/TransportController.cpp +++ b/src/cube/TransportController.cpp @@ -112,7 +112,18 @@ void TransportController::OnTrackChange(musik::core::TrackPtr track){ return; } -// this->transportView.titleLabel. // HMM.. Can't find how to set the labels + win32cpp::uistring title(_T("-")); + win32cpp::uistring artist(_T("-")); + + if(track->GetValue("title")) + title.assign( track->GetValue("title") ); + + if(track->GetValue("visual_artist")) + artist.assign( track->GetValue("visual_artist") ); + + + this->transportView.titleLabel->SetCaption(title); + this->transportView.artistLabel->SetCaption(artist); }