Marvin
d2f93f7c8a
fix(playout): when shows ends, next shows starts without fade-in/fade-out ( #2412 )
...
Tracks are not fading with the crossfade function which leads to hard cuts at the end of tracks and shows. Therefore the explicit fade functions are used.
In Liquidsoap version 1.4.3. crossfade is implemented as a cross with a custom transition (fade_in and fade_out).
9f730f2c5f/src/libs/fades.liq (L433-L436)
The "duration" argument is passed through to the cross function.
In the implementation of the cross operator the value duration is used to determine how log the crossfade should take.
It is set to the cross_lenght parameter
f075905715/src/operators/cross.ml (L30-L34)
This can be overwritten with metadata, but the current annotation does not include a "override_duration" field so in our case it is always 0.
f075905715/src/operators/cross.ml (L186-L198)
So I assume the crossfade is starting to fade.out the track but because the duration is set to 0. the "cross" is completed immediately and the next source of the queue is started. Our queues do only ever contain one track at a time so there is no next source to play.
The next queue is activated and the same happens for the fade.in.
Replacing the crossfade with a fade.in/out removes this time boundary as there is no longer a "cross" function involved.
Until the tag 3.0.0-alpha.8 there was a custom crossfade_airtime function.
In tag 3.0.0-alpha.9 it was replaced with the crossfade function but was unable to find why.
ecd302068c/python_apps/pypo/liquidsoap/1.4/ls_script.liq (LL76C9-L76C18)
Co-authored-by: Marvin <Marvin>
2023-03-02 20:20:09 +01:00
jo
59f0ed3335
chore: use title for image alternative
2023-03-02 16:10:08 +01:00
jo
ec83cf6409
chore: don't check youtube nocookie links
2023-03-02 16:29:12 +02:00
jo
632aec2eed
chore: update docs link
2023-03-02 16:29:12 +02:00
jo
a2247d90f5
chore: bump copyright year
2023-03-02 16:29:12 +02:00
jo
6e6c7095f4
chore: development process is in contributing
2023-03-02 16:29:12 +02:00
jo
90d682a799
ci: update docker hub containers description
2023-03-02 16:29:12 +02:00
Jonas L
32e0c2a15e
docs: remove warning about docker install ( #2411 )
2023-02-28 09:07:00 +02:00
renovate[bot]
fca715e98b
chore(deps): update dependency djangorestframework-stubs to >=1.8.0,<1.10
2023-02-27 14:38:08 +01:00
Jonas L
03e17001d8
ci: replace deprecated set-output ( #2408 )
2023-02-27 14:54:14 +02:00
libretime-bot
fb3fc74705
chore(legacy): update locales
2023-02-27 12:16:32 +00:00
jo
be3964c108
ci: use bot to update locales
2023-02-27 14:10:56 +02:00
jo
d4a4c34c4d
ci: allow manual ci trigger
2023-02-27 14:10:56 +02:00
jo
7d1f9252b2
chore(playout): remove banner in logs
2023-02-27 06:42:33 +02:00
jo
331b203ef8
chore(playout): remove unused imports
2023-02-27 06:42:33 +02:00
jo
0c2b2c6b63
test(playout): generated liquidsoap script syntax
2023-02-27 06:42:33 +02:00
jo
654105e865
fix(playout): %else is not defined
2023-02-27 06:42:33 +02:00
jo
9384df7be2
Merge branch '3.0.x' into main
2023-02-26 20:16:38 +01:00
jo
e88e843b65
refactor(playout): add typings and fix linting errors
...
move EVENT_KEY_FORMAT to events module
properly type fetch queue
event start/end can be str or datetime
2023-02-26 20:05:12 +01:00
jo
3fba7c73d3
refactor(playout): remove unecesary cache dir creation
2023-02-26 20:05:12 +01:00
jo
00648b8f94
refactor(playout): unwrap schedule.media dict
2023-02-26 20:05:12 +01:00
jo
0d4e2823e2
refactor(playout): add event dict typings
2023-02-26 20:05:12 +01:00
jo
cd0d9b6f4a
refactor(playout): rename event kinds enums
2023-02-26 20:05:12 +01:00
jo
78c74f47ca
feat(playout): use shared app for cli commands
2023-02-26 20:41:38 +02:00
jo
a71606d39c
feat(playout): enable vorbis metadata per icecast output
...
Use new jinja template system to tweak the streams per output.
2023-02-26 20:41:38 +02:00
jo
00b5c08647
feat(playout): use jinja to configure liquidsoap outputs
2023-02-26 20:41:38 +02:00
jo
85aa0174c3
test(playout): more entrypoint config test cases
2023-02-26 20:41:38 +02:00
jo
a397ad3e32
fix(playout): use package loader for liquidsoap templates
2023-02-26 20:41:38 +02:00
jo
843ce32579
fix(playout): flush liquidsoap response before sending new
2023-02-26 20:41:38 +02:00
jo
eca320da5a
chore: configure more outputs for dev setup
2023-02-26 20:41:38 +02:00
Jonas L
0aa2a92d3f
docs: add pulseaudio output in containers tutorial ( #2166 )
2023-02-26 20:39:10 +02:00
jo
fdd77ba8de
chore: push containers to docker.io
...
We should now mirror gcr.io with docker.io
2023-02-26 20:37:27 +02:00
jo
0dd034b7b6
ci: use bake file for container build
2023-02-26 20:37:27 +02:00
Jonas L
d6d1b83513
chore: add security policy ( #2378 )
2023-02-26 20:35:03 +02:00
jo
9814958065
docs: stop providing maintenance releases for old distributions
2023-02-26 20:34:30 +02:00
jo
0583fe54fa
docs: adapt c4 to our workflows
2023-02-26 20:34:30 +02:00
jo
5fbd4f54a2
fix(legacy): on air light fails when no shows are scheduled
2023-02-26 18:13:00 +01:00
jo
861698987c
refactor: don't use f-string on logging statements
...
The strings are now be formatted if the logging level is enabled.
2023-02-26 19:09:51 +02:00
jo
c414068c16
test: re-enable pylint logging-fstring-interpolation
2023-02-26 19:09:51 +02:00
jo
c6940db289
feat: replace loguru with logging
2023-02-26 19:09:51 +02:00
Jonas L
cced09f1ac
ci: update locales weekly, not for every commit ( #2403 )
2023-02-26 19:07:04 +02:00
jo
719d7cff36
fix(playout): use the same number of schedule queues
2023-02-25 21:43:37 +02:00
jo
a59599971b
fix(playout): skip the identified queue instead of the current
...
Calling queues.s0_skip, liquidsoap was actually calling queues.s8_skip, because the current queue was 8
2023-02-25 21:43:37 +02:00
jo
d497c665cc
refactor(playout): rename web_stream functions
2023-02-25 21:43:37 +02:00
jo
196fc1ddf8
fix(playout): use explicit ids for liquidsoap components
2023-02-25 21:43:37 +02:00
jo
8155eb1a22
chore(playout): change quotes
2023-02-25 21:43:37 +02:00
jo
cd2cd66bdf
refactor(playout): rename input_check_auth handlers
2023-02-25 21:43:37 +02:00
jo
2f9f60e639
refactor(playout): rename inputs sources variables
2023-02-25 21:43:37 +02:00
jo
8ed23c9e98
refactor(playout): rename inputs on_* handlers
2023-02-25 21:43:37 +02:00
jo
9a815d68ff
refactor(playout): rename liquidsoap switch functions
2023-02-25 21:43:37 +02:00