-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeats the same song too close together #356
Comments
The music is sent to you by Pandora. So far as I know, Hermes is not selecting the songs. |
Sure. There's clearly something different about how the next song is selected though; repeats don't happen when listening on Pandora.com. There could be some type of client-side check added to see whether the next song was played recently. |
It's possible Hermes is using an older API versus other Pandora clients. But as @pmetzger said, we just play what Pandora tells us to play. |
I understand. That makes this a feature request, to add a client-side check to keep songs from repeating too quickly. The current behavior is unfortunate. |
Pandora clients don't do that. Which is to say, they don't check whether songs have played recently. That's something that is done by the server. |
It's certainly not done by the server, at least not at all well; the screenshot is the proof. And I just had this exact same song repeat again today, this time with one song intervening. Pianobar's documentation says that Hermes is a client based on it. Pianobar has a command to see what songs are up next. I'm barely a scripter rather than a coder, but it would be straightforward to build a local hashtable or other list of the song IDs of the recently played songs, see what song is coming up next, and if its song ID appears in that list, play the next one instead. |
Whether it is done well by the server or not, the server is the part that selects what it's going to play you. 🤷🏻♂️ Which is to say that, fundamentally, the problem isn't Hermes but Pandora. |
There is no technical reason Hermes couldn't compensate for Pandora's error. Hermes plainly already keeps a list of what songs were played recently, since those appear in the sidebar. |
The list of previous songs is local though. Could check for duplicates. |
I too am seeing the same fews songs played quite often (same handful of songs over and over). My hunch was this is related to their Modes feature. I tested playing directly from the web UI all day yesterday and believe my hunch is accurate. I don't think I had any repeats after a few hours of playing via the web vs. Hermes. If Pandora added a 'modes' API endpoint, then Hermes could add support for it. Unfortunately their API docs are behind a login so I can't verify if that's even possible for 3rd-party clients... I see a related feature request ticket (#359). |
When it queues the next song, it should do some kind of check to see if that song has already been played in the last X number songs. I'm getting a lot of songs repeating with only a small number of different songs played in the interim, sometimes less than 5. Today Hermes just played the same song twice in a row, in a station that has over 400 thumbs-ups.
Hermes builds on pianobar, right? Is this a pianobar issue?
The text was updated successfully, but these errors were encountered: