mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 19:37:09 +02:00
* Playlist::get now finds any kind of playlist_ptr with that guid.
This commit is contained in:
@@ -168,6 +168,11 @@ Playlist::get( const QString& guid )
|
||||
foreach( const Tomahawk::source_ptr& source, SourceList::instance()->sources() )
|
||||
{
|
||||
p = source->dbCollection()->playlist( guid );
|
||||
if ( !p )
|
||||
p = source->dbCollection()->autoPlaylist( guid );
|
||||
if ( !p )
|
||||
p = source->dbCollection()->station( guid );
|
||||
|
||||
if ( p )
|
||||
return p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user