Skip to content

ID3v2 metadata tags #4080

Answered by gAlleb
iSerganov asked this question in Q&A
Aug 7, 2024 · 3 comments · 18 replies
Discussion options

You must be logged in to vote
  1. If it is an option - you can setup a dedicated API for this, which would load the same playlist and assign new metadata to every track respectfully or keep this data as an array alongside artist - title values or DB of some sort. Then on every new track you can send current artist - title value to the API and in response get new meta (taken from an array) which you will then append:
# Create `refs`
new_isrc = ref("")
new_EncodedBy = ref("")

api_url = "http://api_url"

# Main function

def set_metadata(_)

  # API function with PUT request
  def api_put(path, data=null())

   full_url = "#{api_url}/#{path}"

     log("API #{path} - Sending PUT request to '#{full_url}' with Artist and Ti…

Replies: 3 comments 18 replies

Comment options

You must be logged in to vote
3 replies
@iSerganov
Comment options

@gAlleb
Comment options

@iSerganov
Comment options

Comment options

You must be logged in to vote
13 replies
@smoralis
Comment options

@iSerganov
Comment options

@iSerganov
Comment options

@smoralis
Comment options

@gAlleb
Comment options

Comment options

You must be logged in to vote
2 replies
@gAlleb
Comment options

Answer selected by iSerganov
@iSerganov
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants