Skip to content

IRLToolkit/stash-247

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stash-247

A Python script which makes use of the Stash API to play back VODs.

bash-screenshot obs-preview

Getting Started (Linux/WSL)

  • You must have at least Python 3.9 installed.
  • git clone https://github.com/IRLToolkit/stash-247.git - Download the repo
  • cd stash-247 - Change directories to the repository
  • Write a file called .env to the directory with the following env values (see .env.example):
    • STASH_API_TOKEN - API token created within the stash interface
    • STASH_247_DATASTORE_ID - ID of the datastore to fetch VODs from. Available after the /dashboard/datastore/ part of the URL when viewing a datastore
    • STASH_247_DATASTORE_TAG - A tag applied to objects in the datastore, which will be used to select media to add to the playlist
    • STASH_247_OBS_WEBSOCKET_URL - obs-websocket WS URL for the OBS instance that will have the video player
    • STASH_247_OBS_WEBSOCKET_PASSWORD - obs-websocket authentication password
    • STASH_247_OBS_INPUT_UUID - Input ("source" as the UI tends to call it) UUID of a media source that this script will control
      • If you leave this value empty, then running the script will print a list of available OBS sources and their UUIDs to help you find the value you want
  • ./run.sh - Execute run.sh, which will create a new venv for you, install the dependencies, and then run the main.py script

About

A Python script which makes use of the Stash API to play back VODs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors