Skip to content

cilt-uct/galicaster-obs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galicaster One Button Studio Plugin

This Galicaster (https://github.com/teltek/Galicaster) plugin links the complete One Button Studio process flow:

  1. Retrieves bookings made from Outlook (https://github.com/cilt-uct/obs-webservice) and adds a "My Videos" tool linked to Vula [Sakai (https://github.com/sakaiproject/sakai)].
  2. Communicates with Opencast (https://github.com/opencast/opencast) to:
  • Link to personal series or
  • Create personal series if it doesn't exist.

NOTE: if you just want this functonality it is available in this plugin: Galicaster Select User (https://github.com/cilt-uct/galicaster-select-user).

  1. Integrates with the Powermate Button to trigger recordings.
  2. Control the Mascot light and Notification lights (Red for recording / Green for ready).
  3. After upload/ingest the "My Videos" will be created in a workflow if it doesn't already exists.

Installation

  1. Copy obs.py to /[path to install]/Galicaster/galicaster/plugins/obs.py
  2. Copy over the content of resources/ui to /[path to install]/Galicaster/resources/ui
  3. If not already part of the codebase also copy:
  • galicaster/classui/recorderui.py to /[path to install]/Galicaster/galicaster/classui/recorderui.py
  • galicaster/opencast/client.py to /[path to install]/Galicaster/galicaster/opencast/client.py

NOTE:

  • galicaster/classui/recorderui.py contains changes to display the name of the selected user.
  • galicaster/opencast/client.py contains new methods that are used to communicate with Opencast External API.
  • resources/ui/series_metadata_template.json contains the template for creating the metadata for the new series.
  • resources/ui/acl_template.json contains the template for creating ACL's for the new series.
  • resources/ui/set_user.glade contains the UI elemnts for popup that shows the user selection input.

Dependencies

pip install tzlocal pyautogui evdev requests requests_futures
apt-get install python3-tk python3-dev

Configuration

vi /etc/galicaster/conf.ini

[plugins]
obs = True

[obs]
# The regular expression that defines a valid student, staff, or temporary staff number
rexexp = "[0-9]{8}|[a-zA-Z]{6}[0-9]{3}|[T|t][0-9]{7}"

# Additional filter parameters that might be usefull in finding the correct type of series
# e.g ,subject:Personal
filter = "%2Csubject%3APersonal"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages