Skip to content
Browse files

Better ad track detection

  • Loading branch information...
1 parent 5fb859a commit 2fd6a89455d881ab2326a12e8fc9a2c4137b2389 Michael Klishin committed Feb 16, 2013
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) {

0 comments on commit 2fd6a89

Please sign in to comment.
Something went wrong with that request. Please try again.