Sheraff / soft-serve-tunes

Self hosted music server on raspberry pi
7 stars 0 forks source link

Spotify & audioDB results should be checked #12

Open Sheraff opened 2 years ago

Sheraff commented 2 years ago

Lastfm & acoustid results are validated by a string distance algorithm similarStrings to increase the certainty that they match the requested track.

Where a better "result selection" is needed, there are // TODO: use string distance comments. Though, the proper way of selecting a result might not simply be string distance but something more along the lines of what is done w/ acoustid results.

Potentially:

Sheraff commented 1 year ago

https://github.com/Sheraff/soft-serve-tunes/commit/23bfe7ab44b0ec1723533570d47b5463d88bc34b

=> uses string distance to select result for spotify & audiodb (does not filter out, only used to select the best one)

Sheraff commented 1 year ago

https://github.com/Sheraff/soft-serve-tunes/commit/d964771255ce3f817389dc423614a6bf51943d89

=> lastfm name correction is checked by a string distance on track creation