1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 11:04:57 +01:00

Fix the InsertUrls dbus method so it inserts tracks at the end of the playlist and plays them again.

This commit is contained in:
David Sansome 2011-03-31 18:47:25 +00:00
parent 55b2d30959
commit a10d396f22

View File

@ -279,7 +279,7 @@ void Mpris1Player::ShowOSD() {
int Mpris1TrackList::AddTrack(const QString& track, bool play) {
player_->playlists()->active()->InsertUrls(
QList<QUrl>() << QUrl(track), play);
QList<QUrl>() << QUrl(track), -1, play);
return 0;
}