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

Player Statistics #14

Open
2 tasks
maxjoehnk opened this issue May 3, 2020 · 0 comments
Open
2 tasks

Player Statistics #14

maxjoehnk opened this issue May 3, 2020 · 0 comments

Comments

@maxjoehnk
Copy link
Contributor

maxjoehnk commented May 3, 2020

Add statistics for each entity:

  • play count
  • skip count

Statistics for player usage? usual play times?

Do we want this in core?
It could be implemented as an extension but access by other extensions could be harder.
Storage in metadata section?
We could expose a basic api to access statistics from the extension.
Should we import statistics from e.g. Google Play Music?

impl StatisticExtension {
 pub fn get_track_play_count(track: &Track) -> Option<usize>;
 pub fn get_track_skip_count(track: &Track) -> Option<usize>;
 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant