sudara / alonetone

A free, open source, non-commercial home for musicians and their music
https://alonetone.com
MIT License
353 stars 93 forks source link

Listens are not registering properly #741

Open sudara opened 5 years ago

sudara commented 5 years ago

Currently

  1. Simply opening a single track page registers a listen via the track preloading.

  2. The playlists were built to be smarter and allow preloading, while registering a listen 10 seconds into playback. The playlist track calls a /listens callback — but that currently 404s — we need to register a listen there and make sure it's legit and can't be spammed.

https://github.com/sudara/alonetone/blob/master/app/controllers/playlists_controller.rb#L52

sudara commented 4 years ago

I disabled preloading with stitches, this still needs to be resolved.