Commit ebc75034 authored by fred's avatar fred

consider tracks from new tracks directory when looking for what's on air

parent a9118721
......@@ -17,7 +17,8 @@ def get_current_nonstop_track():
return {}
d = {}
current_nonstop_file = soma_log_line.filepath
if not 'Tranches/' in current_nonstop_file.filepath:
if not 'Tranches/' in current_nonstop_file.filepath or (
not 'tracks/' in current_nonstop_file.filepath):
# nonstop is playing but it's not a nonstop track :/
return {}
current_track = soma_log_line.filepath.track
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment