From 455fb16d627e1f45c2651c35f743ef16e20b0c45 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 23 Jun 2008 22:08:18 +0200 Subject: client: Let user decide when song is submitted to last.fm --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.c') 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) { -- cgit v1.2.3