mirror of
https://github.com/onyx-and-iris/duckypad-twitch.git
synced 2026-01-03 02:07:47 +00:00
add intro banner
This commit is contained in:
parent
5134c752ff
commit
426cd1be9f
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user