Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better ad track detection

  • Loading branch information...
commit 2fd6a89455d881ab2326a12e8fc9a2c4137b2389 1 parent 5fb859a
Michael Klishin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.go
View
2  main.go
@@ -141,7 +141,7 @@ func recentTracksFor(genre string) ([]Track, error) {
return tracks, nil
}
-var adTrackTitle, _ = regexp.Compile(`^TSTAG.*`)
+var adTrackTitle, _ = regexp.Compile(`^(TSTAG.*)|(Choose premium for)`)
var separatorRe, _ = regexp.Compile(`\s-\s`)
func displayAdTrack(t Track) {
Please sign in to comment.
Something went wrong with that request. Please try again.