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