diff --git a/maloja/data_files/images/artists/dummy b/maloja/data_files/images/artists/dummy new file mode 100644 index 0000000..e69de29 diff --git a/maloja/data_files/images/tracks/dummy b/maloja/data_files/images/tracks/dummy new file mode 100644 index 0000000..e69de29 diff --git a/maloja/data_files/rules/predefined/krateng_kpopgirlgroups.tsv b/maloja/data_files/rules/predefined/krateng_kpopgirlgroups.tsv index 28efdb0..426d639 100644 --- a/maloja/data_files/rules/predefined/krateng_kpopgirlgroups.tsv +++ b/maloja/data_files/rules/predefined/krateng_kpopgirlgroups.tsv @@ -67,6 +67,7 @@ replacetitle 행복 (Happiness) Happiness replacetitle 봐 Look Look replacetitle RBB (Really Bad Boy) Really Bad Boy replacetitle 7월 7일 One Of These Nights One Of These Nights +replacetitle Don't You Wait No More Don't U Wait No More # EXID countas Dasoni EXID diff --git a/maloja/data_files/settings/default.ini b/maloja/data_files/settings/default.ini index 1576615..65bd298 100644 --- a/maloja/data_files/settings/default.ini +++ b/maloja/data_files/settings/default.ini @@ -63,3 +63,4 @@ EXPERIMENTAL_FEATURES = no USE_PYHP = no #not recommended at the moment FEDERATION = yes #does nothing yet UPDATE_AFTER_CRASH = no #update when server is automatically restarted +DAILY_RESTART = 2 # hour of day. no / none means no daily restarts diff --git a/maloja/utilities.py b/maloja/utilities.py index fe53774..660a9b6 100644 --- a/maloja/utilities.py +++ b/maloja/utilities.py @@ -520,6 +520,9 @@ def send_stats(): "scrobbles":len(SCROBBLES) }).encode("utf-8") } - req = urllib.request.Request(**keys) - response = urllib.request.urlopen(req) - log("Sent daily report!") + try: + req = urllib.request.Request(**keys) + response = urllib.request.urlopen(req) + log("Sent daily report!") + except: + log("Could not send daily report!") diff --git a/maloja/web/setup.html b/maloja/web/setup.html index bf6a1ef..fed262d 100644 --- a/maloja/web/setup.html +++ b/maloja/web/setup.html @@ -119,7 +119,7 @@