parent
f471d4bfe1
commit
cd10fda8b7
|
@ -610,6 +610,10 @@ void LastFMService::FetchMoreTracksFinished() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void LastFMService::Tune(const lastfm::RadioStation& station) {
|
void LastFMService::Tune(const lastfm::RadioStation& station) {
|
||||||
|
foreach (QueuedTrack* t, playlist_) {
|
||||||
|
delete t;
|
||||||
|
}
|
||||||
|
playlist_.clear();
|
||||||
QMap<QString, QString> params;
|
QMap<QString, QString> params;
|
||||||
params["method"] = "radio.tune";
|
params["method"] = "radio.tune";
|
||||||
params["station"] = station.url();
|
params["station"] = station.url();
|
||||||
|
|
Loading…
Reference in New Issue