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

feat: song level play counts #459

Open
sentriz opened this issue Jan 18, 2024 · 3 comments
Open

feat: song level play counts #459

sentriz opened this issue Jan 18, 2024 · 3 comments

Comments

@sentriz
Copy link
Owner

sentriz commented Jan 18, 2024

No description provided.

@aero31aero
Copy link

aero31aero commented Jan 19, 2024

Hi, since you'd be coding this feature from scratch, for the database key, can you try to use something like acoustid_id field if present, with the filepath as a fallback? That way, if a user finds out they need to modify some metadata or rename the files, they can do it without losing track of their tracks.

I bet a lot of people running gonic already use some form of beets/picard or similar and have musicbrainz tags in their files.

@sentriz
Copy link
Owner Author

sentriz commented Jan 19, 2024

it wouldn't be from scratch, just remodelling the schema to key by track,user instead of album,user

acoustid or maybe mb recordingid is interesting though. I'll consider that

for my personal usecase it's not as important since my source of truth for playcounts is lastfm which are synced to my beets database (beets can also generate smart playlists that gonic can parse and serve)

@aero31aero
Copy link

I do that too (beet lastimport) but I supposed it'd be way out of scope of gonic to parse beets database directly, hence my suggestion.

I like your workflow suggestion though. I could rely on beets smart playlists instead of symfonium's, since all I'm doing is maintaining offline downloads using them.

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

2 participants