1
0
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:
Uwe L. Korn
2013-03-30 14:39:16 +01:00
parent 5b59ab56d4
commit c2d11f4ece

View File

@@ -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 );