Don't scrobble a track if we've been skipping through it. Fixes issue #105
This commit is contained in:
parent
16a953af11
commit
92c7eff0fb
|
@ -232,6 +232,9 @@ void Player::Seek(int seconds) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
engine_->seek(seconds * 1000);
|
engine_->seek(seconds * 1000);
|
||||||
|
|
||||||
|
// If we seek the track we don't want to submit it to last.fm
|
||||||
|
playlist_->set_scrobbled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::EngineMetadataReceived(const Engine::SimpleMetaBundle& bundle) {
|
void Player::EngineMetadataReceived(const Engine::SimpleMetaBundle& bundle) {
|
||||||
|
|
Loading…
Reference in New Issue