add intro banner

This commit is contained in:
Onyx and Iris 2026-01-02 06:31:44 +00:00
parent 5134c752ff
commit 426cd1be9f

View File

@ -9,6 +9,8 @@ from duckypad_twitch import configuration
logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)
def register_hotkeys(duckypad):
def audio_hotkeys():
@ -63,5 +65,21 @@ def run():
register_hotkeys(duckypad)
banner_width = 80
logger.info(
'\n'.join(
(
'\n' + '#' * banner_width,
'Duckypad Twitch is running. ',
'Run sound test and gain stage mics to verify audio setup.',
'Then start the stream.',
"Don't forget Voicemeeter starts in Only Stream mode!",
'So first unmute mics, then give stream introduction, then disable Only Stream mode.',
'Now you are live with mics unmuted!',
'#' * banner_width,
)
)
)
print('press ctrl+shift+F24 to quit')
keyboard.wait('ctrl+shift+F24')