Support IdSpace param in echonest artist requests properly.
This commit is contained in:
parent
38f1b71761
commit
1f64d4f709
3
3rdparty/libechonest/Artist.cpp
vendored
3
3rdparty/libechonest/Artist.cpp
vendored
@ -581,6 +581,8 @@ QByteArray Echonest::Artist::searchParamToString(Echonest::Artist::SearchParam p
|
|||||||
return "sort";
|
return "sort";
|
||||||
case Mood:
|
case Mood:
|
||||||
return "mood";
|
return "mood";
|
||||||
|
case IdSpace:
|
||||||
|
return "bucket";
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@ -622,4 +624,3 @@ QDebug Echonest::operator<<(QDebug d, const Echonest::Artist& artist)
|
|||||||
{
|
{
|
||||||
return d.maybeSpace() << QString::fromLatin1( "Artist(%1, %2)" ).arg( artist.name() ).arg( QString::fromLatin1(artist.id()) );
|
return d.maybeSpace() << QString::fromLatin1( "Artist(%1, %2)" ).arg( artist.name() ).arg( QString::fromLatin1(artist.id()) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user