1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-25 06:51:13 +02:00

SpotifyParse fix

This commit is contained in:
Hugo Lindström
2013-02-20 16:36:36 +01:00
committed by Christian Muehlhaeuser
parent 63c4692181
commit b155b301dd

View File

@@ -81,7 +81,7 @@ SpotifyParser::lookupUrl( const QString& rawLink )
QString link = rawLink; QString link = rawLink;
if ( link.contains( "open.spotify.com/" ) ) // convert to a URI if ( link.contains( "open.spotify.com/" ) ) // convert to a URI
{ {
link.replace( "http://open.spotify.com/", "" ); link.replace( "http://", "" ).replace( "open.spotify.com/", "" );
link.replace( "/", ":" ); link.replace( "/", ":" );
link = "spotify:" + link; link = "spotify:" + link;
} }