mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Open more than just tracks for Spotify from the commandline
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user