librespot-java icon indicating copy to clipboard operation
librespot-java copied to clipboard

new type of uri ? (BUG)

Open thedtvn opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. I use search API and get some weird uri

Describe the solution you'd like update uri regex

Additional context image image

thedtvn avatar Jun 25 '23 09:06 thedtvn

update is all like this image

thedtvn avatar Jun 25 '23 09:06 thedtvn

sory i set wrong Labels😅

thedtvn avatar Jun 25 '23 09:06 thedtvn

First version of playlists have the owners username in them. So it’s spotify:user:(ownerId):playlist:(playlistId)

PlaylistsV2 are in the regular format: spotify:playlist:(playlistId)

A regex you might be able to use is:

spotify:user:(?<userId>.+):playlist:(?<playlistId>.+)

christosk92 avatar Jul 07 '23 12:07 christosk92