mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Add skeleton for starting to sync a playlist
This commit is contained in:
@@ -327,6 +327,13 @@ Pipeline::resolve( QID qid, bool prioritized, bool temporaryQuery )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
Pipeline::startPlaylistSync( ExternalResolver* r, playlist_ptr playlist )
|
||||||
|
{
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
Pipeline::reportResults( QID qid, const QList< result_ptr >& results )
|
||||||
{
|
{
|
||||||
|
@@ -78,6 +78,11 @@ public slots:
|
|||||||
void resolve( const QList<query_ptr>& qlist, bool prioritized = true, bool temporaryQuery = false );
|
void resolve( const QList<query_ptr>& qlist, bool prioritized = true, bool temporaryQuery = false );
|
||||||
void resolve( QID qid, bool prioritized = true, bool temporaryQuery = false );
|
void resolve( QID qid, bool prioritized = true, bool temporaryQuery = false );
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initiate syncing of a playlist with a reslover.
|
||||||
|
*/
|
||||||
|
void startPlaylistSync( ExternalResolver* r, playlist_ptr playlist );
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
void databaseReady();
|
void databaseReady();
|
||||||
|
@@ -62,6 +62,7 @@
|
|||||||
#include "jobview/ErrorStatusMessage.h"
|
#include "jobview/ErrorStatusMessage.h"
|
||||||
#include "jobview/JobStatusModel.h"
|
#include "jobview/JobStatusModel.h"
|
||||||
#include "jobview/JobStatusView.h"
|
#include "jobview/JobStatusView.h"
|
||||||
|
#include "resolvers/playlist/ExternalResolverPlaylistUpdaterFactory.h"
|
||||||
#include "utils/XspfLoader.h"
|
#include "utils/XspfLoader.h"
|
||||||
#include "utils/JspfLoader.h"
|
#include "utils/JspfLoader.h"
|
||||||
#include "utils/Logger.h"
|
#include "utils/Logger.h"
|
||||||
@@ -655,7 +656,7 @@ TomahawkApp::onInfoSystemReady()
|
|||||||
Tomahawk::EchonestCatalogSynchronizer::instance();
|
Tomahawk::EchonestCatalogSynchronizer::instance();
|
||||||
|
|
||||||
PlaylistUpdaterInterface::registerUpdaterFactory( new XspfUpdaterFactory );
|
PlaylistUpdaterInterface::registerUpdaterFactory( new XspfUpdaterFactory );
|
||||||
// PlaylistUpdaterInterface::registerUpdaterFactory( new SpotifyUpdaterFactory );
|
PlaylistUpdaterInterface::registerUpdaterFactory( new ExternalResolverPlaylistUpdaterFactory );
|
||||||
|
|
||||||
// Following work-around/fix taken from Clementine rev. 13e13ccd9a95 and courtesy of David Sansome
|
// Following work-around/fix taken from Clementine rev. 13e13ccd9a95 and courtesy of David Sansome
|
||||||
// A bug in Qt means the wheel_scroll_lines setting gets ignored and replaced
|
// A bug in Qt means the wheel_scroll_lines setting gets ignored and replaced
|
||||||
|
Reference in New Issue
Block a user