diff --git a/command.py b/command.py index 969644e..54b9e29 100644 --- a/command.py +++ b/command.py @@ -97,7 +97,6 @@ song_shortlist = [] def cmd_joinme(bot, user, text, command, parameter): global log - print(bot.mumble.users[text.actor]['channel_id']) bot.mumble.users.myself.move_in( bot.mumble.users[text.actor]['channel_id'], token=parameter) diff --git a/media/url.py b/media/url.py index f5f4163..80ac818 100644 --- a/media/url.py +++ b/media/url.py @@ -130,6 +130,8 @@ class URLItem(BaseItem): return True except youtube_dl.utils.DownloadError: pass + except KeyError: # info has no 'duration' + break if not succeed: self.ready = 'failed'