damn errors
This commit is contained in:
parent
d136348371
commit
f46a5f9d14
3 changed files with 1 additions and 1 deletions
BIN
archive/.log
BIN
archive/.log
Binary file not shown.
BIN
archive/dogzilar123/video/raw/LIVE_20230219_13h48m48s.ts
Normal file
BIN
archive/dogzilar123/video/raw/LIVE_20230219_13h48m48s.ts
Normal file
Binary file not shown.
|
|
@ -167,7 +167,7 @@ class TwitchArchive:
|
|||
if self.quality == 'audio_only':
|
||||
live_proc_path = os.path.join(self.video_path, "LIVE_" + live_raw_filename + ".mp3")
|
||||
|
||||
if (os.getenv("OAUTH-PRIVATE-TOKEN") != "" or os.getenv("OAUTH-PRIVATE-TOKEN") is not None or os.getenv("OAUTH-PRIVATE-TOKEN") != "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"):
|
||||
if (os.getenv("OAUTH-PRIVATE-TOKEN") != "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"):
|
||||
auth = ['--twitch-api-header', 'Authorization=OAuth ' + os.getenv('OAUTH-PRIVATE-TOKEN')]
|
||||
else: auth = ''.split()
|
||||
self.sendNotif('Stream - ' + live_raw_filename, 'Streamer went live: ' + is_live["title"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue