Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lars Kruse
aura-engine
Commits
5ba8519c
Commit
5ba8519c
authored
Oct 28, 2020
by
David Trattnig
Browse files
Run without scheduler too. #39
parent
e2836b92
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/plugins/trackservice.py
View file @
5ba8519c
...
...
@@ -166,7 +166,9 @@ class TrackServiceHandler():
"""
Posts the current and next show information to the Engine API.
"""
current_playlist
=
self
.
engine
.
scheduler
.
get_active_playlist
()
current_playlist
=
None
if
self
.
engine
.
scheduler
:
current_playlist
=
self
.
engine
.
scheduler
.
get_active_playlist
()
(
past_timeslot
,
current_timeslot
,
next_timeslot
)
=
self
.
playlog
.
get_timeslots
()
data
=
dict
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment