Fix the InsertUrls dbus method so it inserts tracks at the end of the playlist and plays them again.
This commit is contained in:
parent
55b2d30959
commit
a10d396f22
@ -279,7 +279,7 @@ void Mpris1Player::ShowOSD() {
|
|||||||
|
|
||||||
int Mpris1TrackList::AddTrack(const QString& track, bool play) {
|
int Mpris1TrackList::AddTrack(const QString& track, bool play) {
|
||||||
player_->playlists()->active()->InsertUrls(
|
player_->playlists()->active()->InsertUrls(
|
||||||
QList<QUrl>() << QUrl(track), play);
|
QList<QUrl>() << QUrl(track), -1, play);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user