[gnome-music] Don't stop playback if next/previous song cannot be played
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Don't stop playback if next/previous song cannot be played
- Date: Wed, 24 Apr 2013 14:10:32 +0000 (UTC)
commit a5c9872c952cdf1114ecd470782f14f443745baa
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Wed Apr 24 11:18:30 2013 +0200
Don't stop playback if next/previous song cannot be played
src/player.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index 67862db..c6f1c5c 100644
--- a/src/player.js
+++ b/src/player.js
@@ -178,7 +178,6 @@ const Player = new Lang.Class({
if (this.currentTrack)
this.prevTrack = this.currentTrack.copy()
if (!this.playlist || !this.currentTrack || !this.playlist.iter_next(this.currentTrack)){
- this.stop();
if (this.prevTrack) {
this.currentTrack = this.prevTrack.copy();
} else {
@@ -192,7 +191,6 @@ const Player = new Lang.Class({
playPrevious: function () {
if (!this.playlist || !this.currentTrack || !this.playlist.iter_previous(this.currentTrack)){
- this.stop();
if (!this.playlist) {
this.currentTrack = null;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]