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
1 changed files with 1 additions and 1 deletions

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;
}