2017-04-23, 15:54
(2017-04-21, 04:10)jurialmunkey Wrote: @eddiewould -- I was wondering if there is any possibility of implementing the thumbs up/down feature that is used to improve the song radio? I'm really interested in doing some skin integration into the music osd that would add a button with a menu that could do: Thumb Up, Thumb Down, Save to Collection, Follow Artist, Show Artist Top Tracks, Show All Albums by Artist.
The way I'm invoking the Spotify recommendations API currently for this is very dumb and needs improvement badly. Basically:
The first time, we ask for (100 - the maximum) recommendations based on the track the user selects. We then play through those recommendations.
When we're getting low on recommendations, we take the first 5 of the remaining recommendations (which the user hasn't even listened to yet!) and ask for more recommendations based on those (Spotify allows a maximum of 5 seed tracks).
Obviously it's not ideal (it might well end up in a feedback cycle of sorts).
We could respond to a "thumbs down" button (or skipping the track before it finishes?) by ensuring the track isn't used for future recommendations.
We could respond to a "thumbs up" button (if we had one) by using the track preferentially when asking for recommendations the next time round.
Regardless, it probably needs to do something clever with respect to ageing when asking for the next lot of recommendations to avoid a feedback cycle.