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

Add API call for updating stats #20

Open
justindhill opened this issue Aug 18, 2012 · 3 comments
Open

Add API call for updating stats #20

justindhill opened this issue Aug 18, 2012 · 3 comments

Comments

@justindhill
Copy link
Collaborator

Add API call for updating stats of a song, album, or artist such as play count. Perhaps more depending on how creative we want to get.

@einsteinx2
Copy link
Owner

Finished the stats API call. Play stats can now be updated, but currently we don't have any API calls to return lists based on that. We can add to the artists, albums, songs, and folders APIs to return most played, recently played, etc.

To handle recently added, we would need to record that timestamp somewhere. Potentially by adding a timestamp to the item table, and querying that.

@einsteinx2
Copy link
Owner

Added timestamp to item table which is automatically populated when creating an item id

@mdlayher
Copy link
Contributor

This obviously exists now, but are more stats calls needed at this time?

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

3 participants