-
-
Notifications
You must be signed in to change notification settings - Fork 36
Add support for ISRCs #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
A new table in the DB was created for ISRCs, aptly named This command can be used to add it to the DB It has two columns, one referencing a single |
Current Version
With ISRC Support
|
New ISRC lookup endpoint
New ISRC submission endpoint
Body: |
17 million tracks in the db, 1 isrc per track, 28363520 passes per isrc = 482 trillion sha256 passes Can you make an antminer integration? |
Yeah... I was waiting for comments from the original author on a better way to do ratelimiting
Proof of work rate limiting is just bad on so many levels I'm going to remove it for now |
isrcs: Option<Vec<String>>toTrackResponsesubmit_isrcsandget_track_by_isrctotrack_repositoryget_isrcs_for_tracktotrack_repositoryget_track_by_id,get_track_by_metadata, andget_tracks_by_keywordintrack_repositoryto perform a lookup in theisrcsDB table after the first lookup in order to serve ISRCs in theTrackResponseadd_one_tx, andadd_oneintrack_repositoryto insert ISRCs into theisrcstable when providedisrcsfield when adding new track entry/get/isrc/?atget_lyrics_by_isrc.rsget_track_by_isrcmethod/submit-isrcsisrcsandtrack_idas a payloadX-Publish-Tokento submit an ISRCroutes.rswith new routeslib.rswith new routeslib.rsto fix non-unix support