JeffreyGaydos / music-database-generator

An idea to help organize your music with extra metadata using a SQL Server Database. This repository searches through a folder and gathers metadata already in mp3 files to add to a database
2 stars 1 forks source link

Store Duration in Milliseconds rather than Seconds #31

Closed JeffreyGaydos closed 10 months ago

JeffreyGaydos commented 11 months ago

Groove Music stores duration in milliseconds, and I can't imagine any other music app getting more precise than that. Since we don't store duration in milliseconds, the total duration of a playlist (calculated from individual durations rounded to the nearest second) can vary. This doesn't affect the ability of the Groove Music playlist to work but could make the stat for that playlist or others inaccurate. By innacurate, we are talking up to 0.5 seconds per track in a playlist. This means that a playlist with 100 songs could be off by as much as 50 seconds.