mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-16 19:14:06 +02:00
* Let headless users trigger a rescan with --filescan.
This commit is contained in:
@@ -241,6 +241,11 @@ TomahawkApp::init()
|
|||||||
tDebug() << "Init Scrobbler.";
|
tDebug() << "Init Scrobbler.";
|
||||||
m_scrobbler = new Scrobbler( this );
|
m_scrobbler = new Scrobbler( this );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if ( arguments().contains( "--filescan" ) )
|
||||||
|
{
|
||||||
|
m_scanManager.data()->runScan( true );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user