[Pkg-mpd-commits] [qmpdclient] 02/38: Fixed default value of Last.fm scrobbler timer

Andrey Rahmatullin wrar at moszumanska.debian.org
Mon May 23 07:19:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

wrar pushed a commit to branch master
in repository qmpdclient.

commit fb03f88a9ecbc5a1dc43c2a82693a63b21e76985
Author: Voker57 <voker57 at gmail.com>
Date:   Fri Sep 23 19:52:46 2011 +0400

    Fixed default value of Last.fm scrobbler timer
    
    Thanks, MrBomfunk
---
 src/config.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.cpp b/src/config.cpp
index b574893..51a2b96 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -677,7 +677,7 @@ bool Config::lastFmHashedPassword() const {
 }
 
 int Config::lastFmScrobblerTimer() const {
-	return value("/lastfm/scrobblertimer").toInt();
+	return value("/lastfm/scrobblertimer", 50).toInt();
 }
 
 void Config::setSubmitSongsToLastFm(bool b) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mpd/qmpdclient.git



More information about the Pkg-mpd-commits mailing list