mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
SpotifyParse fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user