[gnome-music] update intervals for position updates



commit 6fc994a2699f208124e48fcbd30f40e00b00d576
Author: Seif Lotfy <seif lotfy com>
Date:   Tue Apr 30 13:38:57 2013 +0200

    update intervals for position updates

 src/player.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/player.js b/src/player.js
index e3647ce..da286b4 100644
--- a/src/player.js
+++ b/src/player.js
@@ -106,7 +106,7 @@ const Player = new Lang.Class({
                         this.currentTrack=null;
                     else {
                         this.load( this.playlist.get_value( this.currentTrack, this.playlist_field));
-                        this.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 500, Lang.bind(this, 
this._updatePositionCallback));
+                        this.timeout = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 1000, Lang.bind(this, 
this._updatePositionCallback));
                     }
                 return false;
                 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]