Moodbar: Disable moodbar loader for CUE songs
This commit is contained in:
@@ -59,7 +59,7 @@ void MoodbarController::CurrentSongChanged(const Song &song) {
|
||||
|
||||
QByteArray data;
|
||||
MoodbarPipeline *pipeline = nullptr;
|
||||
const MoodbarLoader::Result result = app_->moodbar_loader()->Load(song.url(), &data, &pipeline);
|
||||
const MoodbarLoader::Result result = app_->moodbar_loader()->Load(song.url(), song.has_cue(), &data, &pipeline);
|
||||
|
||||
switch (result) {
|
||||
case MoodbarLoader::CannotLoad:
|
||||
|
||||
Reference in New Issue
Block a user