spotify2tidal / spotify_to_tidal

A command line tool for importing your Spotify playlists into Tidal
GNU Affero General Public License v3.0
347 stars 61 forks source link

Use new tidal API endpoint get-tracks-by-isrc #37

Open timrae opened 6 months ago

timrae commented 6 months ago

This has the potential to be significantly faster than the current implementation for spotify tracks with a known isrc: https://apiref.developer.tidal.com/

We should of course fallback on the old implementation if no result was returned (or incorrect result)

timrae commented 6 months ago

This would require an additional configuration step on the user's side to register a Tidal app and get a client key / secret. AFAICT, currently the public Tidal API doesn't support read/write to user playlists, however I suspect that in the future that all the same endpoints will eventually be supported, so probably it makes more sense to add this feature once we can switch everything over to the new API all at once.

c0ball commented 3 days ago

Since version 0.8.0of the tidalapi library has added a function to search for tracks with ISRC, it could be possible that you can now use it without first registering a Tidal app. Can someone take a look at this?