artemgordinskiy/Spotifree

Podcasts are muted

Opened this issue · 1 comments

Podcasts are being muted by Spotifree, presumably because they have a track number equal to 0. But I would guess there's also an easy way to check the audio type to make sure it's not a podcast before muting it. Or maybe there's an episode number field? Tried skimming through the API but not sure where to look. Maybe the "type" key in the Track?

Have to be playing / on a song already and then switch to a podcast.

Looking at the Spotify URI for a podcast it looks like it's not treated the same as a track

podcast:

spotify:episode:<id>

versus a track:

spotify:track:<id>

But the web API doesn't seem to have endpoints for episodes. Based on this Github issue it looks like this functionality may not be supported yet. Although I don't know if that should prevent Spotifree from handling podcast episodes properly.

It would also be possible to check for ads with spotify:ad.

But this project seems kinda dead. In my alternative I have implemented it with spotify:ad