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

Fix Repeat Ingestions of Old Tracks #52

Closed JeffreyGaydos closed 1 month ago

JeffreyGaydos commented 1 month ago

Seems to be something to do with the update dates.

When the last modified date gets out of sync (in this case I believe I modified a file, then modified it back to its original state), we hit a new "None" branch in the code that runs slightly slower than the "Skipped" branch. The reason these files repeatedly ingest is because we don't update the modified date, so once we hit the new "None" branch, those files will continue to hit that branch until the modified date changes manually.