mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
SpotifyParse fix
This commit is contained in:
parent
75537b9c20
commit
35a3511ee5
@ -81,7 +81,7 @@ SpotifyParser::lookupUrl( const QString& rawLink )
|
||||
QString link = rawLink;
|
||||
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 = "spotify:" + link;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user