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
82df4649
Commit
82df4649
authored
5 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Fixed property name for start-timestamp.
parent
d81d3db8
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/communication/liquidsoap/initthread.py
+2
-2
2 additions, 2 deletions
modules/communication/liquidsoap/initthread.py
with
2 additions
and
2 deletions
modules/communication/liquidsoap/initthread.py
+
2
−
2
View file @
82df4649
...
@@ -79,7 +79,7 @@ class LiquidSoapInitThread(threading.Thread):
...
@@ -79,7 +79,7 @@ class LiquidSoapInitThread(threading.Thread):
if
channel
==
ScheduleEntryType
.
FILESYSTEM
:
if
channel
==
ScheduleEntryType
.
FILESYSTEM
:
# calc how many seconds were missed
# calc how many seconds were missed
now_unix
=
time
.
mktime
(
datetime
.
datetime
.
now
().
timetuple
())
now_unix
=
time
.
mktime
(
datetime
.
datetime
.
now
().
timetuple
())
seconds_to_seek
=
now_unix
-
self
.
active_entry
.
entry_
start_unix
seconds_to_seek
=
now_unix
-
self
.
active_entry
.
start_unix
# and seek these seconds forward
# and seek these seconds forward
if
seconds_to_seek
>
0
:
if
seconds_to_seek
>
0
:
...
@@ -112,4 +112,4 @@ class LiquidSoapInitThread(threading.Thread):
...
@@ -112,4 +112,4 @@ class LiquidSoapInitThread(threading.Thread):
install_dir
=
self
.
liquidsoapcommunicator
.
config
.
get
(
"
install_dir
"
)
install_dir
=
self
.
liquidsoapcommunicator
.
config
.
get
(
"
install_dir
"
)
self
.
liquidsoapcommunicator
.
playlist_push
(
install_dir
+
"
/configuration/blank.flac
"
)
self
.
liquidsoapcommunicator
.
playlist_push
(
install_dir
+
"
/configuration/blank.flac
"
)
# .. or the radio fro stream (it is overwritten as soon as one http overtake is planned)
# .. or the radio fro stream (it is overwritten as soon as one http overtake is planned)
self
.
liquidsoapcommunicator
.
set_http_url
(
"
http://stream.fro.at/fro-128.ogg
"
)
#
self.liquidsoapcommunicator.set_http_url("http://stream.fro.at/fro-128.ogg")
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