Attempt to fix proxy not working in audio playback

This commit is contained in:
Manuel Cortez 2019-01-25 11:46:15 -06:00
parent 93d1de941c
commit da66118d20

View File

@ -33,9 +33,6 @@ class audioPlayer(object):
bassconfig = BassConfig()
# Set timeout connection to 30 seconds.
bassconfig["net_timeout"] = 30000
# Adds proxy settings
if config.app["app-settings"]["use_proxy"] == True:
bassconfig["net_proxy"] = b"socializer:socializer@socializer.su:3128"
def play(self, url, set_info=True, fresh=False):
if self.stream != None and self.stream.is_playing == True: