forestbelton / naomi

just another friendly chat bot
3 stars 1 forks source link

track song duration in store #10

Open RaasAhsan opened 7 years ago

RaasAhsan commented 7 years ago

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:

RaasAhsan commented 7 years ago

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.