I think we all would really apreciate a faster automated way to upload videos.
I have been testing with 3 aproaches:
a ) mcoreuploader: A simple Upload API client from mediacore.com
b ) curl POST to "http://mediacoreip/upload/submit"
c ) Local File upload
My Results:
a) mcoreuploader (the Client upload API from mediacore.com)
seems to be quite compatible but no joy
Stuck on "Max retries exceeded for url: /api/uploader/media"
more info: https://mediacore.com/developer-platform/mcoreuploader#example
Has any body got theese uploader scripts to work with the mediacore-community version?
b) Curl POST
At the beginning it was just a desperate measure, because its not a good aproach at all, but I needed to upload 200+ videos to a new site.
No joy either, file gets uploaded but the server rejects it every time.
My personal script:
#curl -F file=@/home/NewProject.mp4 -F name=jsalgado -F email=jsalgado%40uno.com -F title=Test1 -F description=Testing http://mymediacorei-ip.tv/upload/submit
more info: http://journalxtra.com/linuxsanity/bash-linuxsanity/bash-filling-web-forms-with-curl-and-wget-3814/
c) The local file upload
I copied all my files to the mediacore server, but I Have to run a browser on the server to "upload" files that are already there!
A slightly better option was to publish an FTP server, on the same server and link ftp urls instead of uploading
Results: works but its not an improvement, its just faster.
Any ideas?