mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-09 14:46:06 -04:00
URLs need to be handled as bytes for sound_lib.
This commit is contained in:
@@ -146,7 +146,7 @@ class URLStream(object):
|
||||
elif stream != None:
|
||||
self.stream=stream
|
||||
if self.prepared == True:
|
||||
self.stream = SoundlibURLStream(url=self.url)
|
||||
self.stream = SoundlibURLStream(url=bytes(self.url,'utf-8'))
|
||||
if hasattr(self,'stream'):
|
||||
self.stream.volume = float(volume)
|
||||
self.stream.play()
|
||||
|
Reference in New Issue
Block a user