mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 09:49:36 +01:00
Fix for type errors with custom host/port
This commit is contained in:
@@ -33,8 +33,8 @@ def startmb(forcemb=False):
|
|||||||
sleepytime = 1
|
sleepytime = 1
|
||||||
elif headphones.MIRROR == "custom":
|
elif headphones.MIRROR == "custom":
|
||||||
mbhost = headphones.CUSTOMHOST
|
mbhost = headphones.CUSTOMHOST
|
||||||
mbport = headphones.CUSTOMPORT
|
mbport = int(headphones.CUSTOMPORT)
|
||||||
sleepytime = headphones.CUSTOMSLEEP
|
sleepytime = int(headphones.CUSTOMSLEEP)
|
||||||
elif headphones.MIRROR == "headphones":
|
elif headphones.MIRROR == "headphones":
|
||||||
mbhost = "178.63.142.150"
|
mbhost = "178.63.142.150"
|
||||||
mbport = 8181
|
mbport = 8181
|
||||||
|
|||||||
Reference in New Issue
Block a user