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

track song duration in store #10

Open
RaasAhsan opened this issue Nov 20, 2017 · 1 comment
Open

track song duration in store #10

RaasAhsan opened this issue Nov 20, 2017 · 1 comment
Labels

Comments

@RaasAhsan
Copy link
Collaborator

we can use youtube-dl to print the song duration, which can then be persisted in a column in the table for songs. we can do some interesting things with duration:

  • sort songs by duration
  • show how long a song is
  • show how much time is left in a song: timeStartedPlaying + songDuration - timeNow
@RaasAhsan
Copy link
Collaborator Author

to migrate to avoid data loss, we can apply our sqlite migration to add the column, then execute a script that fills in empty durations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant