From e09526f27485bcd503a3f378ff75ef6cefe7c67e Mon Sep 17 00:00:00 2001 From: Scorch Date: Wed, 7 Apr 2021 23:32:07 +0200 Subject: [PATCH] Fixed tags Added comma between dynamic and fixed tags --- YoutubeUpload.py | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/YoutubeUpload.py b/YoutubeUpload.py index 61bad13..a56d69e 100644 --- a/YoutubeUpload.py +++ b/YoutubeUpload.py @@ -9,24 +9,6 @@ API = YoutubeAPI('./assets/client_secrets.json') - -# clip_folder = './clips/' -# clips = os.listdir(clip_folder) -# if (len(clips) == 1): -# print("NO CLIPS FOUND, EXITTING...") -# sys.exit() -# else: -# print(clips[0]) -# mp4_file = "./clips/" + clips[0] - -# if not mp4_file.endswith(".mp4"): -# mp4_file = "./clips/" + clips[1] - - -# title = mp4_file.split("/")[-1].split(".")[0] - - - def getClipNameList(folder): clips = os.listdir(clip_folder) returnClips = [] @@ -73,7 +55,7 @@ def getClipNameList(folder): ) -tags = clipData['broadcaster_name'] +tags = clipData['broadcaster_name'] + ", " with open('./assets/tags.txt', encoding="utf8") as file: tags += file.read()