w0rd-driven / beatseek

Seek the music you may be missing by analyzing your collection
https://beatseek.fly.dev/
MIT License
3 stars 0 forks source link

Epic :: Bug Squash #20

Closed w0rd-driven closed 1 year ago

w0rd-driven commented 1 year ago
w0rd-driven commented 1 year ago

Validation isn't necessary per https://github.com/elixir-ecto/ecto/blob/master/lib/ecto/enum.ex lines 95, 99 and 100.

w0rd-driven commented 1 year ago

Distinct year awkward patterns: 2020/2021, 2012-11-09T08:00:00Z, and 2019-11-15. Release date is always a datetime and seems to always be year-month-day. We can leverage the extra Spotify field.

I ran the prototype through the rust id3 tag version just to see if it returned different genres. Nope, still (9) and such. The genre mapping from https://en.wikipedia.org/wiki/List_of_ID3v1_Genres is relatively straightforward when using the source from https://archive.ph/20131007121137/http://www.mpx.cz/mp3manager/tags.htm#selection-565.3-867.15 because it's an easier to copy table. I outlined how I used BBEdit to transform the data, which I often do for any one-off transformations.