mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2024-12-28 02:16:16 +00:00
Added pl and fixed es languages
Fixed flags size in settings Added notification icon when a stable update is available
This commit is contained in:
parent
ca84380e68
commit
75f6f365c0
11
server.py
11
server.py
|
@ -133,8 +133,8 @@ def on_connect():
|
|||
emit('init_home', app.get_home(session['dz']))
|
||||
emit('init_charts', app.get_charts(session['dz']))
|
||||
|
||||
if not app.isDeezerAvailable:
|
||||
emit('deezerNotAvailable')
|
||||
if app.updateAvailable: emit('updateAvailable')
|
||||
if not app.isDeezerAvailable: emit('deezerNotAvailable')
|
||||
|
||||
@socketio.on('get_home_data')
|
||||
def get_home_data():
|
||||
|
@ -343,7 +343,12 @@ def run_server(host="127.0.0.1", port=6595, portable=None, guiWindow=None, serve
|
|||
print("Server-wide ARL enabled.")
|
||||
arl = app.getConfigArl()
|
||||
print("Starting server at http://" + host + ":" + str(port))
|
||||
socketio.run(server, host=host, port=port)
|
||||
try:
|
||||
socketio.run(server, host=host, port=port)
|
||||
except UnicodeDecodeError as e:
|
||||
print(str(e))
|
||||
print("A workaround for this issue is to remove all non roman characters from the computer name")
|
||||
print("More info here: https://codeberg.org/RemixDev/deemix-pyweb/issues/28")
|
||||
|
||||
def shutdown_handler(signalnum, frame):
|
||||
shutdown()
|
||||
|
|
2
webui
2
webui
|
@ -1 +1 @@
|
|||
Subproject commit c1c585de3c9b76c89a8b288bf3891c431a9ea0f4
|
||||
Subproject commit be5eb5244611002eb7c270b833591931042a5a84
|
Loading…
Reference in a new issue