bug fixes

first working version of re-processing
add metadata version to api updates
This commit is contained in:
Niko Storni 2019-05-08 23:12:13 +02:00
parent 1f7017f3d0
commit aecfc67f84
6 changed files with 17 additions and 12 deletions

View file

@ -183,6 +183,7 @@ func (a *APIConfig) MarkVideoStatus(channelID string, videoID string, status str
vals.Add("published_at", strconv.FormatInt(time.Now().Unix(), 10))
vals.Add("claim_id", claimID)
vals.Add("claim_name", claimName)
vals.Add("metadata_version", "2")
if size != nil {
vals.Add("size", strconv.FormatInt(*size, 10))
}