1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 11:04:01 +02:00

* Let headless users trigger a rescan with --filescan.

This commit is contained in:
Christian Muehlhaeuser
2011-08-11 00:57:13 +02:00
parent 3fa64c76ee
commit a065480f75

View File

@@ -241,6 +241,11 @@ TomahawkApp::init()
tDebug() << "Init Scrobbler.";
m_scrobbler = new Scrobbler( this );
#endif
if ( arguments().contains( "--filescan" ) )
{
m_scanManager.data()->runScan( true );
}
}