voctoweb
voctoweb copied to clipboard
Expose view count per recording
AFAIK we currently only count views per event (aka talk) – Should we also count which format (hd, sd), language ('html5' recordings with single audio track), or subtitle tracks users select?
(idea came up when reading a discussion of the C3 translate team)
If this is implemented, please also consider #110
Views are recorded per recording: https://github.com/voc/voctoweb/blob/master/app/models/recording_view.rb
However those are aggregated every 15 minutes: https://github.com/voc/voctoweb/blob/master/app/models/event.rb#L74-L92
Okay looks like this is already implemented.
We should aggregate the view count not only on the event, but also on the individual recording.