mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Added more debug output for playlist errors.
This commit is contained in:
@@ -398,12 +398,6 @@ Playlist::setNewRevision( const QString& rev,
|
|||||||
QList<plentry_ptr> entries;
|
QList<plentry_ptr> entries;
|
||||||
foreach( const QString& id, neworderedguids )
|
foreach( const QString& id, neworderedguids )
|
||||||
{
|
{
|
||||||
/* qDebug() << "id:" << id;
|
|
||||||
qDebug() << "newordered:" << neworderedguids.count() << neworderedguids;
|
|
||||||
qDebug() << "entriesmap:" << entriesmap.count() << entriesmap;
|
|
||||||
qDebug() << "addedmap:" << addedmap.count() << addedmap;
|
|
||||||
qDebug() << "m_entries" << m_entries; */
|
|
||||||
|
|
||||||
if( entriesmap.contains( id ) )
|
if( entriesmap.contains( id ) )
|
||||||
{
|
{
|
||||||
entries.append( entriesmap.value( id ) );
|
entries.append( entriesmap.value( id ) );
|
||||||
@@ -416,6 +410,13 @@ Playlist::setNewRevision( const QString& rev,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* qDebug() << "id:" << id;
|
||||||
|
* qDebug() << "newordered:" << neworderedguids.count() << neworderedguids;
|
||||||
|
* qDebug() << "entriesmap:" << entriesmap.count() << entriesmap;
|
||||||
|
* qDebug() << "addedmap:" << addedmap.count() << addedmap;
|
||||||
|
* qDebug() << "m_entries" << m_entries; */
|
||||||
|
|
||||||
|
tLog() << "Playlist error for playlist with guid" << guid() << "from source" << author()->friendlyName();
|
||||||
Q_ASSERT( false ); // XXX
|
Q_ASSERT( false ); // XXX
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user