Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aura-engine
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Kruse
aura-engine
Commits
86aaa9a3
Commit
86aaa9a3
authored
4 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup.
parent
b1463a79
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/scheduling/scheduler.py
+2
-4
2 additions, 4 deletions
modules/scheduling/scheduler.py
with
2 additions
and
4 deletions
modules/scheduling/scheduler.py
+
2
−
4
View file @
86aaa9a3
...
@@ -175,7 +175,8 @@ class AuraScheduler(threading.Thread):
...
@@ -175,7 +175,8 @@ class AuraScheduler(threading.Thread):
def
play_active_entry
(
self
):
def
play_active_entry
(
self
):
"""
"""
Plays the entry scheduled for the current moment.
Plays the entry scheduled for the very current moment and forwards to the scheduled position in time.
Usually called when the Engine boots.
"""
"""
sleep_offset
=
10
sleep_offset
=
10
...
@@ -201,9 +202,6 @@ class AuraScheduler(threading.Thread):
...
@@ -201,9 +202,6 @@ class AuraScheduler(threading.Thread):
# Check if this is the last item of the schedule
# Check if this is the last item of the schedule
if
active_entry
.
end_unix
>
active_entry
.
playlist
.
schedule
.
end_unix
:
if
active_entry
.
end_unix
>
active_entry
.
playlist
.
schedule
.
end_unix
:
self
.
queue_end_of_schedule
(
active_entry
,
True
)
self
.
queue_end_of_schedule
(
active_entry
,
True
)
else
:
#Otherwise only queue the regular end of the entry
#FIXME
self
.
logger
.
error
(
SimpleUtil
.
red
(
"
--FIXME-- Implement queue EOE
"
))
# Fast-forward to the scheduled position
# Fast-forward to the scheduled position
if
seconds_to_seek
>
0
:
if
seconds_to_seek
>
0
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment