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:
RemixDev 2020-10-13 19:38:50 +02:00
parent ca84380e68
commit 75f6f365c0
2 changed files with 9 additions and 4 deletions

View file

@ -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

@ -1 +1 @@
Subproject commit c1c585de3c9b76c89a8b288bf3891c431a9ea0f4
Subproject commit be5eb5244611002eb7c270b833591931042a5a84