Skip to content

Linkcube/shizu-assistance-contained

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shizu Assistance (Contained)

Status: Basic Functionality

Manage organization members, assets, events and themes for OBS DJ steams.

This is a containerization and subsequent development of Shizu OBS Assisstant, with support to import JSON data from the previous program.

Setup

Install docker

Copy .env_defaults to .env, and fill out the use specific values as needed.
Check out Environment Setup for more details.

Run docker compose up -d in the root directory.

Access

This program is intended to be interracted with either through the included GUI service, or through a 3rd party bot (TBD), allowing flexibility of use.

GUI: Default access http://localhost:5000/

Bot API: Under development.

OBS script: Run inside OBS, checkout the ReadMe for detailed execution.

Environment Setup

The .env file manages shared file mounts and secrets for the services.

Required to change:

Key Description
LOCAL_LOGOS_PATH Host machine path to mount for logo files
LOCAL_RECORDINGS_PATH Host machine path to mount for dj recording files
LOCAL_THEMES_PATH Host machine path to mount for theme assets
LOCAL_EXPORT_PATH Host machine path to mount for event exports
LOCAL_IMPORT_PATH Host machine path to mount for Shizu OBS Assisstant ledger and exported lineups
RTMP_SERVER Format string for DJ RTMP live stream, is formatted with rtmp-zone, dj-key
FILE_SERVER_AUTHORIZATION Authorization header for downloading URL assets
OBS_CHAT_URL Link for OBS browser scene source, only used if a theme is configured for the event


System definitions, change at your own risk:

Key Description
DOCKER_*_PATH Same as the above LOCAL*_PATH but for internal docker paths
POSTGRES_* Postgresql config

Changes from Shizu OBS Assistance

This section will list the impact of architectural changes made to aspects of the program, going in depth on new features.

Data storage

  • Moved to a SQL database for storing program data
  • Upgrades will use DB migrations to preserve table validity

Asset References

  • Assets can now be referenced either as a local file or URL
  • URL assets without a local file will be downloaded at event export

DJ previous events

  • When exporting an event, all included DJ members will have the event added to a new last_events field.

Program Settings

  • Settings are now defined and managed by docker
  • Shared across all services to maintain consistency of file paths and secrets
  • No longer managed in the GUI

Theme Management

  • A new entry has been added for OBS themes, this keeps track of assets for starting, ending, and overlay files.
  • Events now have a theme field for export

API Documentation

After standing up the docker containers, a redoc .html file will have been built. This can be accessed from {your-host}:4004/openapi/redoc for barebones documentation on the backend api.

About

Containerized version of https://github.com/Linkcube/ShizuObsAssistant, allows for a dockerized standup of the DB and all services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published