A bug was found by @Zykino , when uploading a video to Peertube, if there is only one tag, the upload fail whith an error 400
Error from Peertube logs is:
"value": "Factory Builder",
"msg": "Should have correct tags",
If we add any other tags (eg something like "Factory Builder, test") it works.
"Factory Builder, test"
If we upload the video through the web interface with only one tags, it also works.
Note sure at the moment if this is a prismedia or Peertube’s API bug, I’ll need to dig it.
./prismedia_upload.py --file="file.mp4" -t "Factory Builder" --platform=peertube
Following the official doc there should be between 1 and 5 items in an array. According to the log you provided there "value" is a string instead.
I suppose this https://git.lecygnenoir.info/LecygneNoir/prismedia/src/tag/v0.7.0/lib/pt_upload.py#L207 create a string at first and then an array if we add more tag. I do not know how to fix it right now.
It’s indeed probably that. I’ll dig the library to see how to create an array at first round.
Solved by 5dc6c78211
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?