Is it possible to add videos in bulk by a script instead of using the upload page of MediaCMS? #960
foeyonghai
started this conversation in
General
Replies: 1 comment
-
Using the Django shell you can run this script that will allow you to import all the files within a directory without uploading and having a copy created. Enter the shell Then run the script below, remember to swap out the directory_path to the directory that you want to import.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all,
I have a lot of videos that I want to add without using the upload feature of MediaCMS because I prefer to script this when possible. Maybe someone already did this before and wants to share his/her experiences? The reason that I want to script this is because the upload page of MediaCMS often gets erros like "upload failed", where afterwards strangely enough the upload succeeded. This is just one example. Maybe the API can be used for example?
I have limited experience in Python but I am learning and also really want to learn.
Many thanks for your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions