-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial commit for script to create sample data on an Opencast system #50
base: master
Are you sure you want to change the base?
Conversation
Basic request to ingest a test video. the creator and title of the event are now randomly generated. more parameters should be added and randomly generated.
…est video when calling the script
The script can now be configured to create a specified number of Series. The events will be randomly added to certain Series. More meta data (location, series, and more acl details) are added to each event. Changed the testing video file in the configurations.
import os | ||
import sys | ||
|
||
sys.path.append(os.path.join(os.path.abspath('..'), "lib")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has to be ../.. for the lib directory here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me it is working with ..
while with ../..
it does not work.
But I am also always calling the script via python generate_events/main.py
.
I don't seem to be able to find the requisite This also is somewhat replaced by https://github.com/opencast/helper-scripts/blob/master/ingest/ingest.py, although this might be more suited for a 'generate a bulk of data' scenario. Are you able to keep working on this? |
No description provided.