Most tags are lists

This commit is contained in:
Lartza 2018-06-19 14:33:48 +03:00
parent f7ab210b8a
commit 6edec5e0ec

View File

@ -325,7 +325,7 @@ class MumbleBot:
mp3 = path.replace(".%(ext)s", ".mp3") mp3 = path.replace(".%(ext)s", ".mp3")
if os.path.isfile(mp3): if os.path.isfile(mp3):
audio = EasyID3(mp3) audio = EasyID3(mp3)
video_title = audio["title"] video_title = audio["title"][0]
else: else:
ydl_opts = { ydl_opts = {
'format': 'bestaudio/best', 'format': 'bestaudio/best',