mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Prioritize query for resolving when requesting to play a still unresolved query.
This commit is contained in:
@@ -36,6 +36,7 @@
|
|||||||
#include "HeadlessCheck.h"
|
#include "HeadlessCheck.h"
|
||||||
#include "infosystem/InfoSystem.h"
|
#include "infosystem/InfoSystem.h"
|
||||||
#include "Album.h"
|
#include "Album.h"
|
||||||
|
#include "Pipeline.h"
|
||||||
|
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
@@ -605,6 +606,8 @@ AudioEngine::playItem( Tomahawk::playlistinterface_ptr playlist, const Tomahawk:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Pipeline::instance()->resolve( query );
|
||||||
|
|
||||||
NewClosure( query.data(), SIGNAL( resolvingFinished( bool ) ),
|
NewClosure( query.data(), SIGNAL( resolvingFinished( bool ) ),
|
||||||
const_cast<AudioEngine*>(this), SLOT( playItem( Tomahawk::playlistinterface_ptr, Tomahawk::query_ptr ) ), playlist, query );
|
const_cast<AudioEngine*>(this), SLOT( playItem( Tomahawk::playlistinterface_ptr, Tomahawk::query_ptr ) ), playlist, query );
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user