summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index f08adeb..0b8b4e0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -264,7 +264,8 @@ int main (int argc, char **argv) {
/* scrobble when >= 90% are played */
if (BarSamplesToSeconds (player.samplerate,
player.channels, player.sampleSizeCurr) * 100 /
- scrobbleSong.length >= 90 &&
+ scrobbleSong.length >=
+ bsettings.lastfmScrobblePercent &&
bsettings.enableScrobbling) {
if (WardrobeSubmit (&wh, &scrobbleSong) ==
WARDROBE_RET_OK) {