Skip to content

Commit

Permalink
Fixed tags
Browse files Browse the repository at this point in the history
Added comma between dynamic and fixed tags
  • Loading branch information
ScorchChamp committed Apr 7, 2021
1 parent e51ab25 commit e09526f
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions YoutubeUpload.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit e09526f

Please sign in to comment.