Announcements

Help Wizard

Step 1

NEXT STEP

[bug] Launching playlist from android app

[bug] Launching playlist from android app

I have been launching spotify playlists using an intent such as:

spotify:user:username:playlist:37i9dQZF1DWUPafHP1BJw1:play

 

this has worked fine until recently, when it stopped working with brand new non-premium accounts.  I am getting an exception as follows:
java.lang.AssertionError: View URI spotify:user:AnonymizedMarvin:playlist:37i9dQZF1DWUPafHP1BJw1:play did not match pattern spotify:(user:[^:]+:)?(playlist:[a-zA-Z0-9]{22})
at puo.a(SourceFile:79)
at com.spotify.music.spotlets.freetierplaylist.FreeTierPlaylistFragment.c(SourceFile:504)

 

the user name is being set to AnonymizedMarvin by spotify when it handles the intent, and then the regex matcher is throwing out the URI.  

 

Can the dev team take a look at this, I was unable to find any documentation saying if the intent has recently changed.  This might be a bug in the FreeTierPlaylistFragment.

 

Reply
1 Reply

it looks like the ":play" part is missing from the regex in the Fragment

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random