mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
Debug spam for ScriptCommand failure
This commit is contained in:
@@ -83,6 +83,7 @@ ScriptCommand_AllAlbums::exec()
|
|||||||
void
|
void
|
||||||
ScriptCommand_AllAlbums::reportFailure()
|
ScriptCommand_AllAlbums::reportFailure()
|
||||||
{
|
{
|
||||||
|
tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << "and artist" << m_artist->name();
|
||||||
emit albums( QList< Tomahawk::album_ptr >() );
|
emit albums( QList< Tomahawk::album_ptr >() );
|
||||||
emit done();
|
emit done();
|
||||||
}
|
}
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
#include "ExternalResolver.h"
|
#include "ExternalResolver.h"
|
||||||
#include "ScriptCollection.h"
|
#include "ScriptCollection.h"
|
||||||
|
|
||||||
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
ScriptCommand_AllArtists::ScriptCommand_AllArtists( const Tomahawk::collection_ptr& collection,
|
ScriptCommand_AllArtists::ScriptCommand_AllArtists( const Tomahawk::collection_ptr& collection,
|
||||||
QObject* parent )
|
QObject* parent )
|
||||||
: ScriptCommand( parent )
|
: ScriptCommand( parent )
|
||||||
@@ -71,6 +73,7 @@ ScriptCommand_AllArtists::exec()
|
|||||||
void
|
void
|
||||||
ScriptCommand_AllArtists::reportFailure()
|
ScriptCommand_AllArtists::reportFailure()
|
||||||
{
|
{
|
||||||
|
tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name();
|
||||||
emit artists( QList< Tomahawk::artist_ptr >() );
|
emit artists( QList< Tomahawk::artist_ptr >() );
|
||||||
emit done();
|
emit done();
|
||||||
}
|
}
|
||||||
|
@@ -22,6 +22,8 @@
|
|||||||
#include "PlaylistEntry.h"
|
#include "PlaylistEntry.h"
|
||||||
#include "ScriptCollection.h"
|
#include "ScriptCollection.h"
|
||||||
|
|
||||||
|
#include "utils/Logger.h"
|
||||||
|
|
||||||
ScriptCommand_AllTracks::ScriptCommand_AllTracks( const Tomahawk::collection_ptr& collection,
|
ScriptCommand_AllTracks::ScriptCommand_AllTracks( const Tomahawk::collection_ptr& collection,
|
||||||
const Tomahawk::album_ptr& album,
|
const Tomahawk::album_ptr& album,
|
||||||
QObject* parent )
|
QObject* parent )
|
||||||
@@ -72,6 +74,7 @@ ScriptCommand_AllTracks::exec()
|
|||||||
void
|
void
|
||||||
ScriptCommand_AllTracks::reportFailure()
|
ScriptCommand_AllTracks::reportFailure()
|
||||||
{
|
{
|
||||||
|
tDebug() << Q_FUNC_INFO << "for collection" << m_collection->name() << " artist" << m_album->artist()->name() << " album" << m_album->name();
|
||||||
emit tracks( QList< Tomahawk::query_ptr >() );
|
emit tracks( QList< Tomahawk::query_ptr >() );
|
||||||
emit done();
|
emit done();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user