diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 22:08:18 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-23 22:08:18 +0200 |
commit | 455fb16d627e1f45c2651c35f743ef16e20b0c45 (patch) | |
tree | ac4bb54750d0882a8267dc1a9baf1ac2e55effef /src/main.c | |
parent | f0bab69d9d09fb0a80091d813cc57a85fc3d8c61 (diff) | |
download | pianobar-455fb16d627e1f45c2651c35f743ef16e20b0c45.tar.gz pianobar-455fb16d627e1f45c2651c35f743ef16e20b0c45.tar.bz2 pianobar-455fb16d627e1f45c2651c35f743ef16e20b0c45.zip |
client: Let user decide when song is submitted to last.fm
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |