Commit Graph

18662 Commits

Author SHA1 Message Date
jo c290aece92 docs: docker-compose env variables setup 2023-03-15 11:52:00 +00:00
jo 00ceb9bd46 fix: move docker specific setup to dockerfile 2023-03-15 11:52:00 +00:00
jo b675e04df2 fix: allow overriding docker-compose predefined environment 2023-03-15 11:52:00 +00:00
jo b87b8e5076 fix: pin rabbitmq version in docker-compose 2023-03-15 11:52:00 +00:00
jo 0bdbc0425f fix: pin postgresql version in docker-compose 2023-03-15 11:52:00 +00:00
renovate[bot] 903a643c01 chore(deps): update dependency sentry-sdk to >=1.15.0,<1.17 2023-03-15 11:16:08 +01:00
jo b7214b5d46 feat: add sentry sdk 2023-03-14 14:59:45 +00:00
jo a60d83311b feat: add python packages version 2023-03-14 14:59:45 +00:00
jo 72aa1c1dae fix(api): explicit FileImportStatusEnum in schema 2023-03-14 13:29:55 +01:00
renovate[bot] 81db2a55c5 chore(deps): update dependency drf-spectacular to >=0.22.1,<0.27 2023-03-14 13:29:55 +01:00
jo c7c8207df3 test(shared): fix linting errors 2023-03-14 11:23:14 +00:00
jo 38bff1d4df test(api): fix linting errors 2023-03-14 11:23:14 +00:00
jo b4827112a2 ci: run all tests on python tools changes 2023-03-14 11:23:14 +00:00
renovate[bot] 89372aee82 fix(deps): update dependency friendsofphp/php-cs-fixer to <3.15.2 2023-03-14 10:51:19 +01:00
Kyle Robbertze 5aac4eb3a9 ci: allow Falso as a word in codespell 2023-03-14 08:51:52 +00:00
renovate[bot] b367c1f7ee chore(deps): update pre-commit hook codespell-project/codespell to v2.2.4 2023-03-14 08:51:52 +00:00
Kyle Robbertze 3a8b58115d ci: allow Falso as a word in codespell 2023-03-14 08:45:26 +00:00
renovate[bot] aec97b4125 chore(deps): update pre-commit hook codespell-project/codespell to v2.2.4 2023-03-14 08:45:26 +00:00
Weblate (bot) 803f950c69
chore(legacy): translated using weblate (Portuguese (Brazil)) (#2434)
Currently translated at 54.2% (509 of 939 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/pt_BR/

Co-authored-by: Felipe Nogueira <contato.fnog@gmail.com>
2023-03-10 11:24:59 +00:00
renovate[bot] 0e9df2535f
chore(deps): update dependency mypy to v1.1.1 (#2430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:31:56 +00:00
renovate[bot] 66c9e305a1
chore(deps): update dependency pylint to >=2.16.1,<2.18 (#2431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:24:41 +00:00
Weblate (bot) b02c1d038c
chore(legacy): translated using weblate (French) (#2429)
Currently translated at 100.0% (939 of 939 strings)

Translation: LibreTime/Legacy
Translate-URL: https://hosted.weblate.org/projects/libretime/legacy/fr/

Co-authored-by: Jonas L <ljonas@riseup.net>
2023-03-07 10:34:54 +00:00
renovate[bot] 868faf928c
chore(deps): lock file maintenance (legacy/composer.json) (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-06 08:58:21 +02:00
jo 719464a272 refactor(playout): add more typings 2023-03-04 17:06:16 +02:00
jo a32d9d25f1 fix(shared): return type confusion 2023-03-04 17:06:16 +02:00
jo 548d1befc8 test(playout): check untyped defs with mypy 2023-03-04 17:06:16 +02:00
jo 1bdfeb570d fix(playout): use int for liquidsoap queues map 2023-03-04 17:06:16 +02:00
jo 9f92ed95b4 test(playout): allow pylint failure 2023-03-04 17:06:16 +02:00
jo b17ff4afad test(playout): silence existing broad-exception-caught errors 2023-03-04 17:06:16 +02:00
jo a77321190f refactor(playout): fix linting errors 2023-03-04 17:06:16 +02:00
jo c6c5b1125f refactor(playout): generate entrypoint to string 2023-03-04 17:06:16 +02:00
jo f09d0ec3c6 refactor(playout): remove unused recorder 2023-03-04 17:06:16 +02:00
jo 0a9848efdd refactor(playout): init mimetypes only once 2023-03-04 17:06:16 +02:00
jo c7c3dba712 fix(playout): prevent unbound variables 2023-03-04 17:06:16 +02:00
jo 4a14b6b01f refactor(playout): update liquidsoap input auth handler 2023-03-04 17:06:16 +02:00
jo ac8917e3fc fix(playout): explicit ogg vorbis icecast encoder 2023-03-04 17:06:16 +02:00
jo 7f81915eb4 fix(playout): legacy pushes non validated data
When querying the API we serialize the message format into a dict, but legacy pushes the data and we don't yet serialize that data.
2023-03-04 17:06:16 +02:00
jo 0b3dbe8505 chore(playout): disable amqp debug logs 2023-03-04 17:06:16 +02:00
jo 5042704d42 feat(playout): don't serialize message twice 2023-03-04 17:06:16 +02:00
Jonas L 5983b2e9de
ci: replace stale bot with stale action (#2421)
Fixes #2420
2023-03-04 15:00:30 +00:00
Jonas L 2facdc61ed
feat(installer): configure timezone using timedatectl (#2418) 2023-03-03 17:53:56 +02:00
Jonas L 11e8cac471
chore: add contributors listing tool (#2417)
Yet another contributors listing script, sorry...
2023-03-02 22:09:32 +02:00
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