Fixed an error when unable to play a file
This commit is contained in:
parent
3901a2a281
commit
b0642aafb7
@ -52,7 +52,6 @@ class audioPlayer(object):
|
|||||||
try:
|
try:
|
||||||
self.stream = URLStream(url=url_)
|
self.stream = URLStream(url=url_)
|
||||||
except BassError:
|
except BassError:
|
||||||
log.debug("Error when playing the file %r") % (url,)
|
|
||||||
return
|
return
|
||||||
# Translators: {0} will be replaced with a song's title and {1} with the artist.
|
# Translators: {0} will be replaced with a song's title and {1} with the artist.
|
||||||
if set_info:
|
if set_info:
|
||||||
|
Loading…
Reference in New Issue
Block a user