mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-15 05:22:35 +02:00
Merge pull request #181 from xhochy/feature/open-spotify-playlist-from-cli2
Open more than just tracks for Spotify from the commandline
This commit is contained in:
commit
fbcfadf82d
@ -671,7 +671,7 @@ TomahawkApp::loadUrl( const QString& url )
|
||||
#ifndef ENABLE_HEADLESS
|
||||
if ( url.startsWith( "tomahawk://" ) )
|
||||
return GlobalActionManager::instance()->parseTomahawkLink( url );
|
||||
else if ( url.contains( "open.spotify.com" ) || url.contains( "spotify:track" ) )
|
||||
else if ( url.contains( "open.spotify.com" ) || url.startsWith( "spotify:" ) )
|
||||
return GlobalActionManager::instance()->openSpotifyLink( url );
|
||||
else if ( url.contains( "www.rdio.com" ) )
|
||||
return GlobalActionManager::instance()->openRdioLink( url );
|
||||
|
Loading…
x
Reference in New Issue
Block a user