mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 00:09:47 +01:00
Fix TWK-1589
This commit is contained in:
parent
c46c82de97
commit
47c14ce6a1
@ -101,7 +101,7 @@ SpotifyParser::lookupUrl( const QString& rawLink )
|
||||
|
||||
// TODO: Ignoring search and user querys atm
|
||||
// (spotify:(?:(?:artist|album|track|user:[^:]+:playlist):[a-zA-Z0-9]+|user:[^:]+|search:(?:[-\w$\.+!*'(),<>:\s]+|%[a-fA-F0-9\s]{2})+))
|
||||
QRegExp rx( "(spotify:(?:(?:artist|album|track|user:[^:]+:playlist):[a-zA-Z0-9]+[^:]))" );
|
||||
QRegExp rx( "(spotify:(?:(?:artist|album|track|user:[^:]+:playlist):[a-zA-Z0-9]+[^:\?]))" );
|
||||
if ( rx.indexIn( link, 0 ) != -1 )
|
||||
{
|
||||
link = rx.cap( 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user