Skip to content
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

Record number of audio plays #7

Open
zefir-git opened this issue Jul 4, 2024 · 0 comments
Open

Record number of audio plays #7

zefir-git opened this issue Jul 4, 2024 · 0 comments
Labels
Milestone

Comments

@zefir-git
Copy link
Member

zefir-git commented Jul 4, 2024

Record how many times each user (from #6) has played a given track. This feature should have an "off" switch in the config (either global or per-user).

On the front-end, this will be used to sort the user's tracks, albums, artists, etc. based on number of plays on the home page (the Library) page. It could also be used to show the user their stats.

This could either be implemented server-side, e.g. tracking how much times the audio of a track was sent or the front-end client could send a request to the server.

IMO the latter would be more reliable if the user is skipping through tracks without actually listening to them. The client could send a request to the API whenever a track has finished. The client could send fractional numbers, indicating the fraction of the track that was actually played.

@zefir-git zefir-git added this to the 1.0.0 milestone Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Proposal
Development

No branches or pull requests

1 participant