Skip to content
Snippets Groups Projects
Commit dc9a32c9 authored by David Trattnig's avatar David Trattnig
Browse files

Corrected dictionary return value; updated test-files.

parent 1e881f3f
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ class AuraScheduler(ExceptionLogger, threading.Thread):
lastentry = entry
return None
return None, None
# ------------------------------------------------------------------------------------------ #
def load_programme_from_db(self, silent=False):
......@@ -413,11 +413,11 @@ class AuraScheduler(ExceptionLogger, threading.Thread):
self.logger.critical(str(show) + " " + str(entry))
if fallbackname == "station":
file = "/var/audio/fallback/eins.zwo.bombe.flac"
file = "/home/david/Code/aura/engine/testing/content/1.flac"
elif fallbackname == "timeslot":
file = "/var/audio/fallback/ratm.killing.flac"
file = "/home/david/Code/aura/engine/testing/content/2.flac"
elif fallbackname == "show":
file = "/var/audio/fallback/weezer.hash.pipe.flac"
file = "/home/david/Code/aura/engine/testing/content/3.flac"
else:
file = ""
self.logger.critical("Should set next fallback file for " + fallbackname + ", but this playlist is unknown!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment