codemirror-lang-liquidsoap 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tests/liquidsoap/.codespellignore +0 -14
- package/tests/liquidsoap/.gitattributes +0 -2
- package/tests/liquidsoap/.github/FUNDING.yml +0 -12
- package/tests/liquidsoap/.github/ISSUE_TEMPLATE/bug_report.md +0 -27
- package/tests/liquidsoap/.github/ISSUE_TEMPLATE/feature_request.md +0 -19
- package/tests/liquidsoap/.github/ISSUE_TEMPLATE/question.md +0 -13
- package/tests/liquidsoap/.github/alpine/APKBUILD-minimal.in +0 -29
- package/tests/liquidsoap/.github/alpine/APKBUILD.in +0 -28
- package/tests/liquidsoap/.github/alpine/liquidsoap.pre-install +0 -7
- package/tests/liquidsoap/.github/debian/compat +0 -1
- package/tests/liquidsoap/.github/debian/control.in +0 -118
- package/tests/liquidsoap/.github/debian/dirs +0 -4
- package/tests/liquidsoap/.github/debian/install +0 -4
- package/tests/liquidsoap/.github/debian/manpages +0 -1
- package/tests/liquidsoap/.github/debian/postinst +0 -40
- package/tests/liquidsoap/.github/debian/postrm +0 -11
- package/tests/liquidsoap/.github/debian/rules +0 -29
- package/tests/liquidsoap/.github/debian/rules-minimal +0 -30
- package/tests/liquidsoap/.github/debian/source/format +0 -1
- package/tests/liquidsoap/.github/docker/Dockerfile-armhf.production +0 -35
- package/tests/liquidsoap/.github/docker/Dockerfile.production +0 -35
- package/tests/liquidsoap/.github/docker/Dockerfile.production-alpine +0 -16
- package/tests/liquidsoap/.github/docker/Dockerfile.website +0 -63
- package/tests/liquidsoap/.github/opam/liquidsoap-core-windows.opam +0 -181
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-av-windows/ffmpeg-av-windows.1.2.0/opam +0 -38
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-avcodec-windows/ffmpeg-avcodec-windows.1.2.0/opam +0 -37
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-avdevice-windows/ffmpeg-avdevice-windows.1.2.0/opam +0 -37
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-avfilter-windows/ffmpeg-avfilter-windows.1.2.0/opam +0 -37
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-avutil-windows/ffmpeg-avutil-windows.1.2.0/opam +0 -37
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-swresample-windows/ffmpeg-swresample-windows.1.2.0/opam +0 -38
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-swscale-windows/ffmpeg-swscale-windows.1.2.0/opam +0 -37
- package/tests/liquidsoap/.github/opam/packages/ffmpeg-windows/ffmpeg-windows.1.2.0/opam +0 -35
- package/tests/liquidsoap/.github/opam/packages/metadata/metadata.0.3.0/opam +0 -33
- package/tests/liquidsoap/.github/opam/repo +0 -1
- package/tests/liquidsoap/.github/scripts/add-local-opam-packages.sh +0 -17
- package/tests/liquidsoap/.github/scripts/build-apk.sh +0 -106
- package/tests/liquidsoap/.github/scripts/build-deb.sh +0 -111
- package/tests/liquidsoap/.github/scripts/build-details.sh +0 -84
- package/tests/liquidsoap/.github/scripts/build-doc.sh +0 -12
- package/tests/liquidsoap/.github/scripts/build-docker-alpine.sh +0 -32
- package/tests/liquidsoap/.github/scripts/build-docker.sh +0 -40
- package/tests/liquidsoap/.github/scripts/build-posix.sh +0 -107
- package/tests/liquidsoap/.github/scripts/build-website.sh +0 -15
- package/tests/liquidsoap/.github/scripts/build-win32.sh +0 -86
- package/tests/liquidsoap/.github/scripts/checkout-deps.sh +0 -18
- package/tests/liquidsoap/.github/scripts/export-metrics.sh +0 -17
- package/tests/liquidsoap/.github/scripts/push-docker.sh +0 -72
- package/tests/liquidsoap/.github/scripts/stats-posix.sh +0 -20
- package/tests/liquidsoap/.github/scripts/test-posix.sh +0 -16
- package/tests/liquidsoap/.github/stale.yml +0 -22
- package/tests/liquidsoap/.github/win32/log/.keep +0 -0
- package/tests/liquidsoap/.github/win32/run/.keep +0 -0
- package/tests/liquidsoap/.github/win32/test.liq +0 -26
- package/tests/liquidsoap/.github/workflows/ci.yml +0 -765
- package/tests/liquidsoap/.ocamlformat +0 -10
- package/tests/liquidsoap/.pre-commit-config.yaml +0 -60
- package/tests/liquidsoap/CHANGES.md +0 -2414
- package/tests/liquidsoap/CITATION.cff +0 -17
- package/tests/liquidsoap/COPYING +0 -340
- package/tests/liquidsoap/Makefile +0 -4
- package/tests/liquidsoap/README.md +0 -131
- package/tests/liquidsoap/RELEASING +0 -19
- package/tests/liquidsoap/ROADMAP.md +0 -71
- package/tests/liquidsoap/doc/Makefile +0 -17
- package/tests/liquidsoap/doc/content/beets.md +0 -138
- package/tests/liquidsoap/doc/content/blank.md +0 -38
- package/tests/liquidsoap/doc/content/book.md +0 -11
- package/tests/liquidsoap/doc/content/build.md +0 -112
- package/tests/liquidsoap/doc/content/clocks.md +0 -312
- package/tests/liquidsoap/doc/content/complete_case.md +0 -29
- package/tests/liquidsoap/doc/content/cookbook.md +0 -366
- package/tests/liquidsoap/doc/content/crossfade.md +0 -26
- package/tests/liquidsoap/doc/content/custom-path.md +0 -77
- package/tests/liquidsoap/doc/content/database.md +0 -126
- package/tests/liquidsoap/doc/content/documentation.md +0 -89
- package/tests/liquidsoap/doc/content/dynamic_sources.md +0 -26
- package/tests/liquidsoap/doc/content/encoding_formats.md +0 -278
- package/tests/liquidsoap/doc/content/external_decoders.md +0 -103
- package/tests/liquidsoap/doc/content/external_encoders.md +0 -58
- package/tests/liquidsoap/doc/content/external_streams.md +0 -35
- package/tests/liquidsoap/doc/content/faq.md +0 -224
- package/tests/liquidsoap/doc/content/ffmpeg.md +0 -324
- package/tests/liquidsoap/doc/content/ffmpeg_cookbook.md +0 -73
- package/tests/liquidsoap/doc/content/ffmpeg_encoder.md +0 -195
- package/tests/liquidsoap/doc/content/ffmpeg_filters.md +0 -164
- package/tests/liquidsoap/doc/content/flows_devel.md +0 -39
- package/tests/liquidsoap/doc/content/frequence3.md +0 -13
- package/tests/liquidsoap/doc/content/geekradio.md +0 -43
- package/tests/liquidsoap/doc/content/gstreamer_encoder.md +0 -154
- package/tests/liquidsoap/doc/content/harbor.md +0 -90
- package/tests/liquidsoap/doc/content/harbor_http.md +0 -155
- package/tests/liquidsoap/doc/content/help.md +0 -127
- package/tests/liquidsoap/doc/content/hls_output.md +0 -85
- package/tests/liquidsoap/doc/content/http_input.md +0 -15
- package/tests/liquidsoap/doc/content/icy_metadata.md +0 -53
- package/tests/liquidsoap/doc/content/in_production.md +0 -20
- package/tests/liquidsoap/doc/content/index.md +0 -61
- package/tests/liquidsoap/doc/content/install.md +0 -113
- package/tests/liquidsoap/doc/content/json.md +0 -307
- package/tests/liquidsoap/doc/content/ladspa.md +0 -42
- package/tests/liquidsoap/doc/content/language.md +0 -1382
- package/tests/liquidsoap/doc/content/liq/Makefile +0 -8
- package/tests/liquidsoap/doc/content/liq/append-silence.liq +0 -46
- package/tests/liquidsoap/doc/content/liq/archive-cleaner.liq +0 -16
- package/tests/liquidsoap/doc/content/liq/basic-radio.liq +0 -31
- package/tests/liquidsoap/doc/content/liq/beets-amplify.liq +0 -29
- package/tests/liquidsoap/doc/content/liq/beets-protocol-short.liq +0 -3
- package/tests/liquidsoap/doc/content/liq/beets-protocol.liq +0 -26
- package/tests/liquidsoap/doc/content/liq/beets-source.liq +0 -21
- package/tests/liquidsoap/doc/content/liq/blank-detect.liq +0 -12
- package/tests/liquidsoap/doc/content/liq/blank-sorry.liq +0 -11
- package/tests/liquidsoap/doc/content/liq/check +0 -4
- package/tests/liquidsoap/doc/content/liq/complete-case.liq +0 -69
- package/tests/liquidsoap/doc/content/liq/cross.smart.liq +0 -37
- package/tests/liquidsoap/doc/content/liq/crossfade.liq +0 -120
- package/tests/liquidsoap/doc/content/liq/decoder-faad.liq +0 -122
- package/tests/liquidsoap/doc/content/liq/decoder-flac.liq +0 -19
- package/tests/liquidsoap/doc/content/liq/decoder-metaflac.liq +0 -24
- package/tests/liquidsoap/doc/content/liq/dump-hourly.liq +0 -13
- package/tests/liquidsoap/doc/content/liq/dump-hourly2.liq +0 -11
- package/tests/liquidsoap/doc/content/liq/dynamic-source.liq +0 -55
- package/tests/liquidsoap/doc/content/liq/external-output.file.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/fallback.liq +0 -4
- package/tests/liquidsoap/doc/content/liq/ffmpeg-filter-dynamic-volume.liq +0 -36
- package/tests/liquidsoap/doc/content/liq/ffmpeg-filter-flanger-highpass.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/ffmpeg-filter-hflip.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/ffmpeg-filter-hflip2.liq +0 -23
- package/tests/liquidsoap/doc/content/liq/ffmpeg-filter-parallel-flanger-highpass.liq +0 -36
- package/tests/liquidsoap/doc/content/liq/ffmpeg-live-switch.liq +0 -23
- package/tests/liquidsoap/doc/content/liq/ffmpeg-relay-ondemand.liq +0 -31
- package/tests/liquidsoap/doc/content/liq/ffmpeg-relay.liq +0 -19
- package/tests/liquidsoap/doc/content/liq/ffmpeg-shared-encoding-rtmp.liq +0 -36
- package/tests/liquidsoap/doc/content/liq/ffmpeg-shared-encoding.liq +0 -28
- package/tests/liquidsoap/doc/content/liq/fixed-time1.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/fixed-time2.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/frame-size.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/harbor-auth.liq +0 -18
- package/tests/liquidsoap/doc/content/liq/harbor-dynamic.liq +0 -21
- package/tests/liquidsoap/doc/content/liq/harbor-insert-metadata.liq +0 -28
- package/tests/liquidsoap/doc/content/liq/harbor-metadata.liq +0 -14
- package/tests/liquidsoap/doc/content/liq/harbor-redirect.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/harbor-simple.liq +0 -12
- package/tests/liquidsoap/doc/content/liq/harbor-usage.liq +0 -16
- package/tests/liquidsoap/doc/content/liq/harbor.http.register.liq +0 -48
- package/tests/liquidsoap/doc/content/liq/harbor.http.response.liq +0 -20
- package/tests/liquidsoap/doc/content/liq/hls-metadata.liq +0 -18
- package/tests/liquidsoap/doc/content/liq/hls-mp4.liq +0 -35
- package/tests/liquidsoap/doc/content/liq/http-input.liq +0 -6
- package/tests/liquidsoap/doc/content/liq/icy-update.liq +0 -31
- package/tests/liquidsoap/doc/content/liq/input.mplayer.liq +0 -26
- package/tests/liquidsoap/doc/content/liq/jingle-hour.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/json-ex.liq +0 -29
- package/tests/liquidsoap/doc/content/liq/json-stringify.liq +0 -2
- package/tests/liquidsoap/doc/content/liq/json1.liq +0 -3
- package/tests/liquidsoap/doc/content/liq/liquidsoap +0 -4
- package/tests/liquidsoap/doc/content/liq/live-switch.liq +0 -23
- package/tests/liquidsoap/doc/content/liq/medialib-predicate.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/medialib.liq +0 -4
- package/tests/liquidsoap/doc/content/liq/medialib.sqlite.liq +0 -4
- package/tests/liquidsoap/doc/content/liq/multitrack-add-video-track.liq +0 -24
- package/tests/liquidsoap/doc/content/liq/multitrack-add-video-track2.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/multitrack-default-video-track.liq +0 -14
- package/tests/liquidsoap/doc/content/liq/multitrack.liq +0 -11
- package/tests/liquidsoap/doc/content/liq/multitrack2.liq +0 -16
- package/tests/liquidsoap/doc/content/liq/multitrack3.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/on2-crossfade.liq +0 -18
- package/tests/liquidsoap/doc/content/liq/on2-fallible.liq +0 -1
- package/tests/liquidsoap/doc/content/liq/on2-file-output.liq +0 -3
- package/tests/liquidsoap/doc/content/liq/on2-function.liq +0 -4
- package/tests/liquidsoap/doc/content/liq/on2-if.liq +0 -5
- package/tests/liquidsoap/doc/content/liq/on2-if2.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/on2-initial.liq +0 -21
- package/tests/liquidsoap/doc/content/liq/on2-interactive.liq +0 -1
- package/tests/liquidsoap/doc/content/liq/on2-log.liq +0 -3
- package/tests/liquidsoap/doc/content/liq/on2-login.liq +0 -26
- package/tests/liquidsoap/doc/content/liq/on2-metadata.liq +0 -38
- package/tests/liquidsoap/doc/content/liq/on2-multiple.liq +0 -22
- package/tests/liquidsoap/doc/content/liq/on2-notify.liq +0 -13
- package/tests/liquidsoap/doc/content/liq/on2-overloaded.liq +0 -52
- package/tests/liquidsoap/doc/content/liq/on2-print.liq +0 -2
- package/tests/liquidsoap/doc/content/liq/on2-redefine.liq +0 -5
- package/tests/liquidsoap/doc/content/liq/on2-remote.liq +0 -1
- package/tests/liquidsoap/doc/content/liq/on2-replaygain.liq +0 -28
- package/tests/liquidsoap/doc/content/liq/on2-safe.liq +0 -25
- package/tests/liquidsoap/doc/content/liq/on2-scheduling.liq +0 -22
- package/tests/liquidsoap/doc/content/liq/on2-seq.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/on2-slideshow.liq +0 -25
- package/tests/liquidsoap/doc/content/liq/on2-smooth-add.liq +0 -11
- package/tests/liquidsoap/doc/content/liq/on2-transition.liq +0 -53
- package/tests/liquidsoap/doc/content/liq/on2-volume.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/on2-volume2.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/output.file.hls.liq +0 -44
- package/tests/liquidsoap/doc/content/liq/playlists.liq +0 -13
- package/tests/liquidsoap/doc/content/liq/prometheus-callback.liq +0 -18
- package/tests/liquidsoap/doc/content/liq/prometheus-settings.liq +0 -3
- package/tests/liquidsoap/doc/content/liq/radiopi.liq +0 -463
- package/tests/liquidsoap/doc/content/liq/re-encode.liq +0 -14
- package/tests/liquidsoap/doc/content/liq/regular.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/replaygain-metadata.liq +0 -6
- package/tests/liquidsoap/doc/content/liq/replaygain-playlist.liq +0 -6
- package/tests/liquidsoap/doc/content/liq/request.dynamic.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/rtmp.liq +0 -10
- package/tests/liquidsoap/doc/content/liq/samplerate3.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/scheduling.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/seek-telnet.liq +0 -23
- package/tests/liquidsoap/doc/content/liq/settings.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/shoutcast.liq +0 -5
- package/tests/liquidsoap/doc/content/liq/single.liq +0 -1
- package/tests/liquidsoap/doc/content/liq/source-cue.liq +0 -26
- package/tests/liquidsoap/doc/content/liq/space_overhead.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/split-cue.liq +0 -20
- package/tests/liquidsoap/doc/content/liq/sqlite.liq +0 -120
- package/tests/liquidsoap/doc/content/liq/srt-receiver.liq +0 -8
- package/tests/liquidsoap/doc/content/liq/srt-sender.liq +0 -4
- package/tests/liquidsoap/doc/content/liq/switch-show.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/transcoding.liq +0 -18
- package/tests/liquidsoap/doc/content/liq/video-anonymizer.liq +0 -31
- package/tests/liquidsoap/doc/content/liq/video-bluescreen.liq +0 -14
- package/tests/liquidsoap/doc/content/liq/video-canvas-example.liq +0 -33
- package/tests/liquidsoap/doc/content/liq/video-default-canvas.liq +0 -21
- package/tests/liquidsoap/doc/content/liq/video-in-video.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/video-logo.liq +0 -9
- package/tests/liquidsoap/doc/content/liq/video-osc.liq +0 -26
- package/tests/liquidsoap/doc/content/liq/video-simple.liq +0 -12
- package/tests/liquidsoap/doc/content/liq/video-static.liq +0 -20
- package/tests/liquidsoap/doc/content/liq/video-text.liq +0 -5
- package/tests/liquidsoap/doc/content/liq/video-transition.liq +0 -5
- package/tests/liquidsoap/doc/content/liq/video-weather.liq +0 -7
- package/tests/liquidsoap/doc/content/liq/video-webcam.liq +0 -1
- package/tests/liquidsoap/doc/content/memory.md +0 -123
- package/tests/liquidsoap/doc/content/metadata.md +0 -118
- package/tests/liquidsoap/doc/content/migrating.md +0 -532
- package/tests/liquidsoap/doc/content/multitrack.md +0 -282
- package/tests/liquidsoap/doc/content/on2.md +0 -28
- package/tests/liquidsoap/doc/content/on2_part1.md +0 -278
- package/tests/liquidsoap/doc/content/on2_part2.md +0 -672
- package/tests/liquidsoap/doc/content/on2_part3.md +0 -249
- package/tests/liquidsoap/doc/content/phases.md +0 -23
- package/tests/liquidsoap/doc/content/playlist_parsers.md +0 -50
- package/tests/liquidsoap/doc/content/presentations.md +0 -30
- package/tests/liquidsoap/doc/content/profiling.md +0 -33
- package/tests/liquidsoap/doc/content/prometheus.md +0 -132
- package/tests/liquidsoap/doc/content/protocols-presentation.md +0 -59
- package/tests/liquidsoap/doc/content/publications.md +0 -28
- package/tests/liquidsoap/doc/content/quick_start.md +0 -217
- package/tests/liquidsoap/doc/content/radiopi.md +0 -45
- package/tests/liquidsoap/doc/content/reference-header.md +0 -15
- package/tests/liquidsoap/doc/content/release-assets.md +0 -9
- package/tests/liquidsoap/doc/content/replay_gain.md +0 -80
- package/tests/liquidsoap/doc/content/request_sources.md +0 -99
- package/tests/liquidsoap/doc/content/requests.md +0 -53
- package/tests/liquidsoap/doc/content/rolling-release.md +0 -10
- package/tests/liquidsoap/doc/content/script_loading.md +0 -29
- package/tests/liquidsoap/doc/content/seek.md +0 -51
- package/tests/liquidsoap/doc/content/server.md +0 -265
- package/tests/liquidsoap/doc/content/shoutcast.md +0 -35
- package/tests/liquidsoap/doc/content/sources.md +0 -138
- package/tests/liquidsoap/doc/content/split-cue.md +0 -11
- package/tests/liquidsoap/doc/content/stereotool.md +0 -54
- package/tests/liquidsoap/doc/content/stream_content.md +0 -208
- package/tests/liquidsoap/doc/content/strings_encoding.md +0 -18
- package/tests/liquidsoap/doc/content/video-static.md +0 -16
- package/tests/liquidsoap/doc/content/video.md +0 -214
- package/tests/liquidsoap/doc/content/yaml.md +0 -29
- package/tests/liquidsoap/doc/dune +0 -52
- package/tests/liquidsoap/doc/dune.inc +0 -18235
- package/tests/liquidsoap/doc/gen_dune.ml +0 -183
- package/tests/liquidsoap/doc/liquidsoap.1.md +0 -142
- package/tests/liquidsoap/doc/no-pandoc +0 -1
- package/tests/liquidsoap/doc/orig/css/homepage.css +0 -148
- package/tests/liquidsoap/doc/orig/css/style.css +0 -258
- package/tests/liquidsoap/doc/orig/fosdem2020/clock.png +0 -0
- package/tests/liquidsoap/doc/orig/fosdem2020/index.html +0 -612
- package/tests/liquidsoap/doc/orig/fosdem2020/logo.png +0 -0
- package/tests/liquidsoap/doc/orig/fosdem2020/radio.gif +0 -0
- package/tests/liquidsoap/doc/orig/fosdem2020/remark.js +0 -28221
- package/tests/liquidsoap/doc/orig/images/basic-radio-graph.png +0 -0
- package/tests/liquidsoap/doc/orig/images/design/background.png +0 -0
- package/tests/liquidsoap/doc/orig/images/design/background_page.png +0 -0
- package/tests/liquidsoap/doc/orig/images/design/logo.png +0 -0
- package/tests/liquidsoap/doc/orig/images/grab.png +0 -0
- package/tests/liquidsoap/doc/orig/images/graph_clocks.png +0 -0
- package/tests/liquidsoap/doc/orig/images/liqgraph.png +0 -0
- package/tests/liquidsoap/doc/orig/images/schema-webradio-inkscape.png +0 -0
- package/tests/liquidsoap/doc/orig/images/stream.png +0 -0
- package/tests/liquidsoap/doc/orig/images/tabs/tab_API.png +0 -0
- package/tests/liquidsoap/doc/orig/images/tabs/tab_about.png +0 -0
- package/tests/liquidsoap/doc/orig/images/tabs/tab_developers.png +0 -0
- package/tests/liquidsoap/doc/orig/images/tabs/tab_docs.png +0 -0
- package/tests/liquidsoap/doc/orig/images/tabs/tab_snippets.png +0 -0
- package/tests/liquidsoap/doc/subst_md.ml +0 -16
- package/tests/liquidsoap/doc/template.html +0 -67
- package/tests/liquidsoap/dune +0 -33
- package/tests/liquidsoap/dune-project +0 -203
- package/tests/liquidsoap/liquidsoap +0 -7
- package/tests/liquidsoap/liquidsoap-core.opam +0 -133
- package/tests/liquidsoap/liquidsoap-js.opam +0 -37
- package/tests/liquidsoap/liquidsoap-lang.opam +0 -37
- package/tests/liquidsoap/liquidsoap-libs-extra.opam +0 -32
- package/tests/liquidsoap/liquidsoap-libs.opam +0 -31
- package/tests/liquidsoap/liquidsoap-mode.opam +0 -40
- package/tests/liquidsoap/liquidsoap-mode.opam.template +0 -9
- package/tests/liquidsoap/liquidsoap.opam +0 -66
- package/tests/liquidsoap/liquidsoap.opam.template +0 -26
- package/tests/liquidsoap/prometheus-liquidsoap.opam +0 -33
- package/tests/liquidsoap/scripts/bash-completion +0 -41
- package/tests/liquidsoap/scripts/dune +0 -29
- package/tests/liquidsoap/scripts/gen_emacs_completion.ml +0 -8
- package/tests/liquidsoap/scripts/liquidsoap-mode.el +0 -88
- package/tests/liquidsoap/scripts/liquidsoap.xml +0 -140
- package/tests/liquidsoap/sdl-liquidsoap.opam +0 -34
- package/tests/liquidsoap/src/bin/dune +0 -24
- package/tests/liquidsoap/src/bin/instruments.plist +0 -1
- package/tests/liquidsoap/src/bin/liquidsoap.ml +0 -1
- package/tests/liquidsoap/src/build/build_tools.ml +0 -3
- package/tests/liquidsoap/src/build/dune +0 -4
- package/tests/liquidsoap/src/config/irc_option.disabled.ml +0 -2
- package/tests/liquidsoap/src/config/liquidsoap_paths.default.ml +0 -25
- package/tests/liquidsoap/src/config/liquidsoap_paths.mli +0 -13
- package/tests/liquidsoap/src/config/liquidsoap_paths.posix.ml +0 -13
- package/tests/liquidsoap/src/config/liquidsoap_paths.standalone.ml +0 -14
- package/tests/liquidsoap/src/config/noop.disabled.ml +0 -5
- package/tests/liquidsoap/src/config/noop.enabled.ml +0 -2
- package/tests/liquidsoap/src/config/osc_option.disabled.ml +0 -2
- package/tests/liquidsoap/src/config/sdl_option.disabled.ml +0 -2
- package/tests/liquidsoap/src/config/stereotool_option.disabled.ml +0 -2
- package/tests/liquidsoap/src/config/tls_option.disabled.ml +0 -2
- package/tests/liquidsoap/src/console/console.ml +0 -83
- package/tests/liquidsoap/src/console/console.mli +0 -42
- package/tests/liquidsoap/src/console/dune +0 -5
- package/tests/liquidsoap/src/core/alsa_settings.ml +0 -58
- package/tests/liquidsoap/src/core/builtins/builtins_callbacks.ml +0 -53
- package/tests/liquidsoap/src/core/builtins/builtins_clock.ml +0 -83
- package/tests/liquidsoap/src/core/builtins/builtins_cry.ml +0 -123
- package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_base.ml +0 -27
- package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_bitstream_filters.ml +0 -308
- package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_decoder.ml +0 -506
- package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_encoder.ml +0 -571
- package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_filters.ml +0 -925
- package/tests/liquidsoap/src/core/builtins/builtins_files.ml +0 -675
- package/tests/liquidsoap/src/core/builtins/builtins_harbor.ml +0 -140
- package/tests/liquidsoap/src/core/builtins/builtins_harbor_ssl.ml +0 -31
- package/tests/liquidsoap/src/core/builtins/builtins_http.ml +0 -254
- package/tests/liquidsoap/src/core/builtins/builtins_irc.ml +0 -112
- package/tests/liquidsoap/src/core/builtins/builtins_jemalloc.ml +0 -136
- package/tests/liquidsoap/src/core/builtins/builtins_lastfm.ml +0 -110
- package/tests/liquidsoap/src/core/builtins/builtins_lo.ml +0 -195
- package/tests/liquidsoap/src/core/builtins/builtins_lo.mli +0 -0
- package/tests/liquidsoap/src/core/builtins/builtins_mem_usage.ml +0 -89
- package/tests/liquidsoap/src/core/builtins/builtins_metadata.ml +0 -39
- package/tests/liquidsoap/src/core/builtins/builtins_optionals.ml +0 -59
- package/tests/liquidsoap/src/core/builtins/builtins_osc.ml +0 -207
- package/tests/liquidsoap/src/core/builtins/builtins_process.ml +0 -333
- package/tests/liquidsoap/src/core/builtins/builtins_prometheus.ml +0 -234
- package/tests/liquidsoap/src/core/builtins/builtins_request.ml +0 -283
- package/tests/liquidsoap/src/core/builtins/builtins_resolvers.ml +0 -214
- package/tests/liquidsoap/src/core/builtins/builtins_runtime.ml +0 -240
- package/tests/liquidsoap/src/core/builtins/builtins_server.ml +0 -69
- package/tests/liquidsoap/src/core/builtins/builtins_settings.ml +0 -353
- package/tests/liquidsoap/src/core/builtins/builtins_socket.ml +0 -596
- package/tests/liquidsoap/src/core/builtins/builtins_source.ml +0 -247
- package/tests/liquidsoap/src/core/builtins/builtins_sqlite.ml +0 -361
- package/tests/liquidsoap/src/core/builtins/builtins_srt.ml +0 -336
- package/tests/liquidsoap/src/core/builtins/builtins_ssl.ml +0 -243
- package/tests/liquidsoap/src/core/builtins/builtins_string_extra.ml +0 -150
- package/tests/liquidsoap/src/core/builtins/builtins_sys.ml +0 -480
- package/tests/liquidsoap/src/core/builtins/builtins_thread.ml +0 -151
- package/tests/liquidsoap/src/core/builtins/builtins_time.ml +0 -227
- package/tests/liquidsoap/src/core/builtins/builtins_tls.ml +0 -300
- package/tests/liquidsoap/src/core/builtins/builtins_track.ml +0 -31
- package/tests/liquidsoap/src/core/builtins/builtins_yaml.ml +0 -94
- package/tests/liquidsoap/src/core/clock.ml +0 -514
- package/tests/liquidsoap/src/core/clock.mli +0 -107
- package/tests/liquidsoap/src/core/clock_base.ml +0 -169
- package/tests/liquidsoap/src/core/configure.ml +0 -62
- package/tests/liquidsoap/src/core/configure.mli +0 -41
- package/tests/liquidsoap/src/core/conversions/conversion.ml +0 -32
- package/tests/liquidsoap/src/core/conversions/mean.ml +0 -65
- package/tests/liquidsoap/src/core/conversions/stereo.ml +0 -67
- package/tests/liquidsoap/src/core/conversions/swap.ml +0 -46
- package/tests/liquidsoap/src/core/converters/audio/ffmpeg_audio_converter.ml +0 -44
- package/tests/liquidsoap/src/core/converters/audio/libsamplerate_converter.ml +0 -75
- package/tests/liquidsoap/src/core/converters/audio/native_audio_converter.ml +0 -73
- package/tests/liquidsoap/src/core/converters/audio_converter.ml +0 -168
- package/tests/liquidsoap/src/core/converters/audio_converter.mli +0 -76
- package/tests/liquidsoap/src/core/converters/video/ffmpeg_video_converter.ml +0 -131
- package/tests/liquidsoap/src/core/converters/video/native_video_converter.ml +0 -33
- package/tests/liquidsoap/src/core/converters/video_converter.ml +0 -104
- package/tests/liquidsoap/src/core/converters/video_converter.mli +0 -56
- package/tests/liquidsoap/src/core/decoder/aac_decoder.ml +0 -301
- package/tests/liquidsoap/src/core/decoder/decoder.ml +0 -596
- package/tests/liquidsoap/src/core/decoder/decoder.mli +0 -153
- package/tests/liquidsoap/src/core/decoder/decoder_utils.ml +0 -136
- package/tests/liquidsoap/src/core/decoder/decoder_utils.mli +0 -63
- package/tests/liquidsoap/src/core/decoder/external_decoder.ml +0 -200
- package/tests/liquidsoap/src/core/decoder/ffmpeg_copy_decoder.ml +0 -82
- package/tests/liquidsoap/src/core/decoder/ffmpeg_copy_decoder.mli +0 -41
- package/tests/liquidsoap/src/core/decoder/ffmpeg_decoder.ml +0 -1253
- package/tests/liquidsoap/src/core/decoder/ffmpeg_decoder_common.ml +0 -112
- package/tests/liquidsoap/src/core/decoder/ffmpeg_internal_decoder.ml +0 -177
- package/tests/liquidsoap/src/core/decoder/ffmpeg_internal_decoder.mli +0 -41
- package/tests/liquidsoap/src/core/decoder/ffmpeg_raw_decoder.ml +0 -76
- package/tests/liquidsoap/src/core/decoder/ffmpeg_raw_decoder.mli +0 -41
- package/tests/liquidsoap/src/core/decoder/flac_metadata_plug.ml +0 -70
- package/tests/liquidsoap/src/core/decoder/gstreamer_decoder.ml +0 -359
- package/tests/liquidsoap/src/core/decoder/id3_plug.ml +0 -110
- package/tests/liquidsoap/src/core/decoder/image/camlimages_decoder.ml +0 -61
- package/tests/liquidsoap/src/core/decoder/image/ffmpeg_image_decoder.ml +0 -58
- package/tests/liquidsoap/src/core/decoder/image/imagelib_decoder.ml +0 -44
- package/tests/liquidsoap/src/core/decoder/image/ppm_decoder.ml +0 -39
- package/tests/liquidsoap/src/core/decoder/image/sdlimage_decoder.ml +0 -39
- package/tests/liquidsoap/src/core/decoder/image_decoder.ml +0 -183
- package/tests/liquidsoap/src/core/decoder/image_plug.ml +0 -68
- package/tests/liquidsoap/src/core/decoder/liq_flac_decoder.ml +0 -201
- package/tests/liquidsoap/src/core/decoder/liq_ogg_decoder.ml +0 -333
- package/tests/liquidsoap/src/core/decoder/mad_decoder.ml +0 -198
- package/tests/liquidsoap/src/core/decoder/midi_decoder.ml +0 -77
- package/tests/liquidsoap/src/core/decoder/ogg_flac_duration.ml +0 -66
- package/tests/liquidsoap/src/core/decoder/ogg_metadata_plug.ml +0 -70
- package/tests/liquidsoap/src/core/decoder/raw_audio_decoder.ml +0 -162
- package/tests/liquidsoap/src/core/decoder/srt_decoder.ml +0 -100
- package/tests/liquidsoap/src/core/decoder/taglib_plug.ml +0 -109
- package/tests/liquidsoap/src/core/decoder/text/video_text_camlimages.ml +0 -58
- package/tests/liquidsoap/src/core/decoder/text/video_text_gd.ml +0 -63
- package/tests/liquidsoap/src/core/decoder/text/video_text_gstreamer.ml +0 -64
- package/tests/liquidsoap/src/core/decoder/text/video_text_native.ml +0 -47
- package/tests/liquidsoap/src/core/decoder/text/video_text_sdl.ml +0 -67
- package/tests/liquidsoap/src/core/decoder/video_plug.ml +0 -68
- package/tests/liquidsoap/src/core/decoder/vorbisduration.ml +0 -31
- package/tests/liquidsoap/src/core/decoder/wav_aiff_decoder.ml +0 -251
- package/tests/liquidsoap/src/core/doc.ml +0 -1
- package/tests/liquidsoap/src/core/dune +0 -1036
- package/tests/liquidsoap/src/core/encoder/encoder.ml +0 -399
- package/tests/liquidsoap/src/core/encoder/encoder.mli +0 -129
- package/tests/liquidsoap/src/core/encoder/encoder_formats.ml +0 -62
- package/tests/liquidsoap/src/core/encoder/encoder_utils.ml +0 -66
- package/tests/liquidsoap/src/core/encoder/encoders/avi_encoder.ml +0 -125
- package/tests/liquidsoap/src/core/encoder/encoders/external_encoder.ml +0 -177
- package/tests/liquidsoap/src/core/encoder/encoders/fdkaac_encoder.ml +0 -122
- package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_copy_encoder.ml +0 -200
- package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_encoder.ml +0 -143
- package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_encoder_common.ml +0 -351
- package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_internal_encoder.ml +0 -539
- package/tests/liquidsoap/src/core/encoder/encoders/flac_encoder.ml +0 -79
- package/tests/liquidsoap/src/core/encoder/encoders/gstreamer_encoder.ml +0 -214
- package/tests/liquidsoap/src/core/encoder/encoders/lame_encoder.ml +0 -130
- package/tests/liquidsoap/src/core/encoder/encoders/ogg_encoder.ml +0 -153
- package/tests/liquidsoap/src/core/encoder/encoders/shine_encoder.ml +0 -78
- package/tests/liquidsoap/src/core/encoder/encoders/taglib_id3v2.ml +0 -58
- package/tests/liquidsoap/src/core/encoder/encoders/wav_encoder.ml +0 -83
- package/tests/liquidsoap/src/core/encoder/formats/avi_format.ml +0 -36
- package/tests/liquidsoap/src/core/encoder/formats/external_encoder_format.ml +0 -55
- package/tests/liquidsoap/src/core/encoder/formats/fdkaac_format.ml +0 -92
- package/tests/liquidsoap/src/core/encoder/formats/ffmpeg_format.ml +0 -174
- package/tests/liquidsoap/src/core/encoder/formats/flac_format.ml +0 -34
- package/tests/liquidsoap/src/core/encoder/formats/gstreamer_format.ml +0 -53
- package/tests/liquidsoap/src/core/encoder/formats/mp3_format.ml +0 -88
- package/tests/liquidsoap/src/core/encoder/formats/ogg_format.ml +0 -44
- package/tests/liquidsoap/src/core/encoder/formats/opus_format.ml +0 -95
- package/tests/liquidsoap/src/core/encoder/formats/shine_format.ml +0 -29
- package/tests/liquidsoap/src/core/encoder/formats/speex_format.ml +0 -60
- package/tests/liquidsoap/src/core/encoder/formats/theora_format.ml +0 -66
- package/tests/liquidsoap/src/core/encoder/formats/vorbis_format.ml +0 -52
- package/tests/liquidsoap/src/core/encoder/formats/wav_format.ml +0 -38
- package/tests/liquidsoap/src/core/encoder/lang/lang_avi.ml +0 -57
- package/tests/liquidsoap/src/core/encoder/lang/lang_external_encoder.ml +0 -120
- package/tests/liquidsoap/src/core/encoder/lang/lang_fdkaac.ml +0 -134
- package/tests/liquidsoap/src/core/encoder/lang/lang_ffmpeg.ml +0 -548
- package/tests/liquidsoap/src/core/encoder/lang/lang_flac.ml +0 -73
- package/tests/liquidsoap/src/core/encoder/lang/lang_gstreamer.ml +0 -112
- package/tests/liquidsoap/src/core/encoder/lang/lang_mp3.ml +0 -260
- package/tests/liquidsoap/src/core/encoder/lang/lang_ogg.ml +0 -69
- package/tests/liquidsoap/src/core/encoder/lang/lang_opus.ml +0 -142
- package/tests/liquidsoap/src/core/encoder/lang/lang_shine.ml +0 -68
- package/tests/liquidsoap/src/core/encoder/lang/lang_speex.ml +0 -96
- package/tests/liquidsoap/src/core/encoder/lang/lang_theora.ml +0 -139
- package/tests/liquidsoap/src/core/encoder/lang/lang_vorbis.ml +0 -160
- package/tests/liquidsoap/src/core/encoder/lang/lang_wav.ml +0 -70
- package/tests/liquidsoap/src/core/encoder/lang_encoder.ml +0 -143
- package/tests/liquidsoap/src/core/error.ml +0 -1
- package/tests/liquidsoap/src/core/file_watcher.inotify.ml +0 -84
- package/tests/liquidsoap/src/core/file_watcher.mtime.ml +0 -90
- package/tests/liquidsoap/src/core/harbor/harbor.ml +0 -1229
- package/tests/liquidsoap/src/core/harbor/harbor_base.ml +0 -76
- package/tests/liquidsoap/src/core/hooks_implementations.ml +0 -131
- package/tests/liquidsoap/src/core/hooks_implementations.mli +0 -1
- package/tests/liquidsoap/src/core/io/alsa_io.ml +0 -347
- package/tests/liquidsoap/src/core/io/ffmpeg_filter_io.ml +0 -355
- package/tests/liquidsoap/src/core/io/ffmpeg_io.ml +0 -614
- package/tests/liquidsoap/src/core/io/gstreamer_io.ml +0 -777
- package/tests/liquidsoap/src/core/io/oss_io.ml +0 -209
- package/tests/liquidsoap/src/core/io/oss_io_c.c +0 -42
- package/tests/liquidsoap/src/core/io/portaudio_io.ml +0 -353
- package/tests/liquidsoap/src/core/io/pulseaudio_io.ml +0 -210
- package/tests/liquidsoap/src/core/io/srt_io.ml +0 -1142
- package/tests/liquidsoap/src/core/io/udp_io.ml +0 -273
- package/tests/liquidsoap/src/core/json.ml +0 -1
- package/tests/liquidsoap/src/core/lang.ml +0 -72
- package/tests/liquidsoap/src/core/lang.mli +0 -344
- package/tests/liquidsoap/src/core/lang_source.ml +0 -750
- package/tests/liquidsoap/src/core/lang_string.ml +0 -1
- package/tests/liquidsoap/src/core/modules.ml +0 -38
- package/tests/liquidsoap/src/core/ogg_formats/liq_flac_ogg_decoder.ml +0 -23
- package/tests/liquidsoap/src/core/ogg_formats/liq_opus_decoder.ml +0 -38
- package/tests/liquidsoap/src/core/ogg_formats/liq_speex_decoder.ml +0 -23
- package/tests/liquidsoap/src/core/ogg_formats/liq_theora_decoder.ml +0 -23
- package/tests/liquidsoap/src/core/ogg_formats/liq_vorbis_decoder.ml +0 -23
- package/tests/liquidsoap/src/core/ogg_formats/ogg_flac_encoder.ml +0 -127
- package/tests/liquidsoap/src/core/ogg_formats/ogg_flac_encoder_stubs.c +0 -10
- package/tests/liquidsoap/src/core/ogg_formats/ogg_muxer.ml +0 -413
- package/tests/liquidsoap/src/core/ogg_formats/ogg_muxer.mli +0 -169
- package/tests/liquidsoap/src/core/ogg_formats/opus_encoder.ml +0 -143
- package/tests/liquidsoap/src/core/ogg_formats/speex_encoder.ml +0 -183
- package/tests/liquidsoap/src/core/ogg_formats/theora_encoder.ml +0 -172
- package/tests/liquidsoap/src/core/ogg_formats/vorbis_encoder.ml +0 -125
- package/tests/liquidsoap/src/core/operators/accelerate.ml +0 -103
- package/tests/liquidsoap/src/core/operators/add.ml +0 -470
- package/tests/liquidsoap/src/core/operators/amplify.ml +0 -116
- package/tests/liquidsoap/src/core/operators/available.ml +0 -91
- package/tests/liquidsoap/src/core/operators/biquad_filter.ml +0 -313
- package/tests/liquidsoap/src/core/operators/chord.ml +0 -136
- package/tests/liquidsoap/src/core/operators/clip.ml +0 -56
- package/tests/liquidsoap/src/core/operators/comb.ml +0 -82
- package/tests/liquidsoap/src/core/operators/compand.ml +0 -61
- package/tests/liquidsoap/src/core/operators/compress.ml +0 -273
- package/tests/liquidsoap/src/core/operators/compress_exp.ml +0 -63
- package/tests/liquidsoap/src/core/operators/cross.ml +0 -450
- package/tests/liquidsoap/src/core/operators/defer.ml +0 -170
- package/tests/liquidsoap/src/core/operators/defer_c.c +0 -23
- package/tests/liquidsoap/src/core/operators/delay.ml +0 -76
- package/tests/liquidsoap/src/core/operators/delay_line.ml +0 -92
- package/tests/liquidsoap/src/core/operators/dtmf.ml +0 -417
- package/tests/liquidsoap/src/core/operators/dyn_op.ml +0 -178
- package/tests/liquidsoap/src/core/operators/echo.ml +0 -96
- package/tests/liquidsoap/src/core/operators/filter.ml +0 -140
- package/tests/liquidsoap/src/core/operators/filter_rc.ml +0 -120
- package/tests/liquidsoap/src/core/operators/fir_filter.ml +0 -185
- package/tests/liquidsoap/src/core/operators/flanger.ml +0 -108
- package/tests/liquidsoap/src/core/operators/frei0r_op.ml +0 -379
- package/tests/liquidsoap/src/core/operators/gate.ml +0 -158
- package/tests/liquidsoap/src/core/operators/iir_filter.ml +0 -606
- package/tests/liquidsoap/src/core/operators/insert_metadata.ml +0 -117
- package/tests/liquidsoap/src/core/operators/ladspa_op.ml +0 -412
- package/tests/liquidsoap/src/core/operators/lilv_op.ml +0 -365
- package/tests/liquidsoap/src/core/operators/lufs.ml +0 -220
- package/tests/liquidsoap/src/core/operators/map_metadata.ml +0 -115
- package/tests/liquidsoap/src/core/operators/map_op.ml +0 -60
- package/tests/liquidsoap/src/core/operators/max_duration.ml +0 -92
- package/tests/liquidsoap/src/core/operators/midi_routing.ml +0 -96
- package/tests/liquidsoap/src/core/operators/ms_stereo.ml +0 -134
- package/tests/liquidsoap/src/core/operators/muxer.ml +0 -204
- package/tests/liquidsoap/src/core/operators/noblank.ml +0 -328
- package/tests/liquidsoap/src/core/operators/normalize.ml +0 -198
- package/tests/liquidsoap/src/core/operators/on_end.ml +0 -95
- package/tests/liquidsoap/src/core/operators/on_frame.ml +0 -110
- package/tests/liquidsoap/src/core/operators/on_metadata.ml +0 -65
- package/tests/liquidsoap/src/core/operators/on_offset.ml +0 -114
- package/tests/liquidsoap/src/core/operators/on_track.ml +0 -68
- package/tests/liquidsoap/src/core/operators/pan.ml +0 -69
- package/tests/liquidsoap/src/core/operators/pipe.ml +0 -346
- package/tests/liquidsoap/src/core/operators/pitch.ml +0 -140
- package/tests/liquidsoap/src/core/operators/replaygain_op.ml +0 -92
- package/tests/liquidsoap/src/core/operators/resample.ml +0 -117
- package/tests/liquidsoap/src/core/operators/rms_smooth.ml +0 -86
- package/tests/liquidsoap/src/core/operators/sequence.ml +0 -150
- package/tests/liquidsoap/src/core/operators/soundtouch_op.ml +0 -120
- package/tests/liquidsoap/src/core/operators/st_bpm.ml +0 -80
- package/tests/liquidsoap/src/core/operators/stereotool_op.ml +0 -193
- package/tests/liquidsoap/src/core/operators/still_frame.ml +0 -95
- package/tests/liquidsoap/src/core/operators/switch.ml +0 -372
- package/tests/liquidsoap/src/core/operators/time_warp.ml +0 -497
- package/tests/liquidsoap/src/core/operators/track/merge_metadata.ml +0 -76
- package/tests/liquidsoap/src/core/operators/track_map.ml +0 -134
- package/tests/liquidsoap/src/core/operators/video_effects.ml +0 -745
- package/tests/liquidsoap/src/core/operators/video_fade.ml +0 -325
- package/tests/liquidsoap/src/core/operators/window_op.ml +0 -157
- package/tests/liquidsoap/src/core/outputs/ao_out.ml +0 -143
- package/tests/liquidsoap/src/core/outputs/bjack_out.ml +0 -128
- package/tests/liquidsoap/src/core/outputs/graphics_out.ml +0 -81
- package/tests/liquidsoap/src/core/outputs/harbor_output.ml +0 -639
- package/tests/liquidsoap/src/core/outputs/hls_output.ml +0 -1197
- package/tests/liquidsoap/src/core/outputs/icecast2.ml +0 -668
- package/tests/liquidsoap/src/core/outputs/output.ml +0 -259
- package/tests/liquidsoap/src/core/outputs/output.mli +0 -98
- package/tests/liquidsoap/src/core/outputs/pipe_output.ml +0 -636
- package/tests/liquidsoap/src/core/outputs/sdl_out.ml +0 -136
- package/tests/liquidsoap/src/core/playlist_parser.ml +0 -108
- package/tests/liquidsoap/src/core/playlists/playlist_basic.ml +0 -301
- package/tests/liquidsoap/src/core/playlists/playlist_xml.ml +0 -38
- package/tests/liquidsoap/src/core/plug.ml +0 -1
- package/tests/liquidsoap/src/core/pos.ml +0 -1
- package/tests/liquidsoap/src/core/protocols/annotate.ml +0 -70
- package/tests/liquidsoap/src/core/protocols/mpd.ml +0 -149
- package/tests/liquidsoap/src/core/request.ml +0 -816
- package/tests/liquidsoap/src/core/request.mli +0 -220
- package/tests/liquidsoap/src/core/runtime_error.ml +0 -1
- package/tests/liquidsoap/src/core/shebang.ml +0 -67
- package/tests/liquidsoap/src/core/source.ml +0 -658
- package/tests/liquidsoap/src/core/source.mli +0 -387
- package/tests/liquidsoap/src/core/sources/audio_gen.ml +0 -107
- package/tests/liquidsoap/src/core/sources/bjack_in.ml +0 -143
- package/tests/liquidsoap/src/core/sources/blank.ml +0 -119
- package/tests/liquidsoap/src/core/sources/debug_sources.ml +0 -61
- package/tests/liquidsoap/src/core/sources/external_input_audio.ml +0 -152
- package/tests/liquidsoap/src/core/sources/external_input_video.ml +0 -245
- package/tests/liquidsoap/src/core/sources/generated.ml +0 -115
- package/tests/liquidsoap/src/core/sources/harbor_input.ml +0 -486
- package/tests/liquidsoap/src/core/sources/latest_metadata.ml +0 -37
- package/tests/liquidsoap/src/core/sources/noise.ml +0 -90
- package/tests/liquidsoap/src/core/sources/request_dynamic.ml +0 -534
- package/tests/liquidsoap/src/core/sources/synthesized.ml +0 -75
- package/tests/liquidsoap/src/core/sources/video_board.ml +0 -194
- package/tests/liquidsoap/src/core/sources/video_testsrc.ml +0 -86
- package/tests/liquidsoap/src/core/sources/video_text.ml +0 -124
- package/tests/liquidsoap/src/core/startup.ml +0 -7
- package/tests/liquidsoap/src/core/stream/aFrame.ml +0 -42
- package/tests/liquidsoap/src/core/stream/aFrame.mli +0 -37
- package/tests/liquidsoap/src/core/stream/content.ml +0 -140
- package/tests/liquidsoap/src/core/stream/content.mli +0 -222
- package/tests/liquidsoap/src/core/stream/content_audio.ml +0 -111
- package/tests/liquidsoap/src/core/stream/content_base.ml +0 -438
- package/tests/liquidsoap/src/core/stream/content_midi.ml +0 -66
- package/tests/liquidsoap/src/core/stream/content_pcm_base.ml +0 -77
- package/tests/liquidsoap/src/core/stream/content_pcm_c.c +0 -30
- package/tests/liquidsoap/src/core/stream/content_pcm_f32.ml +0 -59
- package/tests/liquidsoap/src/core/stream/content_pcm_f32.mli +0 -36
- package/tests/liquidsoap/src/core/stream/content_pcm_s16.ml +0 -59
- package/tests/liquidsoap/src/core/stream/content_pcm_s16.mli +0 -37
- package/tests/liquidsoap/src/core/stream/content_timed.ml +0 -163
- package/tests/liquidsoap/src/core/stream/content_video.ml +0 -189
- package/tests/liquidsoap/src/core/stream/ffmpeg_content_base.ml +0 -32
- package/tests/liquidsoap/src/core/stream/ffmpeg_copy_content.ml +0 -158
- package/tests/liquidsoap/src/core/stream/ffmpeg_raw_content.ml +0 -261
- package/tests/liquidsoap/src/core/stream/frame.ml +0 -147
- package/tests/liquidsoap/src/core/stream/frame.mli +0 -249
- package/tests/liquidsoap/src/core/stream/frame_base.ml +0 -133
- package/tests/liquidsoap/src/core/stream/frame_settings.ml +0 -226
- package/tests/liquidsoap/src/core/stream/generator.ml +0 -218
- package/tests/liquidsoap/src/core/stream/generator.mli +0 -100
- package/tests/liquidsoap/src/core/stream/mFrame.ml +0 -33
- package/tests/liquidsoap/src/core/stream/mFrame.mli +0 -10
- package/tests/liquidsoap/src/core/stream/metadata_base.ml +0 -75
- package/tests/liquidsoap/src/core/stream/vFrame.ml +0 -36
- package/tests/liquidsoap/src/core/stream/vFrame.mli +0 -31
- package/tests/liquidsoap/src/core/synth/dssi_op.ml +0 -246
- package/tests/liquidsoap/src/core/synth/keyboard.ml +0 -134
- package/tests/liquidsoap/src/core/synth/keyboard_sdl.ml +0 -168
- package/tests/liquidsoap/src/core/synth/synth_op.ml +0 -186
- package/tests/liquidsoap/src/core/term.ml +0 -1
- package/tests/liquidsoap/src/core/tools/avi.ml +0 -380
- package/tests/liquidsoap/src/core/tools/charset.ml +0 -52
- package/tests/liquidsoap/src/core/tools/charset.mli +0 -49
- package/tests/liquidsoap/src/core/tools/charset_base.ml +0 -66
- package/tests/liquidsoap/src/core/tools/child_support.ml +0 -68
- package/tests/liquidsoap/src/core/tools/external_input.ml +0 -79
- package/tests/liquidsoap/src/core/tools/extra_args.ml +0 -27
- package/tests/liquidsoap/src/core/tools/extra_args.mli +0 -26
- package/tests/liquidsoap/src/core/tools/extralib.ml +0 -1
- package/tests/liquidsoap/src/core/tools/ffmpeg_avfilter_utils.ml +0 -150
- package/tests/liquidsoap/src/core/tools/ffmpeg_avfilter_utils.mli +0 -44
- package/tests/liquidsoap/src/core/tools/ffmpeg_utils.ml +0 -356
- package/tests/liquidsoap/src/core/tools/ffmpeg_utils.mli +0 -79
- package/tests/liquidsoap/src/core/tools/gstreamer_utils.ml +0 -200
- package/tests/liquidsoap/src/core/tools/http.ml +0 -208
- package/tests/liquidsoap/src/core/tools/http.mli +0 -80
- package/tests/liquidsoap/src/core/tools/https.mli +0 -1
- package/tests/liquidsoap/src/core/tools/icecast_utils.ml +0 -211
- package/tests/liquidsoap/src/core/tools/lifecycle.ml +0 -100
- package/tests/liquidsoap/src/core/tools/lifecycle.mli +0 -88
- package/tests/liquidsoap/src/core/tools/liq_posix_time.ml +0 -70
- package/tests/liquidsoap/src/core/tools/liq_prometheus.ml +0 -56
- package/tests/liquidsoap/src/core/tools/liq_time.ml +0 -41
- package/tests/liquidsoap/src/core/tools/liq_time.mli +0 -19
- package/tests/liquidsoap/src/core/tools/liqcurl.ml +0 -220
- package/tests/liquidsoap/src/core/tools/liqfm.ml +0 -245
- package/tests/liquidsoap/src/core/tools/liqfm.mli +0 -40
- package/tests/liquidsoap/src/core/tools/liqmemtrace.ml +0 -25
- package/tests/liquidsoap/src/core/tools/log.ml +0 -147
- package/tests/liquidsoap/src/core/tools/log.mli +0 -12
- package/tests/liquidsoap/src/core/tools/mutex_utils.ml +0 -33
- package/tests/liquidsoap/src/core/tools/mutex_utils.mli +0 -23
- package/tests/liquidsoap/src/core/tools/pool.ml +0 -87
- package/tests/liquidsoap/src/core/tools/process_handler.ml +0 -355
- package/tests/liquidsoap/src/core/tools/process_handler.mli +0 -113
- package/tests/liquidsoap/src/core/tools/producer_consumer.ml +0 -109
- package/tests/liquidsoap/src/core/tools/sandbox.ml +0 -178
- package/tests/liquidsoap/src/core/tools/sandbox.mli +0 -28
- package/tests/liquidsoap/src/core/tools/sdl_log_level.ml +0 -29
- package/tests/liquidsoap/src/core/tools/sdl_utils.ml +0 -222
- package/tests/liquidsoap/src/core/tools/server.ml +0 -472
- package/tests/liquidsoap/src/core/tools/server.mli +0 -99
- package/tests/liquidsoap/src/core/tools/server_builtins.ml +0 -63
- package/tests/liquidsoap/src/core/tools/sha1.ml +0 -139
- package/tests/liquidsoap/src/core/tools/srt_parser.ml +0 -100
- package/tests/liquidsoap/src/core/tools/ssl_base.ml +0 -25
- package/tests/liquidsoap/src/core/tools/start_stop.ml +0 -151
- package/tests/liquidsoap/src/core/tools/stringView.ml +0 -36
- package/tests/liquidsoap/src/core/tools/stringView.mli +0 -50
- package/tests/liquidsoap/src/core/tools/strings.ml +0 -249
- package/tests/liquidsoap/src/core/tools/strings.mli +0 -209
- package/tests/liquidsoap/src/core/tools/tutils.ml +0 -387
- package/tests/liquidsoap/src/core/tools/tutils.mli +0 -89
- package/tests/liquidsoap/src/core/tools/unix_c.c +0 -86
- package/tests/liquidsoap/src/core/tools/utils.ml +0 -504
- package/tests/liquidsoap/src/core/tools/wav_aiff.ml +0 -261
- package/tests/liquidsoap/src/core/tools/wav_aiff.mli +0 -84
- package/tests/liquidsoap/src/core/tools/websocket.ml +0 -290
- package/tests/liquidsoap/src/core/track.ml +0 -38
- package/tests/liquidsoap/src/core/track.mli +0 -27
- package/tests/liquidsoap/src/core/type.ml +0 -1
- package/tests/liquidsoap/src/core/types/format_type.ml +0 -344
- package/tests/liquidsoap/src/core/types/format_type.mli +0 -45
- package/tests/liquidsoap/src/core/types/frame_type.ml +0 -134
- package/tests/liquidsoap/src/core/types/frame_type.mli +0 -52
- package/tests/liquidsoap/src/core/typing.ml +0 -1
- package/tests/liquidsoap/src/core/unifier.ml +0 -1
- package/tests/liquidsoap/src/core/value.ml +0 -1
- package/tests/liquidsoap/src/core/visualization/midimeter.ml +0 -69
- package/tests/liquidsoap/src/core/visualization/video_volume.ml +0 -143
- package/tests/liquidsoap/src/core/visualization/vis_volume.ml +0 -130
- package/tests/liquidsoap/src/js/dune +0 -47
- package/tests/liquidsoap/src/js/index.html +0 -246
- package/tests/liquidsoap/src/js/interactive_js.ml +0 -99
- package/tests/liquidsoap/src/js/runtime.js +0 -17
- package/tests/liquidsoap/src/js/stdlib_js.liq +0 -9
- package/tests/liquidsoap/src/lang/active_value.ml +0 -38
- package/tests/liquidsoap/src/lang/active_value.mli +0 -33
- package/tests/liquidsoap/src/lang/build_config.mli +0 -11
- package/tests/liquidsoap/src/lang/builtins_bool.ml +0 -89
- package/tests/liquidsoap/src/lang/builtins_eval.ml +0 -36
- package/tests/liquidsoap/src/lang/builtins_getter.ml +0 -110
- package/tests/liquidsoap/src/lang/builtins_json.ml +0 -442
- package/tests/liquidsoap/src/lang/builtins_lang.ml +0 -241
- package/tests/liquidsoap/src/lang/builtins_list.ml +0 -268
- package/tests/liquidsoap/src/lang/builtins_math.ml +0 -301
- package/tests/liquidsoap/src/lang/builtins_null.ml +0 -72
- package/tests/liquidsoap/src/lang/builtins_profiler.ml +0 -56
- package/tests/liquidsoap/src/lang/builtins_ref.ml +0 -33
- package/tests/liquidsoap/src/lang/builtins_regexp.ml +0 -283
- package/tests/liquidsoap/src/lang/builtins_string.ml +0 -559
- package/tests/liquidsoap/src/lang/builtins_yaml.ml +0 -50
- package/tests/liquidsoap/src/lang/doc.ml +0 -698
- package/tests/liquidsoap/src/lang/dune +0 -145
- package/tests/liquidsoap/src/lang/environment.ml +0 -127
- package/tests/liquidsoap/src/lang/environment.mli +0 -49
- package/tests/liquidsoap/src/lang/error.ml +0 -37
- package/tests/liquidsoap/src/lang/error.mli +0 -26
- package/tests/liquidsoap/src/lang/evaluation.ml +0 -554
- package/tests/liquidsoap/src/lang/evaluation.mli +0 -30
- package/tests/liquidsoap/src/lang/extralib.ml +0 -90
- package/tests/liquidsoap/src/lang/hooks.ml +0 -57
- package/tests/liquidsoap/src/lang/hooks.mli +0 -36
- package/tests/liquidsoap/src/lang/json.ml +0 -142
- package/tests/liquidsoap/src/lang/json.mli +0 -18
- package/tests/liquidsoap/src/lang/json_base.ml +0 -12
- package/tests/liquidsoap/src/lang/json_lexer.ml +0 -322
- package/tests/liquidsoap/src/lang/json_parser.mly +0 -101
- package/tests/liquidsoap/src/lang/lang.ml +0 -3
- package/tests/liquidsoap/src/lang/lang.mli +0 -255
- package/tests/liquidsoap/src/lang/lang_core.ml +0 -505
- package/tests/liquidsoap/src/lang/lang_error.ml +0 -166
- package/tests/liquidsoap/src/lang/lang_regexp.ml +0 -7
- package/tests/liquidsoap/src/lang/lang_string.ml +0 -565
- package/tests/liquidsoap/src/lang/lang_string.mli +0 -80
- package/tests/liquidsoap/src/lang/lexer.ml +0 -537
- package/tests/liquidsoap/src/lang/methods.ml +0 -44
- package/tests/liquidsoap/src/lang/methods.mli +0 -44
- package/tests/liquidsoap/src/lang/modules.ml +0 -34
- package/tests/liquidsoap/src/lang/parser.mly +0 -688
- package/tests/liquidsoap/src/lang/parser_helper.ml +0 -216
- package/tests/liquidsoap/src/lang/parser_helper.mli +0 -84
- package/tests/liquidsoap/src/lang/plug.ml +0 -99
- package/tests/liquidsoap/src/lang/pos.ml +0 -73
- package/tests/liquidsoap/src/lang/preprocessor.ml +0 -212
- package/tests/liquidsoap/src/lang/profiler.ml +0 -92
- package/tests/liquidsoap/src/lang/queues.ml +0 -134
- package/tests/liquidsoap/src/lang/queues.mli +0 -54
- package/tests/liquidsoap/src/lang/repr.ml +0 -537
- package/tests/liquidsoap/src/lang/runtime.ml +0 -351
- package/tests/liquidsoap/src/lang/runtime.mli +0 -70
- package/tests/liquidsoap/src/lang/runtime_error.ml +0 -49
- package/tests/liquidsoap/src/lang/runtime_error.mli +0 -37
- package/tests/liquidsoap/src/lang/startup.ml +0 -34
- package/tests/liquidsoap/src/lang/term/parsed_term.ml +0 -331
- package/tests/liquidsoap/src/lang/term/runtime_term.ml +0 -80
- package/tests/liquidsoap/src/lang/term/term_base.ml +0 -732
- package/tests/liquidsoap/src/lang/term/term_reducer.ml +0 -959
- package/tests/liquidsoap/src/lang/term/term_reducer.mli +0 -33
- package/tests/liquidsoap/src/lang/term.ml +0 -1
- package/tests/liquidsoap/src/lang/term.mli +0 -112
- package/tests/liquidsoap/src/lang/type.ml +0 -81
- package/tests/liquidsoap/src/lang/type.mli +0 -166
- package/tests/liquidsoap/src/lang/typechecking.ml +0 -440
- package/tests/liquidsoap/src/lang/typechecking.mli +0 -14
- package/tests/liquidsoap/src/lang/types/ground_type.ml +0 -106
- package/tests/liquidsoap/src/lang/types/ground_type.mli +0 -54
- package/tests/liquidsoap/src/lang/types/ref_type.ml +0 -28
- package/tests/liquidsoap/src/lang/types/type_base.ml +0 -437
- package/tests/liquidsoap/src/lang/typing.ml +0 -613
- package/tests/liquidsoap/src/lang/typing.mli +0 -60
- package/tests/liquidsoap/src/lang/unifier.ml +0 -48
- package/tests/liquidsoap/src/lang/unifier.mli +0 -28
- package/tests/liquidsoap/src/lang/utils.ml +0 -52
- package/tests/liquidsoap/src/lang/value.ml +0 -247
- package/tests/liquidsoap/src/libs/audio.liq +0 -361
- package/tests/liquidsoap/src/libs/clock.liq +0 -14
- package/tests/liquidsoap/src/libs/dune +0 -15
- package/tests/liquidsoap/src/libs/error.liq +0 -51
- package/tests/liquidsoap/src/libs/extra/audio.liq +0 -617
- package/tests/liquidsoap/src/libs/extra/autocue.liq +0 -449
- package/tests/liquidsoap/src/libs/extra/deprecations.liq +0 -915
- package/tests/liquidsoap/src/libs/extra/externals.liq +0 -802
- package/tests/liquidsoap/src/libs/extra/fades.liq +0 -78
- package/tests/liquidsoap/src/libs/extra/file.liq +0 -66
- package/tests/liquidsoap/src/libs/extra/gstreamer.liq +0 -209
- package/tests/liquidsoap/src/libs/extra/http.liq +0 -159
- package/tests/liquidsoap/src/libs/extra/interactive.liq +0 -854
- package/tests/liquidsoap/src/libs/extra/lastfm.liq +0 -185
- package/tests/liquidsoap/src/libs/extra/metadata.liq +0 -104
- package/tests/liquidsoap/src/libs/extra/native.liq +0 -195
- package/tests/liquidsoap/src/libs/extra/openai.liq +0 -152
- package/tests/liquidsoap/src/libs/extra/server.liq +0 -189
- package/tests/liquidsoap/src/libs/extra/source.liq +0 -448
- package/tests/liquidsoap/src/libs/extra/telnet.liq +0 -281
- package/tests/liquidsoap/src/libs/extra/video.liq +0 -33
- package/tests/liquidsoap/src/libs/extra/visualization.liq +0 -68
- package/tests/liquidsoap/src/libs/fades.liq +0 -1020
- package/tests/liquidsoap/src/libs/ffmpeg.liq +0 -590
- package/tests/liquidsoap/src/libs/file.liq +0 -364
- package/tests/liquidsoap/src/libs/getter.liq +0 -74
- package/tests/liquidsoap/src/libs/hls.liq +0 -327
- package/tests/liquidsoap/src/libs/http.liq +0 -990
- package/tests/liquidsoap/src/libs/http_codes.liq +0 -449
- package/tests/liquidsoap/src/libs/icecast.liq +0 -55
- package/tests/liquidsoap/src/libs/io.liq +0 -169
- package/tests/liquidsoap/src/libs/liquidsoap.liq +0 -31
- package/tests/liquidsoap/src/libs/log.liq +0 -47
- package/tests/liquidsoap/src/libs/math.liq +0 -23
- package/tests/liquidsoap/src/libs/medialib.liq +0 -764
- package/tests/liquidsoap/src/libs/metadata.liq +0 -251
- package/tests/liquidsoap/src/libs/null.liq +0 -73
- package/tests/liquidsoap/src/libs/playlist.liq +0 -771
- package/tests/liquidsoap/src/libs/predicate.liq +0 -106
- package/tests/liquidsoap/src/libs/process.liq +0 -93
- package/tests/liquidsoap/src/libs/profiler.liq +0 -5
- package/tests/liquidsoap/src/libs/protocols.liq +0 -1075
- package/tests/liquidsoap/src/libs/ref.liq +0 -28
- package/tests/liquidsoap/src/libs/replaygain.liq +0 -134
- package/tests/liquidsoap/src/libs/request.liq +0 -377
- package/tests/liquidsoap/src/libs/resolvers.liq +0 -30
- package/tests/liquidsoap/src/libs/runtime.liq +0 -68
- package/tests/liquidsoap/src/libs/server.liq +0 -40
- package/tests/liquidsoap/src/libs/settings.liq +0 -27
- package/tests/liquidsoap/src/libs/socket.liq +0 -28
- package/tests/liquidsoap/src/libs/source.liq +0 -278
- package/tests/liquidsoap/src/libs/sqlite.liq +0 -164
- package/tests/liquidsoap/src/libs/stdlib.liq +0 -62
- package/tests/liquidsoap/src/libs/string.liq +0 -443
- package/tests/liquidsoap/src/libs/switches.liq +0 -240
- package/tests/liquidsoap/src/libs/testing.liq +0 -37
- package/tests/liquidsoap/src/libs/thread.liq +0 -86
- package/tests/liquidsoap/src/libs/tracks.liq +0 -63
- package/tests/liquidsoap/src/libs/utils.liq +0 -75
- package/tests/liquidsoap/src/libs/video.liq +0 -828
- package/tests/liquidsoap/src/runtime/build_config.ml +0 -142
- package/tests/liquidsoap/src/runtime/dune +0 -15
- package/tests/liquidsoap/src/runtime/main.ml +0 -733
- package/tests/liquidsoap/src/runtime/runner.default.ml +0 -25
- package/tests/liquidsoap/src/runtime/runner.mli +0 -1
- package/tests/liquidsoap/src/runtime/runner.winsvc.ml +0 -83
- package/tests/liquidsoap/src/stdlib/dune +0 -12
- package/tests/liquidsoap/src/stdlib/hashtbl.ml +0 -1
- package/tests/liquidsoap/src/stdlib/hashtbl.mli +0 -16
- package/tests/liquidsoap/src/stdlib/pcre.ml +0 -1
- package/tests/liquidsoap/src/stdlib/pcre.mli +0 -1
- package/tests/liquidsoap/src/stereotool/dune +0 -5
- package/tests/liquidsoap/src/stereotool/stereotool.ml +0 -151
- package/tests/liquidsoap/src/stereotool/stereotool.mli +0 -30
- package/tests/liquidsoap/src/tooling/dune +0 -13
- package/tests/liquidsoap/src/tooling/parsed_json.ml +0 -601
- package/tests/liquidsoap/src/tooling/parsed_json.mli +0 -26
- package/tests/liquidsoap/tests/check_output.ml +0 -41
- package/tests/liquidsoap/tests/core/content_test.ml +0 -92
- package/tests/liquidsoap/tests/core/decoder_test.ml +0 -58
- package/tests/liquidsoap/tests/core/dune +0 -57
- package/tests/liquidsoap/tests/core/dune.inc +0 -335
- package/tests/liquidsoap/tests/core/ffmpeg_quality.ml +0 -83
- package/tests/liquidsoap/tests/core/frame_test.ml +0 -6
- package/tests/liquidsoap/tests/core/gen_dune.ml +0 -52
- package/tests/liquidsoap/tests/core/generator_test.ml +0 -106
- package/tests/liquidsoap/tests/core/is_url.ml +0 -4
- package/tests/liquidsoap/tests/core/json_test.ml +0 -129
- package/tests/liquidsoap/tests/core/meth.ml +0 -48
- package/tests/liquidsoap/tests/core/more_types.ml +0 -92
- package/tests/liquidsoap/tests/core/output_encoded_test.ml +0 -45
- package/tests/liquidsoap/tests/core/output_test.ml +0 -37
- package/tests/liquidsoap/tests/core/parsesrt.ml +0 -12
- package/tests/liquidsoap/tests/core/playlist_basic_test.ml +0 -74
- package/tests/liquidsoap/tests/core/pool_test.ml +0 -46
- package/tests/liquidsoap/tests/core/readavi.ml +0 -8
- package/tests/liquidsoap/tests/core/start_stop_test.ml +0 -30
- package/tests/liquidsoap/tests/core/stream_decoder_test.ml +0 -51
- package/tests/liquidsoap/tests/core/string_test.ml +0 -1
- package/tests/liquidsoap/tests/core/strings_test.ml +0 -15
- package/tests/liquidsoap/tests/core/test.srt +0 -20
- package/tests/liquidsoap/tests/core/timezone.ml +0 -7
- package/tests/liquidsoap/tests/core/types.ml +0 -397
- package/tests/liquidsoap/tests/core/unifier_test.ml +0 -29
- package/tests/liquidsoap/tests/core/utils_test.ml +0 -6
- package/tests/liquidsoap/tests/core/version_test.ml +0 -27
- package/tests/liquidsoap/tests/dune +0 -14
- package/tests/liquidsoap/tests/failures/ctype.liq +0 -9
- package/tests/liquidsoap/tests/failures/error.liq +0 -9
- package/tests/liquidsoap/tests/failures/record-invalid-member1.liq +0 -10
- package/tests/liquidsoap/tests/failures/record-invalid-member2.liq +0 -3
- package/tests/liquidsoap/tests/failures/ref.liq +0 -16
- package/tests/liquidsoap/tests/fixme/GH1170.liq +0 -35
- package/tests/liquidsoap/tests/fixme/LS527.liq +0 -26
- package/tests/liquidsoap/tests/fixme/cross2.liq +0 -20
- package/tests/liquidsoap/tests/fixme/cross3.liq +0 -26
- package/tests/liquidsoap/tests/fixme/sequence-1.liq +0 -41
- package/tests/liquidsoap/tests/fixme/sequence-2.liq +0 -32
- package/tests/liquidsoap/tests/gen_dune.ml +0 -46
- package/tests/liquidsoap/tests/harbor/dune +0 -18
- package/tests/liquidsoap/tests/harbor/dune.inc +0 -60
- package/tests/liquidsoap/tests/harbor/http.liq +0 -314
- package/tests/liquidsoap/tests/harbor/http2.liq +0 -105
- package/tests/liquidsoap/tests/harbor/http3.liq +0 -56
- package/tests/liquidsoap/tests/harbor/post.liq +0 -207
- package/tests/liquidsoap/tests/harbor/put.liq +0 -209
- package/tests/liquidsoap/tests/language/argsof.liq +0 -48
- package/tests/liquidsoap/tests/language/bool.liq +0 -28
- package/tests/liquidsoap/tests/language/comments.liq +0 -85
- package/tests/liquidsoap/tests/language/conversions.liq +0 -14
- package/tests/liquidsoap/tests/language/doc.liq +0 -14
- package/tests/liquidsoap/tests/language/dune +0 -74
- package/tests/liquidsoap/tests/language/dune.inc +0 -528
- package/tests/liquidsoap/tests/language/encoders.liq +0 -99
- package/tests/liquidsoap/tests/language/error.liq +0 -166
- package/tests/liquidsoap/tests/language/eval.liq +0 -81
- package/tests/liquidsoap/tests/language/file.liq +0 -45
- package/tests/liquidsoap/tests/language/file.watch.liq +0 -19
- package/tests/liquidsoap/tests/language/file.watch2.liq +0 -23
- package/tests/liquidsoap/tests/language/file_protocol.liq +0 -32
- package/tests/liquidsoap/tests/language/functions.liq +0 -41
- package/tests/liquidsoap/tests/language/gen_dune.ml +0 -49
- package/tests/liquidsoap/tests/language/getter.liq +0 -77
- package/tests/liquidsoap/tests/language/interactive.liq +0 -39
- package/tests/liquidsoap/tests/language/json.liq +0 -311
- package/tests/liquidsoap/tests/language/list.liq +0 -119
- package/tests/liquidsoap/tests/language/loop.liq +0 -18
- package/tests/liquidsoap/tests/language/math.liq +0 -27
- package/tests/liquidsoap/tests/language/mem_usage.liq +0 -85
- package/tests/liquidsoap/tests/language/metadata.liq +0 -132
- package/tests/liquidsoap/tests/language/metrics.liq +0 -22
- package/tests/liquidsoap/tests/language/null.liq +0 -38
- package/tests/liquidsoap/tests/language/number.liq +0 -64
- package/tests/liquidsoap/tests/language/osc.liq +0 -69
- package/tests/liquidsoap/tests/language/pattern.liq +0 -103
- package/tests/liquidsoap/tests/language/pp.liq +0 -45
- package/tests/liquidsoap/tests/language/predicate.liq +0 -42
- package/tests/liquidsoap/tests/language/process.liq +0 -51
- package/tests/liquidsoap/tests/language/rec.liq +0 -26
- package/tests/liquidsoap/tests/language/record.liq +0 -318
- package/tests/liquidsoap/tests/language/ref.liq +0 -25
- package/tests/liquidsoap/tests/language/regexp.liq +0 -32
- package/tests/liquidsoap/tests/language/replaygain.liq +0 -154
- package/tests/liquidsoap/tests/language/socket.liq +0 -45
- package/tests/liquidsoap/tests/language/sqlite.liq +0 -96
- package/tests/liquidsoap/tests/language/stdlib.liq +0 -11
- package/tests/liquidsoap/tests/language/string.liq +0 -177
- package/tests/liquidsoap/tests/language/test_cover.liq +0 -8
- package/tests/liquidsoap/tests/language/thread.liq +0 -71
- package/tests/liquidsoap/tests/language/time.liq +0 -25
- package/tests/liquidsoap/tests/language/type_errors.liq +0 -399
- package/tests/liquidsoap/tests/language/typing.liq +0 -233
- package/tests/liquidsoap/tests/language/url.liq +0 -15
- package/tests/liquidsoap/tests/language/write_cover.liq +0 -12
- package/tests/liquidsoap/tests/language/yaml.liq +0 -36
- package/tests/liquidsoap/tests/media/dune +0 -253
- package/tests/liquidsoap/tests/media/dune.inc +0 -1831
- package/tests/liquidsoap/tests/media/encoder_audio_only.liq.in +0 -14
- package/tests/liquidsoap/tests/media/encoder_audio_video.liq.in +0 -16
- package/tests/liquidsoap/tests/media/encoder_multitrack.liq.in +0 -19
- package/tests/liquidsoap/tests/media/encoder_video_only.liq.in +0 -14
- package/tests/liquidsoap/tests/media/ffmpeg_add_text.liq +0 -88
- package/tests/liquidsoap/tests/media/ffmpeg_audio_decoder.liq +0 -45
- package/tests/liquidsoap/tests/media/ffmpeg_bitstream_filter.liq +0 -94
- package/tests/liquidsoap/tests/media/ffmpeg_complex_filter.liq +0 -59
- package/tests/liquidsoap/tests/media/ffmpeg_copy_and_encode_decoder.liq +0 -76
- package/tests/liquidsoap/tests/media/ffmpeg_copy_concat.liq +0 -39
- package/tests/liquidsoap/tests/media/ffmpeg_copy_decoder.liq +0 -90
- package/tests/liquidsoap/tests/media/ffmpeg_distributed_hls.liq +0 -125
- package/tests/liquidsoap/tests/media/ffmpeg_distributed_hls_state.json +0 -112
- package/tests/liquidsoap/tests/media/ffmpeg_drop_tracks.liq +0 -119
- package/tests/liquidsoap/tests/media/ffmpeg_filter.liq +0 -99
- package/tests/liquidsoap/tests/media/ffmpeg_filter_changing_rate.liq +0 -117
- package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode.liq +0 -103
- package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode_audio.liq +0 -77
- package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode_video.liq +0 -66
- package/tests/liquidsoap/tests/media/ffmpeg_raw_and_copy_decoder.liq +0 -92
- package/tests/liquidsoap/tests/media/ffmpeg_raw_and_encode_decoder.liq +0 -78
- package/tests/liquidsoap/tests/media/ffmpeg_raw_decoder.liq +0 -80
- package/tests/liquidsoap/tests/media/ffmpeg_raw_hls.liq +0 -118
- package/tests/liquidsoap/tests/media/ffmpeg_transparency_filter.liq +0 -85
- package/tests/liquidsoap/tests/media/ffmpeg_video_decoder.liq +0 -52
- package/tests/liquidsoap/tests/media/gen_dune.ml +0 -192
- package/tests/liquidsoap/tests/media/mk_encoder_test.sh +0 -8
- package/tests/liquidsoap/tests/media/mk_stream_test.sh +0 -11
- package/tests/liquidsoap/tests/media/mono.liq +0 -45
- package/tests/liquidsoap/tests/media/multitrack.liq +0 -135
- package/tests/liquidsoap/tests/media/pcm_f32_decode.liq +0 -4
- package/tests/liquidsoap/tests/media/pcm_s16_decode.liq +0 -4
- package/tests/liquidsoap/tests/media/stereo.liq +0 -45
- package/tests/liquidsoap/tests/media/stream_audio.liq.in +0 -49
- package/tests/liquidsoap/tests/media/stream_video.liq.in +0 -49
- package/tests/liquidsoap/tests/media/video_size.liq +0 -54
- package/tests/liquidsoap/tests/performance/dune +0 -31
- package/tests/liquidsoap/tests/performance/erathostenes.liq +0 -39
- package/tests/liquidsoap/tests/performance/gen_bigrecord.ml +0 -69
- package/tests/liquidsoap/tests/performance/memory.liq +0 -15
- package/tests/liquidsoap/tests/performance/performance.liq +0 -16
- package/tests/liquidsoap/tests/performance/small-record.liq +0 -88
- package/tests/liquidsoap/tests/regression/115-1.liq +0 -11
- package/tests/liquidsoap/tests/regression/115-2.liq +0 -6
- package/tests/liquidsoap/tests/regression/3553.liq +0 -55
- package/tests/liquidsoap/tests/regression/AC5109.liq +0 -26
- package/tests/liquidsoap/tests/regression/BUG403.liq +0 -29
- package/tests/liquidsoap/tests/regression/GH-action-919422659.liq +0 -17
- package/tests/liquidsoap/tests/regression/GH1129.liq +0 -57
- package/tests/liquidsoap/tests/regression/GH1146.liq +0 -15
- package/tests/liquidsoap/tests/regression/GH1151.liq +0 -16
- package/tests/liquidsoap/tests/regression/GH1159.liq +0 -13
- package/tests/liquidsoap/tests/regression/GH1279.liq +0 -44
- package/tests/liquidsoap/tests/regression/GH1327.liq +0 -69
- package/tests/liquidsoap/tests/regression/GH2573.output +0 -7
- package/tests/liquidsoap/tests/regression/GH2585.liq +0 -29
- package/tests/liquidsoap/tests/regression/GH2602.liq +0 -18
- package/tests/liquidsoap/tests/regression/GH2756-2.liq +0 -81
- package/tests/liquidsoap/tests/regression/GH2756.liq +0 -90
- package/tests/liquidsoap/tests/regression/GH2758.liq +0 -11
- package/tests/liquidsoap/tests/regression/GH2842.liq +0 -26
- package/tests/liquidsoap/tests/regression/GH2850.liq +0 -56
- package/tests/liquidsoap/tests/regression/GH2867.liq +0 -6
- package/tests/liquidsoap/tests/regression/GH2871.liq +0 -21
- package/tests/liquidsoap/tests/regression/GH2872.liq +0 -21
- package/tests/liquidsoap/tests/regression/GH2897.liq +0 -24
- package/tests/liquidsoap/tests/regression/GH2902.liq +0 -39
- package/tests/liquidsoap/tests/regression/GH2926.liq +0 -17
- package/tests/liquidsoap/tests/regression/GH3093.liq +0 -10
- package/tests/liquidsoap/tests/regression/GH3132.liq +0 -11
- package/tests/liquidsoap/tests/regression/GH3224.liq +0 -6
- package/tests/liquidsoap/tests/regression/GH3239-2.liq +0 -17
- package/tests/liquidsoap/tests/regression/GH3239.liq +0 -16
- package/tests/liquidsoap/tests/regression/GH3276.liq +0 -24
- package/tests/liquidsoap/tests/regression/GH3316.liq +0 -44
- package/tests/liquidsoap/tests/regression/GH3645.liq +0 -16
- package/tests/liquidsoap/tests/regression/GH3675.liq +0 -37
- package/tests/liquidsoap/tests/regression/GH3813.liq +0 -10
- package/tests/liquidsoap/tests/regression/GH3840.liq +0 -36
- package/tests/liquidsoap/tests/regression/GH3881.liq +0 -22
- package/tests/liquidsoap/tests/regression/LS268.liq +0 -9
- package/tests/liquidsoap/tests/regression/LS354-1.liq +0 -7
- package/tests/liquidsoap/tests/regression/LS354-2.liq +0 -23
- package/tests/liquidsoap/tests/regression/LS460.liq +0 -16
- package/tests/liquidsoap/tests/regression/LS503.liq +0 -20
- package/tests/liquidsoap/tests/regression/default_format.liq +0 -3
- package/tests/liquidsoap/tests/regression/dune +0 -39
- package/tests/liquidsoap/tests/regression/dune.inc +0 -924
- package/tests/liquidsoap/tests/regression/external-encoder.liq +0 -6
- package/tests/liquidsoap/tests/regression/ffmpeg-copy-encode.liq +0 -31
- package/tests/liquidsoap/tests/regression/ffmpeg-copy-input-http.liq +0 -8
- package/tests/liquidsoap/tests/regression/ffmpeg-naming-convention.liq +0 -66
- package/tests/liquidsoap/tests/regression/gen_dune.ml +0 -49
- package/tests/liquidsoap/tests/regression/infallible-shutdown.liq +0 -5
- package/tests/liquidsoap/tests/regression/init-error.liq +0 -9
- package/tests/liquidsoap/tests/regression/initial_request_queue.liq +0 -8
- package/tests/liquidsoap/tests/regression/input_rtmp.liq +0 -3
- package/tests/liquidsoap/tests/regression/metadata-resolvers-metadata.liq +0 -32
- package/tests/liquidsoap/tests/regression/metadata_cache.liq +0 -39
- package/tests/liquidsoap/tests/regression/playlist-id.liq +0 -21
- package/tests/liquidsoap/tests/regression/replaygain.liq +0 -5
- package/tests/liquidsoap/tests/regression/seek_track_map.liq +0 -23
- package/tests/liquidsoap/tests/regression/shoutcast-args.liq +0 -9
- package/tests/liquidsoap/tests/regression/source_dynamic.liq +0 -38
- package/tests/liquidsoap/tests/regression/track_sensitive.liq +0 -17
- package/tests/liquidsoap/tests/regression/unified-pcm-types.liq +0 -13
- package/tests/liquidsoap/tests/regression/video-only.liq +0 -7
- package/tests/liquidsoap/tests/run_test.ml +0 -103
- package/tests/liquidsoap/tests/streams/195.liq +0 -7
- package/tests/liquidsoap/tests/streams/197.liq +0 -24
- package/tests/liquidsoap/tests/streams/autostart.liq +0 -27
- package/tests/liquidsoap/tests/streams/cross-override.liq +0 -51
- package/tests/liquidsoap/tests/streams/cross-persist-override.liq +0 -51
- package/tests/liquidsoap/tests/streams/cross.liq +0 -44
- package/tests/liquidsoap/tests/streams/crossfade-plot.liq +0 -56
- package/tests/liquidsoap/tests/streams/crossfade-plot.new.txt +0 -125
- package/tests/liquidsoap/tests/streams/crossfade-plot.old.txt +0 -124
- package/tests/liquidsoap/tests/streams/crossfade.liq +0 -28
- package/tests/liquidsoap/tests/streams/ctype1.liq +0 -13
- package/tests/liquidsoap/tests/streams/ctype2.liq +0 -21
- package/tests/liquidsoap/tests/streams/cue-cut.liq +0 -16
- package/tests/liquidsoap/tests/streams/dtmf.liq +0 -30
- package/tests/liquidsoap/tests/streams/dtmf_pcm_s16.liq +0 -34
- package/tests/liquidsoap/tests/streams/dune +0 -421
- package/tests/liquidsoap/tests/streams/dune.inc +0 -1736
- package/tests/liquidsoap/tests/streams/fades-overrides.liq +0 -63
- package/tests/liquidsoap/tests/streams/fades-persistent-override.liq +0 -64
- package/tests/liquidsoap/tests/streams/ffmpeg-errors.liq +0 -16
- package/tests/liquidsoap/tests/streams/ffmpeg-trim.liq +0 -17
- package/tests/liquidsoap/tests/streams/file_output.liq +0 -14
- package/tests/liquidsoap/tests/streams/gen_dune.ml +0 -54
- package/tests/liquidsoap/tests/streams/harbor_kick_client.liq +0 -62
- package/tests/liquidsoap/tests/streams/harbor_metadata.liq +0 -60
- package/tests/liquidsoap/tests/streams/hls_custom_tags.liq +0 -89
- package/tests/liquidsoap/tests/streams/hls_discontinuity.liq +0 -68
- package/tests/liquidsoap/tests/streams/hls_global_headers.liq +0 -29
- package/tests/liquidsoap/tests/streams/hls_id3v2.liq +0 -232
- package/tests/liquidsoap/tests/streams/hls_large_frame.liq +0 -31
- package/tests/liquidsoap/tests/streams/hls_main_playlist.liq +0 -70
- package/tests/liquidsoap/tests/streams/huge-playlist.liq +0 -25
- package/tests/liquidsoap/tests/streams/icecast_ssl.liq +0 -25
- package/tests/liquidsoap/tests/streams/icecast_ssl_tls.liq +0 -29
- package/tests/liquidsoap/tests/streams/icecast_tls.liq +0 -27
- package/tests/liquidsoap/tests/streams/icecast_tls_ssl.liq +0 -29
- package/tests/liquidsoap/tests/streams/image.liq +0 -4
- package/tests/liquidsoap/tests/streams/many-playlists.liq +0 -28
- package/tests/liquidsoap/tests/streams/merge_metadata.liq +0 -67
- package/tests/liquidsoap/tests/streams/metadata-override.liq +0 -139
- package/tests/liquidsoap/tests/streams/never.liq +0 -6
- package/tests/liquidsoap/tests/streams/no-cue-cut.liq +0 -22
- package/tests/liquidsoap/tests/streams/on_frame.liq +0 -14
- package/tests/liquidsoap/tests/streams/on_metadata.liq +0 -22
- package/tests/liquidsoap/tests/streams/on_track.liq +0 -12
- package/tests/liquidsoap/tests/streams/playlist-watch.liq +0 -43
- package/tests/liquidsoap/tests/streams/radio.liq +0 -11
- package/tests/liquidsoap/tests/streams/radio2.liq +0 -20
- package/tests/liquidsoap/tests/streams/random.liq +0 -70
- package/tests/liquidsoap/tests/streams/replaygain.liq +0 -46
- package/tests/liquidsoap/tests/streams/request.liq +0 -79
- package/tests/liquidsoap/tests/streams/rotate.liq +0 -67
- package/tests/liquidsoap/tests/streams/say.liq +0 -24
- package/tests/liquidsoap/tests/streams/sharing.liq +0 -22
- package/tests/liquidsoap/tests/streams/sine.detect.full_conv.liq +0 -17
- package/tests/liquidsoap/tests/streams/sine.detect.liq +0 -12
- package/tests/liquidsoap/tests/streams/sine.detect.pcm_f32.liq +0 -14
- package/tests/liquidsoap/tests/streams/sine.detect.pcm_s16.liq +0 -14
- package/tests/liquidsoap/tests/streams/smart-crossfade.liq +0 -11
- package/tests/liquidsoap/tests/streams/source-cue.liq +0 -134
- package/tests/liquidsoap/tests/streams/srt_listen_callback.liq +0 -24
- package/tests/liquidsoap/tests/streams/srt_multiple_outputs.liq +0 -16
- package/tests/liquidsoap/tests/streams/srt_passphrase.liq +0 -19
- package/tests/liquidsoap/tests/streams/srt_raw_pcm.liq +0 -18
- package/tests/liquidsoap/tests/streams/stretch-clock-propagation.liq +0 -14
- package/tests/liquidsoap/tests/test.liq +0 -251
- package/tests/liquidsoap/tls-liquidsoap.opam +0 -33
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
# Quickstart
|
|
2
|
-
|
|
3
|
-
## The Internet radio toolchain
|
|
4
|
-
|
|
5
|
-
[Liquidsoap](index.html) is a general audio stream generator, but is mainly intended for Internet radios. Before starting with the proper Liquidsoap tutorial let's describe quickly the components of the internet radio toolchain, in case the reader is not familiar with it.
|
|
6
|
-
|
|
7
|
-
The chain is made of:
|
|
8
|
-
|
|
9
|
-
- the stream generator (Liquidsoap, [ices](https://www.icecast.org/ices/), or for example a DJ-software running on your local PC) which creates an audio stream (Ogg Vorbis or MP3);
|
|
10
|
-
- the streaming media server ([Icecast](http://www.icecast.org), [HLS](https://en.wikipedia.org/wiki/HTTP_Live_Streaming) (via a HTTP server), ...) which relays several streams from their sources to their listeners;
|
|
11
|
-
- the media player (iTunes, VLC, a web browser, ...) which gets the audio stream from the streaming media server and plays it to the listener's speakers.
|
|
12
|
-
|
|
13
|
-

|
|
14
|
-
|
|
15
|
-
The stream is always passed from the stream generator to the server, whether or not there are listeners. It is then sent by the server to every listener. The more listeners you have, the more bandwidth you need.
|
|
16
|
-
|
|
17
|
-
If you use Icecast, you can broadcast more than one audio feed using the same server. Each audio feed or stream is identified by its "mount point" on the server. If you connect to the `foo.ogg` mount point, the URL of your stream will be [http://localhost:8000/foo.ogg](http://localhost:8000/foo.ogg) -- assuming that your Icecast is on localhost on port 8000. If you need further information on this you might want to read Icecast's [documentation](http://www.icecast.org). A proper setup of a streaming server is required for running Liquidsoap.
|
|
18
|
-
|
|
19
|
-
Now, let's create an audio stream.
|
|
20
|
-
|
|
21
|
-
## Starting to use Liquidsoap
|
|
22
|
-
|
|
23
|
-
We assume that you have a fully installed Liquidsoap. In particular the library `stdlib.liq` and its accompanying scripts should have been installed, otherwise Liquidsoap won't know the operators which have been defined there.
|
|
24
|
-
|
|
25
|
-
### Sources
|
|
26
|
-
|
|
27
|
-
A stream is built with Liquidsoap by using or creating sources. A source is a media stream containing audio and/or video, track marks and metadata. In the following picture we represent a stream which has at least three tracks (one of which starts before the snapshot), and a few metadata packets (notice that they do not necessarily coincide with new tracks).
|
|
28
|
-
|
|
29
|
-

|
|
30
|
-
|
|
31
|
-
Liquidsoap provides many functions for creating sources from scratch (e.g. `playlist`), and also for creating complex sources by putting together simpler ones (e.g. `switch` in the following example). Eventually, sources are plugged into outputs (typically named `output.*`) which continuously pull the source's content and output it to speakers, to a file, to a streaming server, etc. These outputs what brings life into your sources.
|
|
32
|
-
|
|
33
|
-
### That source is fallible!
|
|
34
|
-
|
|
35
|
-
A couple of things can go wrong in your streaming system.
|
|
36
|
-
In Liquidsoap,
|
|
37
|
-
we say that a source is _infallible_ if it is always available.
|
|
38
|
-
Otherwise, it is _fallible_, meaning that something could go wrong and the source would not be available.
|
|
39
|
-
By default, an output requires that its input source is infallible,
|
|
40
|
-
otherwise it complains that "That source is fallible!"
|
|
41
|
-
|
|
42
|
-
For example, a normal `playlist` is fallible.
|
|
43
|
-
Firstly, because it could contain only invalid files, or at least spend too
|
|
44
|
-
much time on invalid files to be able to prepare a valid one on time.
|
|
45
|
-
Moreover, a playlist could contain remote files, which may not
|
|
46
|
-
be accessible quickly at all times.
|
|
47
|
-
A queue of user requests is another example of fallible source.
|
|
48
|
-
Also, if `file.ogg` is a valid local file,
|
|
49
|
-
then `single("file.ogg")` is an infallible source.
|
|
50
|
-
|
|
51
|
-
When an output complains about its source being fallible, you have to turn it into
|
|
52
|
-
an infallible one. Many solutions are available.
|
|
53
|
-
The function `mksafe` takes a source and returns an infallible
|
|
54
|
-
source, streaming silence when the input stream becomes unavailable.
|
|
55
|
-
In a radio-like stream, silence is not the preferred solution, and you
|
|
56
|
-
will probably prefer to `fallback` on an infallible
|
|
57
|
-
"security" source:
|
|
58
|
-
|
|
59
|
-
```liquidsoap
|
|
60
|
-
fallback([your_fallible_source_here, single("failure.ogg")])
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Finally, if you do not care about failures, you can pass the parameter
|
|
64
|
-
`fallible=true` to most outputs (or pass the option `--no-fallible-check` to Liquidsoap). In that case, the output
|
|
65
|
-
will accept a fallible source, and stop whenever the source fails
|
|
66
|
-
and restart when it is ready to produce data again.
|
|
67
|
-
|
|
68
|
-
## One-line expressions
|
|
69
|
-
|
|
70
|
-
Liquidsoap is a scripting language. Many simple setups can be achieved by evaluating one-line expressions.
|
|
71
|
-
|
|
72
|
-
### Playlists
|
|
73
|
-
|
|
74
|
-
In the first example we'll play a playlist. Let's put a list of audio files in
|
|
75
|
-
`playlist.pls`: one filename per line, lines starting with a `#` are
|
|
76
|
-
ignored. You can also put remote files' URLs, if your liquidsoap has
|
|
77
|
-
[support](help.html#plugins) for the corresponding protocols.
|
|
78
|
-
Then just run:
|
|
79
|
-
|
|
80
|
-
```liquidsoap
|
|
81
|
-
liquidsoap 'output(playlist("playlist.pls"))'
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
Other playlist formats are supported, such as M3U and, depending on your
|
|
85
|
-
configuration, XSPF.
|
|
86
|
-
Instead of giving the filename of a playlist, you can also use a directory
|
|
87
|
-
name, and liquidsoap will recursively look for audio files in it.
|
|
88
|
-
|
|
89
|
-
Depending on your configuration, the output `output` will use AO, Alsa or OSS, or won't do anything if you do not have support for these libs. In that case, the next example is for you.
|
|
90
|
-
|
|
91
|
-
### Streaming out to a server
|
|
92
|
-
|
|
93
|
-
**Note:** in the following, we assume that you have installed the following optional dependencies:
|
|
94
|
-
|
|
95
|
-
- `cry` for icecast output
|
|
96
|
-
- `vorbis` for ogg/vorbis encoding
|
|
97
|
-
- `ffmpeg` for ffmpeg encoding
|
|
98
|
-
|
|
99
|
-
Liquidsoap is capable of playing audio on your speakers, but it can also send audio to a streaming server such as Icecast or Shoutcast.
|
|
100
|
-
One instance of liquidsoap can stream one audio feed in many formats (and even many audio feeds in many formats!).
|
|
101
|
-
|
|
102
|
-
You may already have an Icecast server. Otherwise you can install and configure your own Icecast server. The configuration typically consists in setting the admin and source passwords, in `/etc/icecast2/icecast.xml`. These passwords should really be changed if your server is visible from the hostile internet, unless you want people to kick your source as admins, or add their own source and steal your bandwidth.
|
|
103
|
-
|
|
104
|
-
We are now going to send an audio stream, encoded as Ogg Vorbis, to an Icecast server:
|
|
105
|
-
|
|
106
|
-
```liquidsoap
|
|
107
|
-
liquidsoap \
|
|
108
|
-
'output.icecast(%vorbis,
|
|
109
|
-
host = "localhost", port = 8000,
|
|
110
|
-
password = "hackme", mount = "liq.ogg",
|
|
111
|
-
mksafe(playlist("playlist.m3u")))'
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
The main difference with the previous is that we used `output.icecast` instead of `output`. The second difference is the use of the `mksafe` which turns your fallible playlist source into an infallible source.
|
|
115
|
-
|
|
116
|
-
If you want to use HLS instead for streaming, you can do:
|
|
117
|
-
|
|
118
|
-
```liquidsoap
|
|
119
|
-
liquidsoap \
|
|
120
|
-
'output.file.hls(
|
|
121
|
-
"/path/to/hls/directory",
|
|
122
|
-
[("aac",
|
|
123
|
-
%ffmpeg(
|
|
124
|
-
format="mpegts",
|
|
125
|
-
%audio(codec="aac", b="128k")
|
|
126
|
-
))],
|
|
127
|
-
mksafe(playlist("playlist.m3u")))'
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
Once started, this will place all the files required for HLS stream into the local path `"/path/to/hls/directory"` which you can then server over HTTP.
|
|
131
|
-
The HLS output has many interesting options, including callbacks to upload its files and more. See the [HLS Output](hls_output.html) page for more details.
|
|
132
|
-
|
|
133
|
-
### Input from another streaming server
|
|
134
|
-
|
|
135
|
-
Liquidsoap can use another stream as an audio source. This may be useful if you do some live shows.
|
|
136
|
-
|
|
137
|
-
```liquidsoap
|
|
138
|
-
liquidsoap \
|
|
139
|
-
'output(input.http("https://icecast.radiofrance.fr/fip-hifi.aac"))'
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Input from the soundcard
|
|
143
|
-
|
|
144
|
-
If you're lucky and have a working ALSA support, try one of these... but beware that ALSA may not work out of the box.
|
|
145
|
-
|
|
146
|
-
```liquidsoap
|
|
147
|
-
liquidsoap 'output.alsa(input.alsa())'
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
```liquidsoap
|
|
151
|
-
liquidsoap 'output.alsa(input.alsa())'
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### Other examples
|
|
155
|
-
|
|
156
|
-
You can play with many more examples. Here are a few more. To build your own,
|
|
157
|
-
lookup the [API documentation](reference.html) to check what functions are available, and what parameters they accept.
|
|
158
|
-
|
|
159
|
-
```liquidsoap
|
|
160
|
-
# Listen to your playlist, but normalize the volume
|
|
161
|
-
liquidsoap 'output(normalize(playlist("playlist_file")))'
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
```liquidsoap
|
|
165
|
-
# ... same, but also add smart cross-fading
|
|
166
|
-
liquidsoap 'output(crossfade(
|
|
167
|
-
normalize(playlist("playlist_file"))))'
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
## Script files
|
|
171
|
-
|
|
172
|
-
We have seen how to create a very basic stream using one-line expressions. If you need something a little bit more complicated, they will prove uneasy to manage. In order to make your code more readable, you can write it down to a file, named with the extension `.liq` (eg: `myscript.liq`).
|
|
173
|
-
|
|
174
|
-
To run the script:
|
|
175
|
-
|
|
176
|
-
```liquidsoap
|
|
177
|
-
liquidsoap myscript.liq
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
On UNIX, you can also put `#!/path/to/your/liquidsoap` as the first line of your script ("shebang"). Don't forget to make the file executable:
|
|
181
|
-
|
|
182
|
-
```
|
|
183
|
-
chmod u+x myscript.liq
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
Then you'll be able to run it like this:
|
|
187
|
-
|
|
188
|
-
```
|
|
189
|
-
./myscript.liq
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
Usually, the path of the liquidsoap executable is `/usr/bin/liquidsoap`, and we'll use this in the following.
|
|
193
|
-
|
|
194
|
-
## A simple radio
|
|
195
|
-
|
|
196
|
-
In this section, we build a basic radio station that plays songs randomly chosen from a playlist, adds a few jingles (more or less one every four songs), and output an Ogg Vorbis stream to an Icecast server.
|
|
197
|
-
|
|
198
|
-
Before reading the code of the corresponding liquidsoap script, it might be useful to visualize the streaming process with the following tree-like diagram. The idea is that the audio streams flows through this diagram, following the arrows. In this case the nodes (`fallback` and `random`) select one of the incoming streams and relay it. The final node `output.icecast` is an output: it actively pulls the data out of the graph and sends it to the world.
|
|
199
|
-
|
|
200
|
-

|
|
201
|
-
|
|
202
|
-
```{.liquidsoap include="basic-radio.liq"}
|
|
203
|
-
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
## What's next?
|
|
207
|
-
|
|
208
|
-
You can first have a look at a [more complex example](complete_case.html). There is also a second tutorial about [advanced techniques](advanced.html).
|
|
209
|
-
|
|
210
|
-
You should definitely learn [how to get help](help.html).
|
|
211
|
-
If you know enough liquidsoap for your use, you'll only need to refer to the
|
|
212
|
-
[scripting reference](reference.html), or see the [cookbook](cookbook.html).
|
|
213
|
-
At some point,
|
|
214
|
-
you might read more about Liquidsoap's [scripting language](language.html).
|
|
215
|
-
For a better understanding of liquidsoap,
|
|
216
|
-
it is also useful to read a bit about the notions of
|
|
217
|
-
[sources](sources.html) and [requests](requests.html).
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# RadioPi
|
|
2
|
-
|
|
3
|
-
[RadioPi](http://www.radiopi.org) is the web radio of the ECP (Ecole Centrale de Paris). RadioPi runs many channels.
|
|
4
|
-
There are topical channels (Reggae, Hip-Hop, Jazz, ...). On top of that, they periodically broadcast live shows,
|
|
5
|
-
which are relayed on all channels.
|
|
6
|
-
|
|
7
|
-
We met a RadioPi manager right after having released Liquidsoap 0.2.0, and he was seduced by the system. They needed
|
|
8
|
-
quite complex features, which they were at that time fulfilling using dirty tricks, loads of obfuscated scripts.
|
|
9
|
-
Using Liquidsoap now allow them to do all they want in an integrated way, but also provided new features.
|
|
10
|
-
|
|
11
|
-
### The migration process
|
|
12
|
-
|
|
13
|
-
Quite easy actually. They used to have many instances Ices2, each of these calling a Perl script to get the next song.
|
|
14
|
-
Other scripts were used for switching channels to live shows.
|
|
15
|
-
|
|
16
|
-
Now they have this single Liquidsoap script, no more. It calls external scripts to interact with their web-based song
|
|
17
|
-
scheduling system. And they won new features: blank detection and distributed encoding.
|
|
18
|
-
|
|
19
|
-
The first machine gets its files from a ftp server opened on the second machine.
|
|
20
|
-
Liquidsoap handles download automatically.
|
|
21
|
-
|
|
22
|
-
Each file is given by an external script, `radiopilote-getnext`,
|
|
23
|
-
whose answer looks as follows (except that it's on a single line):
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
annotate:file_id="3541",length="400.613877551",\
|
|
27
|
-
type="chansons",title="John Holt - Holigan",\
|
|
28
|
-
artist="RadioPi - Canal reggae",\
|
|
29
|
-
album="Studio One SeleKta! - Album Studio 1 12",\
|
|
30
|
-
canal="reggae":ftp://***:***@host/files/3541.mp3
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Note that we use annotate to pass some variables to liquidsoap...
|
|
34
|
-
|
|
35
|
-
```{.liquidsoap include="radiopi.liq"}
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
The other machine has a similar configuration except that files are local, but this is exactly the same for liquidsoap !
|
|
40
|
-
|
|
41
|
-
Using harbor, the live connects directly to liquidsoap, using port `8000` (icecast runs on port `8080`).
|
|
42
|
-
Then, liquidsoap starts a relay to the other encoder, and both switch their channels to the new live.
|
|
43
|
-
|
|
44
|
-
Additionally, a file output is started upon live connection, in order to backup the stream. You could also add a relay to
|
|
45
|
-
icecast in order to manually check what's received by the harbor.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Liquidsoap scripting language reference
|
|
2
|
-
|
|
3
|
-
The **Source / ...** categories contain all functions that return sources.
|
|
4
|
-
The **Input** functions are those which build elementary sources
|
|
5
|
-
(playing files, synthesizing sound, etc.).
|
|
6
|
-
The **Output** functions are those which take a source and register it
|
|
7
|
-
for being streamed to the outside (file, soundcard, audio server, etc.).
|
|
8
|
-
The **Visualization** functions are experimental ones that let you
|
|
9
|
-
visualize in real-time some aspects of the audio stream.
|
|
10
|
-
The **Sound Processing** functions are those which basically work on the source
|
|
11
|
-
as a continuous audio stream. They would typically be mixers of streams,
|
|
12
|
-
audio effects or analysis.
|
|
13
|
-
Finally, **Track Processing** functions are basically all
|
|
14
|
-
others, often having a behaviour that depends on or affects the extra
|
|
15
|
-
information that liquidsoap puts in streams: track limits and metadata.
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
This release provides liquidsoap assets before they are published as a new versioned release.
|
|
2
|
-
|
|
3
|
-
You can use it to install the latest stable code before it is published and test/prepare your production environment for it.
|
|
4
|
-
|
|
5
|
-
Rolling releases can also be useful for us to quickly detect and report bugs before the final published release!
|
|
6
|
-
|
|
7
|
-
Assets listed in this release will never be modified or deleted. Feel free to use them for packaging or distribution purposes.
|
|
8
|
-
|
|
9
|
-
For more details about our release process, please checkout https://github.com/savonet/liquidsoap#release-details
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# Normalization and ReplayGain
|
|
2
|
-
|
|
3
|
-
## Normalization
|
|
4
|
-
|
|
5
|
-
If you want to have a constant average volume on an audio stream, you can use the `normalize` operator. However, this operator cannot guess the volume of the whole stream, and can be "surprised" by rapid changes of the volume. This can lead to a volume that is too low, too high, oscillates. In some cases, dynamic normalization also creates saturation.
|
|
6
|
-
|
|
7
|
-
To tweak the normalization, several parameters are available. These are listed and explained in the [reference](reference.html) and also visible by executing `liquidsoap -h normalize`. However, if the stream you want to normalize consist of audio files, using the replay gain technology might be a better choice.
|
|
8
|
-
|
|
9
|
-
## Replay gain
|
|
10
|
-
|
|
11
|
-
[ReplayGain](https://en.wikipedia.org/wiki/ReplayGain) is a proposed standard that is (more or less) respected by many open-source tools. It provides a way to obtain an overall uniform perceived loudness over a track or a set of tracks. The computation of the loudness is based on how the human ear actually perceives each range of frequency. Having computed the average perceived loudness on a track or an album, it is easy to renormalize the tracks when playing, ensuring a comfortable, consistent listening experience.
|
|
12
|
-
|
|
13
|
-
Because it is track-based, replay gain does not suffer from the typical problems of stream-based, dynamic approaches. Namely, these distort the initial audio, since they constantly adapt the amplification factor. Sometimes it oscillates too quickly in a weird audible way. Sometimes it does not adapt quickly enough, leading to under or over-amplified sections.
|
|
14
|
-
|
|
15
|
-
### Computing or retrieving replay gain information
|
|
16
|
-
|
|
17
|
-
The first step in order to use replay gain is to fetch or compute the appropriate normalization level for a given file.
|
|
18
|
-
|
|
19
|
-
Replay gain information can be found in various metadata fields depending on the audio format and the replay gain computation tool.
|
|
20
|
-
Liquidsoap provides a script for extracting the replay gain value which requires the `ffmpeg` binary.
|
|
21
|
-
|
|
22
|
-
There are two ways to use our replain gain script, one that works for _all_ files and one that can be enabled on a
|
|
23
|
-
per-file basis, if you need finer grained control over replay gain.
|
|
24
|
-
|
|
25
|
-
#### Using the replay gain metadata resolver
|
|
26
|
-
|
|
27
|
-
The metadata solution is uniform: without changing anything, _all_ your
|
|
28
|
-
files will have a new `replaygain_track_gain` metadata when the computation succeeded.
|
|
29
|
-
|
|
30
|
-
However, keep in mind that this computation can be costly and will be done each time a remote file is
|
|
31
|
-
downloaded to be prepared for streaming unless it already has the information pre-computed. For this
|
|
32
|
-
reason, it is recommended to pre-compute replay gain information as much as possible, specially
|
|
33
|
-
if you intent to stream large audio files.
|
|
34
|
-
|
|
35
|
-
The replay gain metadata resolver is not enabled by default. You can do it
|
|
36
|
-
by adding the following code to your script:
|
|
37
|
-
|
|
38
|
-
```liquidsoap
|
|
39
|
-
enable_replaygain_metadata()
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
#### Using the `replaygain:` protocol
|
|
43
|
-
|
|
44
|
-
The `replaygain:` protocol triggers replay gain retrieval or computation on
|
|
45
|
-
a per-file bases. To use it, you prefix your request URIs with it.
|
|
46
|
-
|
|
47
|
-
For instance, replacing `/path/to/file.mp3` with `replaygain:/path/to/file.mp3`.
|
|
48
|
-
|
|
49
|
-
When resolving such a request, a call to our script will be issued,
|
|
50
|
-
resulting in your file having the extra `replaygain_track_gain` metadata.
|
|
51
|
-
|
|
52
|
-
Prepending `replaygain:` is easy if you are using a script
|
|
53
|
-
behind some `request.dynamic.list` operator. If you are using the
|
|
54
|
-
`playlist` operator, you can use its `prefix` parameter.
|
|
55
|
-
|
|
56
|
-
Protocols can be chained, for instance:
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
annotate:foo="bar":replaygain:/path/to/file.mp3
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Applying replay gain information
|
|
63
|
-
|
|
64
|
-
After fetching or computing the replay gain information, the next step is to use it to correct the source's volume.
|
|
65
|
-
|
|
66
|
-
The `amplify()` operator is used for that. This operator can be made to behave according to a given metadata, here the `replaygain` metadata. This is
|
|
67
|
-
done using the `override` parameter.
|
|
68
|
-
|
|
69
|
-
For replay gain implementation, the `amplify` operator would typically be added immediately on top of the basic tracks source, before transitions or other audio processing operators. Typically:
|
|
70
|
-
|
|
71
|
-
```{.liquidsoap include="replaygain-metadata.liq" to="END"}
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
For convenience, we added the `replaygain` operator which performs the
|
|
76
|
-
amplification on the right metadata so that this can further be simplified to
|
|
77
|
-
|
|
78
|
-
```{.liquidsoap include="replaygain-playlist.liq" to="END"}
|
|
79
|
-
|
|
80
|
-
```
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
Playing files is the most common way to build an audio stream.
|
|
2
|
-
In liquidsoap, files are accessed through [requests](requests.html),
|
|
3
|
-
which combine the retrieval of a possibly remote file, and its
|
|
4
|
-
decoding.
|
|
5
|
-
|
|
6
|
-
Liquidsoap provides several operators for playing requests:
|
|
7
|
-
`single`, `playlist` and `playlist.safe`,
|
|
8
|
-
`request.dynamic.list`, `request.queue` and `request.equeue`.
|
|
9
|
-
In a few cases (`single` with a local file,
|
|
10
|
-
or `playlist.safe`) a request operator will know
|
|
11
|
-
that it can always get a ready request instantaneously.
|
|
12
|
-
It will then be [infallible](sources.html).
|
|
13
|
-
Otherwise, it will have a queue of requests ready
|
|
14
|
-
to be played (local files with a valid content), and will
|
|
15
|
-
feed this queue in the background.
|
|
16
|
-
This process is described here.
|
|
17
|
-
|
|
18
|
-
## Common parameters
|
|
19
|
-
|
|
20
|
-
Queued request sources maintain an _estimated remaining time_,
|
|
21
|
-
and trigger a new request resolution when this remaining time
|
|
22
|
-
goes below their `length` parameter.
|
|
23
|
-
|
|
24
|
-
The estimation is based on the duration of files prepared in the queue,
|
|
25
|
-
and the estimated remaining time in the currently playing file.
|
|
26
|
-
Precise file durations being expensive to compute, they are not
|
|
27
|
-
forced: if a duration is provided in the metadata it shall be used,
|
|
28
|
-
otherwise the `default_length` is assumed.
|
|
29
|
-
|
|
30
|
-
For example, with the default 10 seconds of wanted queue length,
|
|
31
|
-
the operator will only prepare a new file 10 seconds before
|
|
32
|
-
the end of the current one.
|
|
33
|
-
|
|
34
|
-
Up to liquidsoap 0.9.1, the estimated remaining time
|
|
35
|
-
in the current track was not taken into account.
|
|
36
|
-
With this behavior, each request-based source would keep at least
|
|
37
|
-
one song in queue, which was sometimes inconvenient.
|
|
38
|
-
This behavior can be restored by passing `conservative=true`,
|
|
39
|
-
which is useful in some cases:
|
|
40
|
-
it helps to ensure that a song will be ready in case of skip;
|
|
41
|
-
generally, it prepares things more in advance, which is good when
|
|
42
|
-
resolution is long (_e.g._, heavily loaded server, remote files).
|
|
43
|
-
|
|
44
|
-
## Request.dynamic
|
|
45
|
-
|
|
46
|
-
This source takes a custom function for creating its new requests.
|
|
47
|
-
This function, of type `()->request`,
|
|
48
|
-
can for example call an external program.
|
|
49
|
-
|
|
50
|
-
To create the request, the function will have
|
|
51
|
-
to use the `request.create` function which has type
|
|
52
|
-
`(string,?indicators:[string])`.
|
|
53
|
-
The first string is the initial URI of the request,
|
|
54
|
-
which is resolved to get an audio file.
|
|
55
|
-
The second argument can be used to directly specify the first row of URIs
|
|
56
|
-
(see the page about [requests](requests.html) for more details),
|
|
57
|
-
in which case the initial URI is just here for naming,
|
|
58
|
-
and the resolving process will try your list of indicators one by one
|
|
59
|
-
until a valid audio file is obtained.
|
|
60
|
-
|
|
61
|
-
An example that takes the output of an external script as an URI
|
|
62
|
-
to create a new request can be:
|
|
63
|
-
|
|
64
|
-
```liquidsoap
|
|
65
|
-
def my_request_function() =
|
|
66
|
-
# Get the first line of my external process
|
|
67
|
-
result =
|
|
68
|
-
list.hd(default="", process.read.lines("my_script my_params"))
|
|
69
|
-
# Create and return a request using this result
|
|
70
|
-
[request.create(result)]
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
# Create the source
|
|
74
|
-
s = request.dynamic.list(my_request_function)
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Queues
|
|
78
|
-
|
|
79
|
-
Liquidsoap features two sources which provide request queues that
|
|
80
|
-
can be directly manipulated by the user, via the server interface:
|
|
81
|
-
`request.queue` and `request.equeue`.
|
|
82
|
-
The former is a queued source where you can only push new requests,
|
|
83
|
-
while the later can be edited.
|
|
84
|
-
|
|
85
|
-
Both operators actually deal with two queues: _primary_ and _secondary_ queues.
|
|
86
|
-
The secondary queue is user-controlled.
|
|
87
|
-
The primary queue is the one that all queued request sources have,
|
|
88
|
-
its behavior is the same as described above, and it cannot be changed
|
|
89
|
-
in any way by the user.
|
|
90
|
-
Requests added to the secondary queue sit there until
|
|
91
|
-
the feeding process gets them and attempts to prepare them
|
|
92
|
-
and put them in the primary queue.
|
|
93
|
-
You can set how many requests will be in that primary queue
|
|
94
|
-
by tweaking the common parameters of all queued request sources.
|
|
95
|
-
|
|
96
|
-
The two sources are controlled via the [command server](advanced.html).
|
|
97
|
-
They both feature commands for looking up the queues,
|
|
98
|
-
queuing new requests, and the `equeue` operator also allows
|
|
99
|
-
removal and exchange of requests in the secondary queue.
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# An abstract notion of files: requests
|
|
2
|
-
|
|
3
|
-
The request is an abstract notion of file which can be conveniently used for defining powerful sources. A request can denote a local file, a remote file, or even a dynamically generated file. They are resolved to a local file thanks to a set of _protocols_. Then, audio requests are transparently decoded thanks to a set of audio and metadata _formats_.
|
|
4
|
-
|
|
5
|
-
The systematic use of requests to access files allows you to use remote URIs instead of local paths everywhere. It is perfectly OK to create a playlist for a remote list containing remote URIs: ` playlist("http://my/friends/playlist.pls")`
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
## The resolution process
|
|
9
|
-
|
|
10
|
-
The nice thing about resolution is that it is recursive and supports backtracking. An URI can be changed into a list of new ones, which are in turn resolved. The process succeeds if some valid local file appears at some point. If it doesn't succeed on one branch then it goes back to another branch. A typical complex resolution would be:
|
|
11
|
-
|
|
12
|
-
- `bubble:artist="bodom"` _ `ftp://no/where` _ `Error`
|
|
13
|
-
|
|
14
|
-
- `ftp://some/valid.ogg` \* `/tmp/success.ogg`
|
|
15
|
-
|
|
16
|
-
On top of that, metadata is extracted at every step in the branch. Usually, only the final local file yields interesting metadata (artist,album,...). But metadata can also be the nickname of the user who requested the song, set using the `annotate` protocol.
|
|
17
|
-
|
|
18
|
-
At the end of the resolution process, in case of a media request,
|
|
19
|
-
liquidsoap checks that the file is decodable,
|
|
20
|
-
_i.e._, there should be a valid decoder for it.
|
|
21
|
-
|
|
22
|
-
Each request gets assigned a request identifier (RID) which is used by
|
|
23
|
-
various sources to identify which request(s) they are using. Knowing
|
|
24
|
-
this number, you can monitor a request, even after it's been destroyed
|
|
25
|
-
(see setting `request.grace_time`). Two [server](server.html)
|
|
26
|
-
commands are available: `request.trace` shows a log of
|
|
27
|
-
the resolution process and `request.metadata` shows the
|
|
28
|
-
current request metadata. In addition, server commands are available
|
|
29
|
-
to obtain the list of all requests, alive requests, currently resolving
|
|
30
|
-
requests and currently playing requests (respectively
|
|
31
|
-
`request.all`,
|
|
32
|
-
`request.alive`,
|
|
33
|
-
`request.resolving`,
|
|
34
|
-
`request.on_air`).
|
|
35
|
-
|
|
36
|
-
## Currently supported protocols
|
|
37
|
-
|
|
38
|
-
- HTTP, HTTPS, FTP thanks to curl
|
|
39
|
-
- SAY for speech synthesis (requires festival): `say:I am a robot` resolves to the WAV file resulting from the synthesis.
|
|
40
|
-
- TIME for speech synthesis of the current time: ` time: It is exactly $(time), and you're still listening.`
|
|
41
|
-
|
|
42
|
-
- ANNOTATE for manually setting metadata, typically used in ` annotate:nick="alice",message="for bob":/some/track/uri`
|
|
43
|
-
|
|
44
|
-
The extra metadata can then be synthesized in the audio stream, or merged into the standard metadata fields, or used on a rich web interface...
|
|
45
|
-
It is also possible to add a new protocol from the script, as it is done with [Beets](beets.html) for getting songs from a database query.
|
|
46
|
-
|
|
47
|
-
## Currently supported formats
|
|
48
|
-
|
|
49
|
-
- MPEG-1 Layer II (MP2) and Layer III (MP3) through libmad and `ocaml-mad`
|
|
50
|
-
- Ogg Vorbis through libvorbis and `ocaml-vorbis`
|
|
51
|
-
- WAV
|
|
52
|
-
- AAC
|
|
53
|
-
- and much more through external decoders!
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
This release provides liquidsoap assets before they are published as a new versioned release.
|
|
2
|
-
|
|
3
|
-
You can use it to install the latest stable code before it is published and test/prepare your production environment for it.
|
|
4
|
-
|
|
5
|
-
Rolling releases can also be useful for us to quickly detect and report bugs before the final published release!
|
|
6
|
-
|
|
7
|
-
⚠️ **Warning** ⚠️
|
|
8
|
-
Assets in this release will be deleted. If you are looking for permanent links to release assets, please head over to https://github.com/savonet/liquidsoap-release-assets/releases
|
|
9
|
-
|
|
10
|
-
For more details about our release process, please checkout https://github.com/savonet/liquidsoap#release-details
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Script loading
|
|
2
|
-
|
|
3
|
-
When you run liquidsoap for streaming, the command line has the following form:
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
$ liquidsoap script_or_expr_1 ... script_or_expr_N
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
This allows you to ask liquidsoap to load definition and settings from
|
|
10
|
-
some scripts so that the become available when processing the next ones.
|
|
11
|
-
|
|
12
|
-
For example you can store your passwords by defined the variable `xxx`
|
|
13
|
-
in `secret.liq`, and then refer to that variable in your main script
|
|
14
|
-
`main.liq`. You would then run `liquidsoap secret.liq main.liq`. If you ever
|
|
15
|
-
need to communicate `main.liq` there won't be any risk of divulgating your
|
|
16
|
-
password.
|
|
17
|
-
|
|
18
|
-
## The pervasive script library
|
|
19
|
-
|
|
20
|
-
In fact, liquidsoap also implicitly loads scripts before those that you specify
|
|
21
|
-
on the command-line. These scripts are meant to contain standard utilities.
|
|
22
|
-
Liquidsoap finds them in `LIBDIR/liquidsoap/VERSION` where `LIBDIR` depends on
|
|
23
|
-
your configuration (it is typically `/usr/local/lib` or `/usr/lib`) and
|
|
24
|
-
`VERSION` is the version of liquidsoap (_e.g._ `0.3.8` or `svn`).
|
|
25
|
-
|
|
26
|
-
Currently, liquidsoap loads `stdlib.liq` from the library directory,
|
|
27
|
-
and this file includes some others.
|
|
28
|
-
You can add your personal standard library in that directory
|
|
29
|
-
if you find it useful.
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Seeking in liquidsoap
|
|
2
|
-
|
|
3
|
-
Starting with Liquidsoap `1.0.0-beta2`, it is now possible to seek within sources!
|
|
4
|
-
Not all sources support seeking though: currently, they are mostly file-based sources
|
|
5
|
-
such as `request.queue`, `playlist`, `request.dynamic.list` etc..
|
|
6
|
-
|
|
7
|
-
The basic function to seek within a source is `source.seek`. It has the following type:
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
(source('a),float)->float
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
The parameters are:
|
|
14
|
-
|
|
15
|
-
- The source to seek.
|
|
16
|
-
- The duration in seconds to seek from current position.
|
|
17
|
-
|
|
18
|
-
The function returns the duration actually seeked.
|
|
19
|
-
|
|
20
|
-
Please note that seeking is done to a position relative to the _current_
|
|
21
|
-
position. For instance, `source.seek(s,3.)` will seek 3 seconds forward in
|
|
22
|
-
source `s` and `source.seek(s,(-4.))` will seek 4 seconds backward.
|
|
23
|
-
|
|
24
|
-
Since seeking is currently only supported by request-based sources, it is recommended
|
|
25
|
-
to hook the function as close as possible to the original source. Here is an example
|
|
26
|
-
that implements a server/telnet seek function:
|
|
27
|
-
|
|
28
|
-
```{.liquidsoap include="seek-telnet.liq"}
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Cue points
|
|
33
|
-
|
|
34
|
-
File-based sources support cue-points to cut the beginning and end of tracks
|
|
35
|
-
The values of cue-in and cue-out points are given in absolute
|
|
36
|
-
position through the source's metadata. For instance, the following
|
|
37
|
-
source will cue-in at 10 seconds and cue-out at 45 seconds on all its tracks:
|
|
38
|
-
|
|
39
|
-
```liquidsoap
|
|
40
|
-
s = playlist(prefix="annotate:liq_cue_in=\"10.\",liq_cue_out=\"45\":",
|
|
41
|
-
"/path/to/music")
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
As in the above example, you may use the `annotate` protocol to pass custom cue
|
|
45
|
-
points along with the files passed to Liquidsoap. This is particularly useful
|
|
46
|
-
in combination with `request.dymanic` as an external script can build-up
|
|
47
|
-
the appropriate URI, including cue-points, based on information from your
|
|
48
|
-
own scheduling back-end.
|
|
49
|
-
|
|
50
|
-
Alternatively, you may use `metadata.map` to add those metadata. The operator
|
|
51
|
-
`metadata.map` supports seeking and passes it to its underlying source.
|