mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Handle JSPF playlists in load/playlist command
This commit is contained in:
@@ -216,9 +216,12 @@ JSPFLoader::gotBody()
|
|||||||
m_creator,
|
m_creator,
|
||||||
false,
|
false,
|
||||||
m_entries );
|
m_entries );
|
||||||
|
emit ok( m_playlist );
|
||||||
|
} else {
|
||||||
|
if ( !m_entries.isEmpty() )
|
||||||
|
emit tracks( m_entries );
|
||||||
}
|
}
|
||||||
|
|
||||||
emit ok( m_playlist );
|
|
||||||
|
|
||||||
if ( m_autoDelete )
|
if ( m_autoDelete )
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
@@ -50,6 +50,7 @@ public:
|
|||||||
signals:
|
signals:
|
||||||
void failed();
|
void failed();
|
||||||
void ok( const Tomahawk::playlist_ptr& );
|
void ok( const Tomahawk::playlist_ptr& );
|
||||||
|
void tracks( const QList< Tomahawk::query_ptr > tracks );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void load( const QUrl& url );
|
void load( const QUrl& url );
|
||||||
|
Reference in New Issue
Block a user