commit eb8778f263793b5c104f8a49509227ec5e58a6d5
parent 13ddc7c961c0ddaf88131a3b3fe255cc6b71010c
Author: gearsix <gearsix@tuta.io>
Date: Fri, 29 Mar 2024 11:56:54 +0000
Merge branch 'develop' of notabug.org:gearsix/sya into develop
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sya.py b/src/sya.py
@@ -53,7 +53,7 @@ def get_audio(youtubedl, url, outdir, format='mp3', quality='320K', keep=True, f
def load_tracklist(path):
tracklist = []
url = ''
- tracklist_file = open(path, mode = 'r')
+ tracklist_file = open(path, mode = 'r', encoding='utf-8', errors='ignore')
for i, t in enumerate(tracklist_file.readlines()):
t = t.strip('\n\t ')
if i == 0: