mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
* Don't try to scrobble if scrobbling isn't configured.
This commit is contained in:
@@ -140,6 +140,9 @@ Scrobbler::scrobble()
|
|||||||
{
|
{
|
||||||
Q_ASSERT( QThread::currentThread() == thread() );
|
Q_ASSERT( QThread::currentThread() == thread() );
|
||||||
|
|
||||||
|
if ( !m_scrobbler || m_track.isNull() )
|
||||||
|
return;
|
||||||
|
|
||||||
qDebug() << Q_FUNC_INFO << m_track.toString();
|
qDebug() << Q_FUNC_INFO << m_track.toString();
|
||||||
m_scrobbler->cache( m_track );
|
m_scrobbler->cache( m_track );
|
||||||
m_scrobbler->submit();
|
m_scrobbler->submit();
|
||||||
|
Reference in New Issue
Block a user