sosb0ii / Spotify-Mute-Ads

0 stars 0 forks source link

Podcasts getting muted #1

Open sosb0ii opened 2 weeks ago

sosb0ii commented 2 weeks ago

Podcasts do not have the " - " syntax present in the window title, unlike songs. In the most recent update, the "|" is also looked for in the title of the Window, because it is common in podcasts and (as yet) unobserved in advertisements. However, obviously not every podcast will pass this check. The new method of only muting the ads once (instead of repeatedly) helps make it possible to listen to any podcast, but it might still be frustrating.

sosb0ii commented 2 weeks ago

The simple solution to this is to add more !InStr() conditions to our if () statement, but that's not very good. That's what our initial fix is, checking for "|", but that's cluttery. It would be better to have an object, like an array, that users can easily customize as a kind of "whitelist". For expansive functionality, we can change to a RegExMatch() instead of InStr().