mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-23 01:09:42 +01:00
* Workaround for scrobbling duration-less results.
This commit is contained in:
parent
fde130ef9f
commit
d14e14d25a
@ -212,6 +212,11 @@ LastFmInfoPlugin::scrobble()
|
||||
return;
|
||||
|
||||
tLog() << Q_FUNC_INFO << "Scrobbling now:" << m_track.toString();
|
||||
|
||||
// FIXME: workaround for the duration-less dilandau (and others) tracks
|
||||
if ( m_track.duration() == 0 )
|
||||
m_track.setDuration( 31 );
|
||||
|
||||
m_scrobbler->cache( m_track );
|
||||
m_scrobbler->submit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user