[gnome-music] Fix proper loading of track when upon clikc<
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Fix proper loading of track when upon clikc<
- Date: Fri, 3 May 2013 10:19:59 +0000 (UTC)
commit 73df7fbd42f3ccbcc67e04c5917958b582dd897b
Author: Seif Lotfy <seif lotfy com>
Date: Fri May 3 12:19:36 2013 +0200
Fix proper loading of track when upon clikc<
libgd | 2 +-
src/player.js | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libgd b/libgd
index bda4b2c..801ddd1 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit bda4b2cd115de3780136c17a8efd49e609914482
+Subproject commit 801ddd1edd4c88f07468938bd6166e3b2a433730
diff --git a/src/player.js b/src/player.js
index 3c8037c..cdc6f1d 100644
--- a/src/player.js
+++ b/src/player.js
@@ -157,9 +157,7 @@ const Player = new Lang.Class({
this.artistLabel.set_label("Unknown artist");
}
- if (!this.player.nextUrl || media.get_url() != this.player.nextUrl) {
- this.player.set_property("uri", media.get_url());
- }
+ this.player.set_property("uri", media.get_url());
// Store next available url
let nextTrack = this.currentTrack.copy();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]