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
310073dc
Commit
310073dc
authored
5 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
Fixed filename reference.
parent
05bb20a2
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/communicator.py
+6
-2
6 additions, 2 deletions
modules/communication/liquidsoap/communicator.py
with
6 additions
and
2 deletions
modules/communication/liquidsoap/communicator.py
+
6
−
2
View file @
310073dc
...
@@ -232,6 +232,7 @@ class LiquidSoapCommunicator(ExceptionLogger):
...
@@ -232,6 +232,7 @@ class LiquidSoapCommunicator(ExceptionLogger):
if
fade_in_time
>
0
:
if
fade_in_time
>
0
:
self
.
fade_in_active
=
True
self
.
fade_in_active
=
True
target_volume
=
new_entry
.
volume
target_volume
=
new_entry
.
volume
step
=
fade_in_time
/
target_volume
step
=
fade_in_time
/
target_volume
self
.
logger
.
info
(
"
Starting to fading
"
+
new_entry
.
type
.
value
+
"
in. step is
"
+
str
(
step
)
+
"
s. target volume is
"
+
str
(
target_volume
))
self
.
logger
.
info
(
"
Starting to fading
"
+
new_entry
.
type
.
value
+
"
in. step is
"
+
str
(
step
)
+
"
s. target volume is
"
+
str
(
target_volume
))
...
@@ -289,7 +290,10 @@ class LiquidSoapCommunicator(ExceptionLogger):
...
@@ -289,7 +290,10 @@ class LiquidSoapCommunicator(ExceptionLogger):
# grab the actual active entry
# grab the actual active entry
(
show
,
old_entry
)
=
self
.
scheduler
.
get_active_entry
()
(
show
,
old_entry
)
=
self
.
scheduler
.
get_active_entry
()
# determine its type
# determine its type
old_type
=
old_entry
.
type
# FIXME Move to <get_active_entry>
old_type
=
ScheduleEntryType
.
FILESYSTEM
if
old_entry
:
old_type
=
old_entry
.
type
try
:
try
:
# enable transaction
# enable transaction
...
@@ -319,7 +323,7 @@ class LiquidSoapCommunicator(ExceptionLogger):
...
@@ -319,7 +323,7 @@ class LiquidSoapCommunicator(ExceptionLogger):
# push to fs or stream
# push to fs or stream
if
entry
.
type
==
ScheduleEntryType
.
FILESYSTEM
:
if
entry
.
type
==
ScheduleEntryType
.
FILESYSTEM
:
self
.
playlist_push
(
entry
.
sourc
e
)
self
.
playlist_push
(
entry
.
filenam
e
)
self
.
active_channel
=
entry
.
type
self
.
active_channel
=
entry
.
type
elif
entry
.
type
==
ScheduleEntryType
.
STREAM
:
elif
entry
.
type
==
ScheduleEntryType
.
STREAM
:
...
...
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