codemirror-lang-liquidsoap 0.1.0

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.
Files changed (1018) hide show
  1. package/.github/workflows/ci.yml +20 -0
  2. package/LICENSE +21 -0
  3. package/README.md +21 -0
  4. package/dist/cli.js +162 -0
  5. package/dist/index.js +44 -0
  6. package/dist/liquidsoap-0dac1347.js +232 -0
  7. package/dist/liquidsoap-18e69476.js +232 -0
  8. package/dist/liquidsoap-826221b5.js +232 -0
  9. package/dist/liquidsoap-897c55ac.js +232 -0
  10. package/dist/liquidsoap-a11e5e7f.js +232 -0
  11. package/dist/liquidsoap-c12c37dd.js +232 -0
  12. package/dist/liquidsoap-c4fc76fd.js +232 -0
  13. package/dist/liquidsoap-f8672f59.js +232 -0
  14. package/package.json +45 -0
  15. package/rollup.config.js +13 -0
  16. package/src/cli.ts +166 -0
  17. package/src/index.ts +43 -0
  18. package/src/liquidsoap.grammar +788 -0
  19. package/src/liquidsoap.grammar.d.ts +3 -0
  20. package/src/parser.js +19 -0
  21. package/src/parser.terms.js +84 -0
  22. package/src/tokens.js +207 -0
  23. package/tests/liquidsoap/.codespellignore +14 -0
  24. package/tests/liquidsoap/.gitattributes +2 -0
  25. package/tests/liquidsoap/.github/FUNDING.yml +12 -0
  26. package/tests/liquidsoap/.github/ISSUE_TEMPLATE/bug_report.md +27 -0
  27. package/tests/liquidsoap/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
  28. package/tests/liquidsoap/.github/ISSUE_TEMPLATE/question.md +13 -0
  29. package/tests/liquidsoap/.github/alpine/APKBUILD-minimal.in +29 -0
  30. package/tests/liquidsoap/.github/alpine/APKBUILD.in +28 -0
  31. package/tests/liquidsoap/.github/alpine/liquidsoap.pre-install +7 -0
  32. package/tests/liquidsoap/.github/debian/compat +1 -0
  33. package/tests/liquidsoap/.github/debian/control.in +118 -0
  34. package/tests/liquidsoap/.github/debian/dirs +4 -0
  35. package/tests/liquidsoap/.github/debian/install +3 -0
  36. package/tests/liquidsoap/.github/debian/manpages +1 -0
  37. package/tests/liquidsoap/.github/debian/postinst +40 -0
  38. package/tests/liquidsoap/.github/debian/postrm +11 -0
  39. package/tests/liquidsoap/.github/debian/rules +29 -0
  40. package/tests/liquidsoap/.github/debian/rules-minimal +30 -0
  41. package/tests/liquidsoap/.github/debian/source/format +1 -0
  42. package/tests/liquidsoap/.github/docker/Dockerfile-armhf.production +35 -0
  43. package/tests/liquidsoap/.github/docker/Dockerfile.production +35 -0
  44. package/tests/liquidsoap/.github/docker/Dockerfile.production-alpine +16 -0
  45. package/tests/liquidsoap/.github/docker/Dockerfile.website +63 -0
  46. package/tests/liquidsoap/.github/opam/liquidsoap-core-windows.opam +181 -0
  47. package/tests/liquidsoap/.github/opam/packages/duppy/duppy.0.9.3/opam +37 -0
  48. package/tests/liquidsoap/.github/opam/packages/ssl/ssl.0.7.0/opam +40 -0
  49. package/tests/liquidsoap/.github/opam/repo +1 -0
  50. package/tests/liquidsoap/.github/scripts/add-local-opam-packages.sh +17 -0
  51. package/tests/liquidsoap/.github/scripts/build-apk.sh +102 -0
  52. package/tests/liquidsoap/.github/scripts/build-deb.sh +109 -0
  53. package/tests/liquidsoap/.github/scripts/build-details.sh +84 -0
  54. package/tests/liquidsoap/.github/scripts/build-doc.sh +12 -0
  55. package/tests/liquidsoap/.github/scripts/build-docker-alpine.sh +32 -0
  56. package/tests/liquidsoap/.github/scripts/build-docker.sh +40 -0
  57. package/tests/liquidsoap/.github/scripts/build-posix.sh +99 -0
  58. package/tests/liquidsoap/.github/scripts/build-website.sh +15 -0
  59. package/tests/liquidsoap/.github/scripts/build-win32.sh +82 -0
  60. package/tests/liquidsoap/.github/scripts/checkout-deps.sh +18 -0
  61. package/tests/liquidsoap/.github/scripts/export-metrics.sh +17 -0
  62. package/tests/liquidsoap/.github/scripts/push-docker.sh +72 -0
  63. package/tests/liquidsoap/.github/scripts/stats-posix.sh +20 -0
  64. package/tests/liquidsoap/.github/scripts/test-posix.sh +16 -0
  65. package/tests/liquidsoap/.github/stale.yml +22 -0
  66. package/tests/liquidsoap/.github/win32/log/.keep +0 -0
  67. package/tests/liquidsoap/.github/win32/run/.keep +0 -0
  68. package/tests/liquidsoap/.github/win32/test.liq +26 -0
  69. package/tests/liquidsoap/.github/workflows/ci.yml +704 -0
  70. package/tests/liquidsoap/.ocamlformat +10 -0
  71. package/tests/liquidsoap/.pre-commit-config.yaml +60 -0
  72. package/tests/liquidsoap/CHANGES.md +2300 -0
  73. package/tests/liquidsoap/COPYING +340 -0
  74. package/tests/liquidsoap/Makefile +4 -0
  75. package/tests/liquidsoap/README.md +121 -0
  76. package/tests/liquidsoap/RELEASING +19 -0
  77. package/tests/liquidsoap/ROADMAP.md +69 -0
  78. package/tests/liquidsoap/doc/content/beets.md +179 -0
  79. package/tests/liquidsoap/doc/content/blank.md +50 -0
  80. package/tests/liquidsoap/doc/content/book.md +11 -0
  81. package/tests/liquidsoap/doc/content/build.md +112 -0
  82. package/tests/liquidsoap/doc/content/clocks.md +312 -0
  83. package/tests/liquidsoap/doc/content/complete_case.md +81 -0
  84. package/tests/liquidsoap/doc/content/cookbook.md +518 -0
  85. package/tests/liquidsoap/doc/content/crossfade.md +98 -0
  86. package/tests/liquidsoap/doc/content/custom-path.md +77 -0
  87. package/tests/liquidsoap/doc/content/documentation.md +88 -0
  88. package/tests/liquidsoap/doc/content/dynamic_sources.md +72 -0
  89. package/tests/liquidsoap/doc/content/encoding_formats.md +279 -0
  90. package/tests/liquidsoap/doc/content/external_decoders.md +215 -0
  91. package/tests/liquidsoap/doc/content/external_encoders.md +60 -0
  92. package/tests/liquidsoap/doc/content/external_streams.md +49 -0
  93. package/tests/liquidsoap/doc/content/faq.md +224 -0
  94. package/tests/liquidsoap/doc/content/ffmpeg.md +324 -0
  95. package/tests/liquidsoap/doc/content/ffmpeg_cookbook.md +211 -0
  96. package/tests/liquidsoap/doc/content/ffmpeg_encoder.md +175 -0
  97. package/tests/liquidsoap/doc/content/ffmpeg_filters.md +251 -0
  98. package/tests/liquidsoap/doc/content/flows_devel.md +39 -0
  99. package/tests/liquidsoap/doc/content/frequence3.md +13 -0
  100. package/tests/liquidsoap/doc/content/geekradio.md +43 -0
  101. package/tests/liquidsoap/doc/content/gstreamer_encoder.md +154 -0
  102. package/tests/liquidsoap/doc/content/harbor.md +126 -0
  103. package/tests/liquidsoap/doc/content/harbor_http.md +263 -0
  104. package/tests/liquidsoap/doc/content/help.md +135 -0
  105. package/tests/liquidsoap/doc/content/hls_output.md +162 -0
  106. package/tests/liquidsoap/doc/content/http_input.md +17 -0
  107. package/tests/liquidsoap/doc/content/icy_metadata.md +75 -0
  108. package/tests/liquidsoap/doc/content/in_production.md +25 -0
  109. package/tests/liquidsoap/doc/content/index.md +61 -0
  110. package/tests/liquidsoap/doc/content/install.md +113 -0
  111. package/tests/liquidsoap/doc/content/json.md +333 -0
  112. package/tests/liquidsoap/doc/content/ladspa.md +42 -0
  113. package/tests/liquidsoap/doc/content/language.md +1382 -0
  114. package/tests/liquidsoap/doc/content/memory.md +135 -0
  115. package/tests/liquidsoap/doc/content/metadata.md +118 -0
  116. package/tests/liquidsoap/doc/content/migrating.md +475 -0
  117. package/tests/liquidsoap/doc/content/multitrack.md +357 -0
  118. package/tests/liquidsoap/doc/content/on2.md +28 -0
  119. package/tests/liquidsoap/doc/content/on2_part1.md +301 -0
  120. package/tests/liquidsoap/doc/content/on2_part2.md +849 -0
  121. package/tests/liquidsoap/doc/content/on2_part3.md +321 -0
  122. package/tests/liquidsoap/doc/content/phases.md +23 -0
  123. package/tests/liquidsoap/doc/content/playlist_parsers.md +58 -0
  124. package/tests/liquidsoap/doc/content/presentations.md +30 -0
  125. package/tests/liquidsoap/doc/content/profiling.md +33 -0
  126. package/tests/liquidsoap/doc/content/prometheus.md +146 -0
  127. package/tests/liquidsoap/doc/content/protocols-presentation.md +59 -0
  128. package/tests/liquidsoap/doc/content/publications.md +28 -0
  129. package/tests/liquidsoap/doc/content/quick_start.md +240 -0
  130. package/tests/liquidsoap/doc/content/radiopi.md +342 -0
  131. package/tests/liquidsoap/doc/content/reference-header.md +15 -0
  132. package/tests/liquidsoap/doc/content/release-assets.md +9 -0
  133. package/tests/liquidsoap/doc/content/replay_gain.md +85 -0
  134. package/tests/liquidsoap/doc/content/request_sources.md +99 -0
  135. package/tests/liquidsoap/doc/content/requests.md +53 -0
  136. package/tests/liquidsoap/doc/content/rolling-release.md +10 -0
  137. package/tests/liquidsoap/doc/content/script_loading.md +29 -0
  138. package/tests/liquidsoap/doc/content/seek.md +86 -0
  139. package/tests/liquidsoap/doc/content/server.md +265 -0
  140. package/tests/liquidsoap/doc/content/shoutcast.md +39 -0
  141. package/tests/liquidsoap/doc/content/sources.md +138 -0
  142. package/tests/liquidsoap/doc/content/split-cue.md +36 -0
  143. package/tests/liquidsoap/doc/content/stereotool.md +54 -0
  144. package/tests/liquidsoap/doc/content/stream_content.md +208 -0
  145. package/tests/liquidsoap/doc/content/strings_encoding.md +18 -0
  146. package/tests/liquidsoap/doc/content/video-static.md +35 -0
  147. package/tests/liquidsoap/doc/content/video.md +269 -0
  148. package/tests/liquidsoap/doc/content/yaml.md +29 -0
  149. package/tests/liquidsoap/doc/dune +46 -0
  150. package/tests/liquidsoap/doc/dune.inc +1677 -0
  151. package/tests/liquidsoap/doc/gen_dune.ml +130 -0
  152. package/tests/liquidsoap/doc/liquidsoap.1.md +142 -0
  153. package/tests/liquidsoap/doc/no-pandoc +1 -0
  154. package/tests/liquidsoap/doc/orig/css/homepage.css +148 -0
  155. package/tests/liquidsoap/doc/orig/css/style.css +258 -0
  156. package/tests/liquidsoap/doc/orig/fosdem2020/clock.png +0 -0
  157. package/tests/liquidsoap/doc/orig/fosdem2020/index.html +612 -0
  158. package/tests/liquidsoap/doc/orig/fosdem2020/logo.png +0 -0
  159. package/tests/liquidsoap/doc/orig/fosdem2020/radio.gif +0 -0
  160. package/tests/liquidsoap/doc/orig/fosdem2020/remark.js +28221 -0
  161. package/tests/liquidsoap/doc/orig/images/basic-radio-graph.png +0 -0
  162. package/tests/liquidsoap/doc/orig/images/design/background.png +0 -0
  163. package/tests/liquidsoap/doc/orig/images/design/background_page.png +0 -0
  164. package/tests/liquidsoap/doc/orig/images/design/logo.png +0 -0
  165. package/tests/liquidsoap/doc/orig/images/grab.png +0 -0
  166. package/tests/liquidsoap/doc/orig/images/graph_clocks.png +0 -0
  167. package/tests/liquidsoap/doc/orig/images/liqgraph.png +0 -0
  168. package/tests/liquidsoap/doc/orig/images/schema-webradio-inkscape.png +0 -0
  169. package/tests/liquidsoap/doc/orig/images/stream.png +0 -0
  170. package/tests/liquidsoap/doc/orig/images/tabs/tab_API.png +0 -0
  171. package/tests/liquidsoap/doc/orig/images/tabs/tab_about.png +0 -0
  172. package/tests/liquidsoap/doc/orig/images/tabs/tab_developers.png +0 -0
  173. package/tests/liquidsoap/doc/orig/images/tabs/tab_docs.png +0 -0
  174. package/tests/liquidsoap/doc/orig/images/tabs/tab_snippets.png +0 -0
  175. package/tests/liquidsoap/doc/subst_md.ml +13 -0
  176. package/tests/liquidsoap/doc/template.html +67 -0
  177. package/tests/liquidsoap/dune +33 -0
  178. package/tests/liquidsoap/dune-project +199 -0
  179. package/tests/liquidsoap/liquidsoap +6 -0
  180. package/tests/liquidsoap/liquidsoap-core.opam +132 -0
  181. package/tests/liquidsoap/liquidsoap-js.opam +37 -0
  182. package/tests/liquidsoap/liquidsoap-lang.opam +35 -0
  183. package/tests/liquidsoap/liquidsoap-libs-extra.opam +32 -0
  184. package/tests/liquidsoap/liquidsoap-libs.opam +31 -0
  185. package/tests/liquidsoap/liquidsoap-mode.opam +40 -0
  186. package/tests/liquidsoap/liquidsoap-mode.opam.template +9 -0
  187. package/tests/liquidsoap/liquidsoap.opam +66 -0
  188. package/tests/liquidsoap/liquidsoap.opam.template +26 -0
  189. package/tests/liquidsoap/prometheus-liquidsoap.opam +33 -0
  190. package/tests/liquidsoap/scripts/bash-completion +41 -0
  191. package/tests/liquidsoap/scripts/dune +29 -0
  192. package/tests/liquidsoap/scripts/gen_emacs_completion.ml +8 -0
  193. package/tests/liquidsoap/scripts/liquidsoap-mode.el +88 -0
  194. package/tests/liquidsoap/scripts/liquidsoap.xml +140 -0
  195. package/tests/liquidsoap/sdl-liquidsoap.opam +34 -0
  196. package/tests/liquidsoap/src/bin/dune +24 -0
  197. package/tests/liquidsoap/src/bin/instruments.plist +1 -0
  198. package/tests/liquidsoap/src/bin/liquidsoap.ml +1 -0
  199. package/tests/liquidsoap/src/build/build_tools.ml +3 -0
  200. package/tests/liquidsoap/src/build/dune +4 -0
  201. package/tests/liquidsoap/src/config/irc_option.disabled.ml +2 -0
  202. package/tests/liquidsoap/src/config/liquidsoap_paths.default.ml +25 -0
  203. package/tests/liquidsoap/src/config/liquidsoap_paths.mli +13 -0
  204. package/tests/liquidsoap/src/config/liquidsoap_paths.posix.ml +13 -0
  205. package/tests/liquidsoap/src/config/liquidsoap_paths.standalone.ml +14 -0
  206. package/tests/liquidsoap/src/config/mem_usage_option.disabled.ml +2 -0
  207. package/tests/liquidsoap/src/config/noop.disabled.ml +5 -0
  208. package/tests/liquidsoap/src/config/noop.enabled.ml +2 -0
  209. package/tests/liquidsoap/src/config/osc_option.disabled.ml +2 -0
  210. package/tests/liquidsoap/src/config/sdl_option.disabled.ml +2 -0
  211. package/tests/liquidsoap/src/config/stereotool_option.disabled.ml +2 -0
  212. package/tests/liquidsoap/src/config/tls_option.disabled.ml +2 -0
  213. package/tests/liquidsoap/src/console/console.ml +83 -0
  214. package/tests/liquidsoap/src/console/console.mli +42 -0
  215. package/tests/liquidsoap/src/console/dune +5 -0
  216. package/tests/liquidsoap/src/core/alsa_settings.ml +61 -0
  217. package/tests/liquidsoap/src/core/builtins/builtins_callbacks.ml +53 -0
  218. package/tests/liquidsoap/src/core/builtins/builtins_clock.ml +129 -0
  219. package/tests/liquidsoap/src/core/builtins/builtins_cry.ml +123 -0
  220. package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_base.ml +27 -0
  221. package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_bitstream_filters.ml +336 -0
  222. package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_decoder.ml +512 -0
  223. package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_encoder.ml +582 -0
  224. package/tests/liquidsoap/src/core/builtins/builtins_ffmpeg_filters.ml +925 -0
  225. package/tests/liquidsoap/src/core/builtins/builtins_files.ml +635 -0
  226. package/tests/liquidsoap/src/core/builtins/builtins_harbor.ml +140 -0
  227. package/tests/liquidsoap/src/core/builtins/builtins_harbor_ssl.ml +31 -0
  228. package/tests/liquidsoap/src/core/builtins/builtins_http.ml +231 -0
  229. package/tests/liquidsoap/src/core/builtins/builtins_irc.ml +112 -0
  230. package/tests/liquidsoap/src/core/builtins/builtins_jemalloc.ml +136 -0
  231. package/tests/liquidsoap/src/core/builtins/builtins_lastfm.ml +110 -0
  232. package/tests/liquidsoap/src/core/builtins/builtins_lo.ml +195 -0
  233. package/tests/liquidsoap/src/core/builtins/builtins_lo.mli +0 -0
  234. package/tests/liquidsoap/src/core/builtins/builtins_magic.ml +34 -0
  235. package/tests/liquidsoap/src/core/builtins/builtins_mem_usage.ml +84 -0
  236. package/tests/liquidsoap/src/core/builtins/builtins_metadata.ml +39 -0
  237. package/tests/liquidsoap/src/core/builtins/builtins_optionals.ml +61 -0
  238. package/tests/liquidsoap/src/core/builtins/builtins_osc.ml +207 -0
  239. package/tests/liquidsoap/src/core/builtins/builtins_process.ml +333 -0
  240. package/tests/liquidsoap/src/core/builtins/builtins_prometheus.ml +237 -0
  241. package/tests/liquidsoap/src/core/builtins/builtins_request.ml +227 -0
  242. package/tests/liquidsoap/src/core/builtins/builtins_resolvers.ml +186 -0
  243. package/tests/liquidsoap/src/core/builtins/builtins_runtime.ml +237 -0
  244. package/tests/liquidsoap/src/core/builtins/builtins_server.ml +69 -0
  245. package/tests/liquidsoap/src/core/builtins/builtins_settings.ml +343 -0
  246. package/tests/liquidsoap/src/core/builtins/builtins_socket.ml +577 -0
  247. package/tests/liquidsoap/src/core/builtins/builtins_source.ml +265 -0
  248. package/tests/liquidsoap/src/core/builtins/builtins_srt.ml +335 -0
  249. package/tests/liquidsoap/src/core/builtins/builtins_ssl.ml +234 -0
  250. package/tests/liquidsoap/src/core/builtins/builtins_string_extra.ml +150 -0
  251. package/tests/liquidsoap/src/core/builtins/builtins_sys.ml +481 -0
  252. package/tests/liquidsoap/src/core/builtins/builtins_thread.ml +122 -0
  253. package/tests/liquidsoap/src/core/builtins/builtins_time.ml +227 -0
  254. package/tests/liquidsoap/src/core/builtins/builtins_tls.ml +287 -0
  255. package/tests/liquidsoap/src/core/builtins/builtins_yaml.ml +94 -0
  256. package/tests/liquidsoap/src/core/clock.ml +586 -0
  257. package/tests/liquidsoap/src/core/clock.mli +178 -0
  258. package/tests/liquidsoap/src/core/configure.ml +54 -0
  259. package/tests/liquidsoap/src/core/configure.mli +43 -0
  260. package/tests/liquidsoap/src/core/conversions/conversion.ml +67 -0
  261. package/tests/liquidsoap/src/core/conversions/mean.ml +67 -0
  262. package/tests/liquidsoap/src/core/conversions/stereo.ml +67 -0
  263. package/tests/liquidsoap/src/core/conversions/swap.ml +62 -0
  264. package/tests/liquidsoap/src/core/converters/audio/ffmpeg_audio_converter.ml +44 -0
  265. package/tests/liquidsoap/src/core/converters/audio/libsamplerate_converter.ml +75 -0
  266. package/tests/liquidsoap/src/core/converters/audio/native_audio_converter.ml +73 -0
  267. package/tests/liquidsoap/src/core/converters/audio_converter.ml +168 -0
  268. package/tests/liquidsoap/src/core/converters/audio_converter.mli +76 -0
  269. package/tests/liquidsoap/src/core/converters/video/ffmpeg_video_converter.ml +131 -0
  270. package/tests/liquidsoap/src/core/converters/video/native_video_converter.ml +33 -0
  271. package/tests/liquidsoap/src/core/converters/video_converter.ml +104 -0
  272. package/tests/liquidsoap/src/core/converters/video_converter.mli +56 -0
  273. package/tests/liquidsoap/src/core/decoder/aac_decoder.ml +291 -0
  274. package/tests/liquidsoap/src/core/decoder/decoder.ml +591 -0
  275. package/tests/liquidsoap/src/core/decoder/decoder.mli +146 -0
  276. package/tests/liquidsoap/src/core/decoder/decoder_utils.ml +137 -0
  277. package/tests/liquidsoap/src/core/decoder/decoder_utils.mli +63 -0
  278. package/tests/liquidsoap/src/core/decoder/external_decoder.ml +198 -0
  279. package/tests/liquidsoap/src/core/decoder/ffmpeg_copy_decoder.ml +82 -0
  280. package/tests/liquidsoap/src/core/decoder/ffmpeg_copy_decoder.mli +41 -0
  281. package/tests/liquidsoap/src/core/decoder/ffmpeg_decoder.ml +1157 -0
  282. package/tests/liquidsoap/src/core/decoder/ffmpeg_decoder_common.ml +102 -0
  283. package/tests/liquidsoap/src/core/decoder/ffmpeg_internal_decoder.ml +178 -0
  284. package/tests/liquidsoap/src/core/decoder/ffmpeg_internal_decoder.mli +41 -0
  285. package/tests/liquidsoap/src/core/decoder/ffmpeg_raw_decoder.ml +76 -0
  286. package/tests/liquidsoap/src/core/decoder/ffmpeg_raw_decoder.mli +41 -0
  287. package/tests/liquidsoap/src/core/decoder/flac_metadata_plug.ml +62 -0
  288. package/tests/liquidsoap/src/core/decoder/gstreamer_decoder.ml +352 -0
  289. package/tests/liquidsoap/src/core/decoder/id3_plug.ml +86 -0
  290. package/tests/liquidsoap/src/core/decoder/image/camlimages_decoder.ml +61 -0
  291. package/tests/liquidsoap/src/core/decoder/image/ffmpeg_image_decoder.ml +58 -0
  292. package/tests/liquidsoap/src/core/decoder/image/imagelib_decoder.ml +44 -0
  293. package/tests/liquidsoap/src/core/decoder/image/ppm_decoder.ml +39 -0
  294. package/tests/liquidsoap/src/core/decoder/image/sdlimage_decoder.ml +39 -0
  295. package/tests/liquidsoap/src/core/decoder/image_decoder.ml +181 -0
  296. package/tests/liquidsoap/src/core/decoder/image_plug.ml +62 -0
  297. package/tests/liquidsoap/src/core/decoder/liq_flac_decoder.ml +192 -0
  298. package/tests/liquidsoap/src/core/decoder/liq_ogg_decoder.ml +323 -0
  299. package/tests/liquidsoap/src/core/decoder/mad_decoder.ml +199 -0
  300. package/tests/liquidsoap/src/core/decoder/midi_decoder.ml +77 -0
  301. package/tests/liquidsoap/src/core/decoder/ogg_flac_duration.ml +66 -0
  302. package/tests/liquidsoap/src/core/decoder/ogg_metadata_plug.ml +62 -0
  303. package/tests/liquidsoap/src/core/decoder/raw_audio_decoder.ml +162 -0
  304. package/tests/liquidsoap/src/core/decoder/srt_decoder.ml +92 -0
  305. package/tests/liquidsoap/src/core/decoder/taglib_plug.ml +102 -0
  306. package/tests/liquidsoap/src/core/decoder/text/video_text_camlimages.ml +58 -0
  307. package/tests/liquidsoap/src/core/decoder/text/video_text_gd.ml +63 -0
  308. package/tests/liquidsoap/src/core/decoder/text/video_text_gstreamer.ml +64 -0
  309. package/tests/liquidsoap/src/core/decoder/text/video_text_native.ml +47 -0
  310. package/tests/liquidsoap/src/core/decoder/text/video_text_sdl.ml +62 -0
  311. package/tests/liquidsoap/src/core/decoder/video_plug.ml +62 -0
  312. package/tests/liquidsoap/src/core/decoder/vorbisduration.ml +31 -0
  313. package/tests/liquidsoap/src/core/decoder/wav_aiff_decoder.ml +251 -0
  314. package/tests/liquidsoap/src/core/doc.ml +1 -0
  315. package/tests/liquidsoap/src/core/dune +1050 -0
  316. package/tests/liquidsoap/src/core/encoder/encoder.ml +398 -0
  317. package/tests/liquidsoap/src/core/encoder/encoder.mli +128 -0
  318. package/tests/liquidsoap/src/core/encoder/encoder_formats.ml +56 -0
  319. package/tests/liquidsoap/src/core/encoder/encoders/avi_encoder.ml +126 -0
  320. package/tests/liquidsoap/src/core/encoder/encoders/external_encoder.ml +177 -0
  321. package/tests/liquidsoap/src/core/encoder/encoders/fdkaac_encoder.ml +122 -0
  322. package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_copy_encoder.ml +196 -0
  323. package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_encoder.ml +80 -0
  324. package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_encoder_common.ml +342 -0
  325. package/tests/liquidsoap/src/core/encoder/encoders/ffmpeg_internal_encoder.ml +518 -0
  326. package/tests/liquidsoap/src/core/encoder/encoders/flac_encoder.ml +79 -0
  327. package/tests/liquidsoap/src/core/encoder/encoders/gstreamer_encoder.ml +209 -0
  328. package/tests/liquidsoap/src/core/encoder/encoders/lame_encoder.ml +129 -0
  329. package/tests/liquidsoap/src/core/encoder/encoders/ogg_encoder.ml +146 -0
  330. package/tests/liquidsoap/src/core/encoder/encoders/shine_encoder.ml +79 -0
  331. package/tests/liquidsoap/src/core/encoder/encoders/taglib_id3v2.ml +58 -0
  332. package/tests/liquidsoap/src/core/encoder/encoders/wav_encoder.ml +83 -0
  333. package/tests/liquidsoap/src/core/encoder/formats/avi_format.ml +36 -0
  334. package/tests/liquidsoap/src/core/encoder/formats/external_encoder_format.ml +55 -0
  335. package/tests/liquidsoap/src/core/encoder/formats/fdkaac_format.ml +92 -0
  336. package/tests/liquidsoap/src/core/encoder/formats/ffmpeg_format.ml +162 -0
  337. package/tests/liquidsoap/src/core/encoder/formats/flac_format.ml +34 -0
  338. package/tests/liquidsoap/src/core/encoder/formats/gstreamer_format.ml +53 -0
  339. package/tests/liquidsoap/src/core/encoder/formats/mp3_format.ml +88 -0
  340. package/tests/liquidsoap/src/core/encoder/formats/ogg_format.ml +44 -0
  341. package/tests/liquidsoap/src/core/encoder/formats/opus_format.ml +95 -0
  342. package/tests/liquidsoap/src/core/encoder/formats/shine_format.ml +29 -0
  343. package/tests/liquidsoap/src/core/encoder/formats/speex_format.ml +60 -0
  344. package/tests/liquidsoap/src/core/encoder/formats/theora_format.ml +66 -0
  345. package/tests/liquidsoap/src/core/encoder/formats/vorbis_format.ml +52 -0
  346. package/tests/liquidsoap/src/core/encoder/formats/wav_format.ml +38 -0
  347. package/tests/liquidsoap/src/core/encoder/lang/lang_avi.ml +57 -0
  348. package/tests/liquidsoap/src/core/encoder/lang/lang_external_encoder.ml +120 -0
  349. package/tests/liquidsoap/src/core/encoder/lang/lang_fdkaac.ml +134 -0
  350. package/tests/liquidsoap/src/core/encoder/lang/lang_ffmpeg.ml +544 -0
  351. package/tests/liquidsoap/src/core/encoder/lang/lang_flac.ml +73 -0
  352. package/tests/liquidsoap/src/core/encoder/lang/lang_gstreamer.ml +112 -0
  353. package/tests/liquidsoap/src/core/encoder/lang/lang_mp3.ml +260 -0
  354. package/tests/liquidsoap/src/core/encoder/lang/lang_ogg.ml +69 -0
  355. package/tests/liquidsoap/src/core/encoder/lang/lang_opus.ml +142 -0
  356. package/tests/liquidsoap/src/core/encoder/lang/lang_shine.ml +68 -0
  357. package/tests/liquidsoap/src/core/encoder/lang/lang_speex.ml +96 -0
  358. package/tests/liquidsoap/src/core/encoder/lang/lang_theora.ml +131 -0
  359. package/tests/liquidsoap/src/core/encoder/lang/lang_vorbis.ml +160 -0
  360. package/tests/liquidsoap/src/core/encoder/lang/lang_wav.ml +70 -0
  361. package/tests/liquidsoap/src/core/encoder/lang_encoder.ml +142 -0
  362. package/tests/liquidsoap/src/core/error.ml +1 -0
  363. package/tests/liquidsoap/src/core/file_watcher.inotify.ml +84 -0
  364. package/tests/liquidsoap/src/core/file_watcher.mtime.ml +90 -0
  365. package/tests/liquidsoap/src/core/harbor/harbor.ml +1209 -0
  366. package/tests/liquidsoap/src/core/harbor/harbor_base.ml +72 -0
  367. package/tests/liquidsoap/src/core/hooks_implementations.ml +172 -0
  368. package/tests/liquidsoap/src/core/hooks_implementations.mli +1 -0
  369. package/tests/liquidsoap/src/core/io/alsa_io.ml +358 -0
  370. package/tests/liquidsoap/src/core/io/ffmpeg_filter_io.ml +345 -0
  371. package/tests/liquidsoap/src/core/io/ffmpeg_io.ml +612 -0
  372. package/tests/liquidsoap/src/core/io/gstreamer_io.ml +762 -0
  373. package/tests/liquidsoap/src/core/io/oss_io.ml +198 -0
  374. package/tests/liquidsoap/src/core/io/oss_io_c.c +42 -0
  375. package/tests/liquidsoap/src/core/io/portaudio_io.ml +340 -0
  376. package/tests/liquidsoap/src/core/io/pulseaudio_io.ml +206 -0
  377. package/tests/liquidsoap/src/core/io/srt_io.ml +1117 -0
  378. package/tests/liquidsoap/src/core/io/udp_io.ml +268 -0
  379. package/tests/liquidsoap/src/core/json.ml +1 -0
  380. package/tests/liquidsoap/src/core/lang.ml +71 -0
  381. package/tests/liquidsoap/src/core/lang.mli +344 -0
  382. package/tests/liquidsoap/src/core/lang_source.ml +586 -0
  383. package/tests/liquidsoap/src/core/lang_string.ml +1 -0
  384. package/tests/liquidsoap/src/core/liqmagic.disabled.ml +2 -0
  385. package/tests/liquidsoap/src/core/liqmagic.enabled.ml +3 -0
  386. package/tests/liquidsoap/src/core/liqmagic.mli +4 -0
  387. package/tests/liquidsoap/src/core/modules.ml +39 -0
  388. package/tests/liquidsoap/src/core/ogg_formats/liq_flac_ogg_decoder.ml +23 -0
  389. package/tests/liquidsoap/src/core/ogg_formats/liq_opus_decoder.ml +38 -0
  390. package/tests/liquidsoap/src/core/ogg_formats/liq_speex_decoder.ml +23 -0
  391. package/tests/liquidsoap/src/core/ogg_formats/liq_theora_decoder.ml +23 -0
  392. package/tests/liquidsoap/src/core/ogg_formats/liq_vorbis_decoder.ml +23 -0
  393. package/tests/liquidsoap/src/core/ogg_formats/ogg_flac_encoder.ml +127 -0
  394. package/tests/liquidsoap/src/core/ogg_formats/ogg_flac_encoder_stubs.c +10 -0
  395. package/tests/liquidsoap/src/core/ogg_formats/ogg_muxer.ml +413 -0
  396. package/tests/liquidsoap/src/core/ogg_formats/ogg_muxer.mli +169 -0
  397. package/tests/liquidsoap/src/core/ogg_formats/opus_encoder.ml +143 -0
  398. package/tests/liquidsoap/src/core/ogg_formats/speex_encoder.ml +183 -0
  399. package/tests/liquidsoap/src/core/ogg_formats/theora_encoder.ml +172 -0
  400. package/tests/liquidsoap/src/core/ogg_formats/vorbis_encoder.ml +125 -0
  401. package/tests/liquidsoap/src/core/operators/accelerate.ml +115 -0
  402. package/tests/liquidsoap/src/core/operators/add.ml +461 -0
  403. package/tests/liquidsoap/src/core/operators/amplify.ml +92 -0
  404. package/tests/liquidsoap/src/core/operators/available.ml +80 -0
  405. package/tests/liquidsoap/src/core/operators/biquad_filter.ml +317 -0
  406. package/tests/liquidsoap/src/core/operators/chord.ml +137 -0
  407. package/tests/liquidsoap/src/core/operators/clip.ml +57 -0
  408. package/tests/liquidsoap/src/core/operators/comb.ml +84 -0
  409. package/tests/liquidsoap/src/core/operators/compand.ml +62 -0
  410. package/tests/liquidsoap/src/core/operators/compress.ml +270 -0
  411. package/tests/liquidsoap/src/core/operators/compress_exp.ml +65 -0
  412. package/tests/liquidsoap/src/core/operators/cross.ml +507 -0
  413. package/tests/liquidsoap/src/core/operators/cuepoint.ml +217 -0
  414. package/tests/liquidsoap/src/core/operators/defer.ml +183 -0
  415. package/tests/liquidsoap/src/core/operators/defer_c.c +23 -0
  416. package/tests/liquidsoap/src/core/operators/delay.ml +85 -0
  417. package/tests/liquidsoap/src/core/operators/delay_line.ml +94 -0
  418. package/tests/liquidsoap/src/core/operators/dtmf.ml +417 -0
  419. package/tests/liquidsoap/src/core/operators/dyn_op.ml +180 -0
  420. package/tests/liquidsoap/src/core/operators/echo.ml +96 -0
  421. package/tests/liquidsoap/src/core/operators/filter.ml +141 -0
  422. package/tests/liquidsoap/src/core/operators/filter_rc.ml +120 -0
  423. package/tests/liquidsoap/src/core/operators/fir_filter.ml +185 -0
  424. package/tests/liquidsoap/src/core/operators/flanger.ml +108 -0
  425. package/tests/liquidsoap/src/core/operators/frei0r_op.ml +368 -0
  426. package/tests/liquidsoap/src/core/operators/gate.ml +158 -0
  427. package/tests/liquidsoap/src/core/operators/iir_filter.ml +607 -0
  428. package/tests/liquidsoap/src/core/operators/insert_metadata.ml +144 -0
  429. package/tests/liquidsoap/src/core/operators/ladspa_op.ml +413 -0
  430. package/tests/liquidsoap/src/core/operators/lilv_op.ml +367 -0
  431. package/tests/liquidsoap/src/core/operators/lufs.ml +221 -0
  432. package/tests/liquidsoap/src/core/operators/map_metadata.ml +113 -0
  433. package/tests/liquidsoap/src/core/operators/map_op.ml +62 -0
  434. package/tests/liquidsoap/src/core/operators/max_duration.ml +100 -0
  435. package/tests/liquidsoap/src/core/operators/midi_routing.ml +93 -0
  436. package/tests/liquidsoap/src/core/operators/ms_stereo.ml +138 -0
  437. package/tests/liquidsoap/src/core/operators/muxer.ml +279 -0
  438. package/tests/liquidsoap/src/core/operators/noblank.ml +348 -0
  439. package/tests/liquidsoap/src/core/operators/normalize.ml +198 -0
  440. package/tests/liquidsoap/src/core/operators/on_end.ml +83 -0
  441. package/tests/liquidsoap/src/core/operators/on_frame.ml +105 -0
  442. package/tests/liquidsoap/src/core/operators/on_metadata.ml +67 -0
  443. package/tests/liquidsoap/src/core/operators/on_offset.ml +108 -0
  444. package/tests/liquidsoap/src/core/operators/on_track.ml +72 -0
  445. package/tests/liquidsoap/src/core/operators/pan.ml +71 -0
  446. package/tests/liquidsoap/src/core/operators/pipe.ml +349 -0
  447. package/tests/liquidsoap/src/core/operators/pitch.ml +139 -0
  448. package/tests/liquidsoap/src/core/operators/replaygain_op.ml +93 -0
  449. package/tests/liquidsoap/src/core/operators/resample.ml +115 -0
  450. package/tests/liquidsoap/src/core/operators/rms_smooth.ml +88 -0
  451. package/tests/liquidsoap/src/core/operators/sequence.ml +154 -0
  452. package/tests/liquidsoap/src/core/operators/soundtouch_op.ml +119 -0
  453. package/tests/liquidsoap/src/core/operators/st_bpm.ml +79 -0
  454. package/tests/liquidsoap/src/core/operators/stereotool_op.ml +196 -0
  455. package/tests/liquidsoap/src/core/operators/still_frame.ml +93 -0
  456. package/tests/liquidsoap/src/core/operators/switch.ml +450 -0
  457. package/tests/liquidsoap/src/core/operators/time_warp.ml +554 -0
  458. package/tests/liquidsoap/src/core/operators/track/merge_metadata.ml +98 -0
  459. package/tests/liquidsoap/src/core/operators/track_map.ml +161 -0
  460. package/tests/liquidsoap/src/core/operators/video_effects.ml +709 -0
  461. package/tests/liquidsoap/src/core/operators/video_fade.ml +315 -0
  462. package/tests/liquidsoap/src/core/operators/window_op.ml +158 -0
  463. package/tests/liquidsoap/src/core/outputs/alsa_out.ml +167 -0
  464. package/tests/liquidsoap/src/core/outputs/ao_out.ml +167 -0
  465. package/tests/liquidsoap/src/core/outputs/bjack_out.ml +151 -0
  466. package/tests/liquidsoap/src/core/outputs/graphics_out.ml +76 -0
  467. package/tests/liquidsoap/src/core/outputs/harbor_output.ml +632 -0
  468. package/tests/liquidsoap/src/core/outputs/hls_output.ml +1097 -0
  469. package/tests/liquidsoap/src/core/outputs/icecast2.ml +641 -0
  470. package/tests/liquidsoap/src/core/outputs/output.ml +257 -0
  471. package/tests/liquidsoap/src/core/outputs/output.mli +92 -0
  472. package/tests/liquidsoap/src/core/outputs/pipe_output.ml +622 -0
  473. package/tests/liquidsoap/src/core/outputs/sdl_out.ml +131 -0
  474. package/tests/liquidsoap/src/core/playlist_parser.ml +124 -0
  475. package/tests/liquidsoap/src/core/playlists/playlist_basic.ml +300 -0
  476. package/tests/liquidsoap/src/core/playlists/playlist_xml.ml +60 -0
  477. package/tests/liquidsoap/src/core/plug.ml +1 -0
  478. package/tests/liquidsoap/src/core/pos.ml +1 -0
  479. package/tests/liquidsoap/src/core/protocols/annotate.ml +70 -0
  480. package/tests/liquidsoap/src/core/protocols/mpd.ml +149 -0
  481. package/tests/liquidsoap/src/core/request.ml +721 -0
  482. package/tests/liquidsoap/src/core/request.mli +200 -0
  483. package/tests/liquidsoap/src/core/runtime_error.ml +1 -0
  484. package/tests/liquidsoap/src/core/shebang.ml +66 -0
  485. package/tests/liquidsoap/src/core/source.ml +892 -0
  486. package/tests/liquidsoap/src/core/source.mli +346 -0
  487. package/tests/liquidsoap/src/core/sources/alsa_in.ml +148 -0
  488. package/tests/liquidsoap/src/core/sources/audio_gen.ml +106 -0
  489. package/tests/liquidsoap/src/core/sources/bjack_in.ml +153 -0
  490. package/tests/liquidsoap/src/core/sources/blank.ml +94 -0
  491. package/tests/liquidsoap/src/core/sources/debug_sources.ml +60 -0
  492. package/tests/liquidsoap/src/core/sources/external_input_audio.ml +152 -0
  493. package/tests/liquidsoap/src/core/sources/external_input_video.ml +246 -0
  494. package/tests/liquidsoap/src/core/sources/generated.ml +137 -0
  495. package/tests/liquidsoap/src/core/sources/harbor_input.ml +489 -0
  496. package/tests/liquidsoap/src/core/sources/latest_metadata.ml +38 -0
  497. package/tests/liquidsoap/src/core/sources/noise.ml +79 -0
  498. package/tests/liquidsoap/src/core/sources/request_simple.ml +278 -0
  499. package/tests/liquidsoap/src/core/sources/request_source.ml +542 -0
  500. package/tests/liquidsoap/src/core/sources/request_source.mli +112 -0
  501. package/tests/liquidsoap/src/core/sources/synthesized.ml +62 -0
  502. package/tests/liquidsoap/src/core/sources/video_board.ml +196 -0
  503. package/tests/liquidsoap/src/core/sources/video_testsrc.ml +88 -0
  504. package/tests/liquidsoap/src/core/sources/video_text.ml +127 -0
  505. package/tests/liquidsoap/src/core/startup.ml +7 -0
  506. package/tests/liquidsoap/src/core/stream/aFrame.ml +66 -0
  507. package/tests/liquidsoap/src/core/stream/aFrame.mli +77 -0
  508. package/tests/liquidsoap/src/core/stream/content.ml +51 -0
  509. package/tests/liquidsoap/src/core/stream/content.mli +212 -0
  510. package/tests/liquidsoap/src/core/stream/content_audio.ml +107 -0
  511. package/tests/liquidsoap/src/core/stream/content_base.ml +449 -0
  512. package/tests/liquidsoap/src/core/stream/content_midi.ml +67 -0
  513. package/tests/liquidsoap/src/core/stream/content_pcm_base.ml +78 -0
  514. package/tests/liquidsoap/src/core/stream/content_pcm_f32.ml +52 -0
  515. package/tests/liquidsoap/src/core/stream/content_pcm_f32.mli +35 -0
  516. package/tests/liquidsoap/src/core/stream/content_pcm_s16.ml +52 -0
  517. package/tests/liquidsoap/src/core/stream/content_pcm_s16.mli +36 -0
  518. package/tests/liquidsoap/src/core/stream/content_timed.ml +149 -0
  519. package/tests/liquidsoap/src/core/stream/content_video.ml +119 -0
  520. package/tests/liquidsoap/src/core/stream/ffmpeg_content_base.ml +81 -0
  521. package/tests/liquidsoap/src/core/stream/ffmpeg_copy_content.ml +157 -0
  522. package/tests/liquidsoap/src/core/stream/ffmpeg_raw_content.ml +261 -0
  523. package/tests/liquidsoap/src/core/stream/frame.ml +197 -0
  524. package/tests/liquidsoap/src/core/stream/frame.mli +243 -0
  525. package/tests/liquidsoap/src/core/stream/frame_base.ml +145 -0
  526. package/tests/liquidsoap/src/core/stream/frame_settings.ml +249 -0
  527. package/tests/liquidsoap/src/core/stream/generator.ml +303 -0
  528. package/tests/liquidsoap/src/core/stream/generator.mli +106 -0
  529. package/tests/liquidsoap/src/core/stream/mFrame.ml +45 -0
  530. package/tests/liquidsoap/src/core/stream/mFrame.mli +29 -0
  531. package/tests/liquidsoap/src/core/stream/vFrame.ml +52 -0
  532. package/tests/liquidsoap/src/core/stream/vFrame.mli +65 -0
  533. package/tests/liquidsoap/src/core/synth/dssi_op.ml +249 -0
  534. package/tests/liquidsoap/src/core/synth/keyboard.ml +142 -0
  535. package/tests/liquidsoap/src/core/synth/keyboard_sdl.ml +174 -0
  536. package/tests/liquidsoap/src/core/synth/synth_op.ml +186 -0
  537. package/tests/liquidsoap/src/core/term.ml +1 -0
  538. package/tests/liquidsoap/src/core/tools/avi.ml +380 -0
  539. package/tests/liquidsoap/src/core/tools/charset.ml +52 -0
  540. package/tests/liquidsoap/src/core/tools/charset.mli +49 -0
  541. package/tests/liquidsoap/src/core/tools/charset_base.ml +63 -0
  542. package/tests/liquidsoap/src/core/tools/child_support.ml +105 -0
  543. package/tests/liquidsoap/src/core/tools/external_input.ml +78 -0
  544. package/tests/liquidsoap/src/core/tools/extra_args.ml +27 -0
  545. package/tests/liquidsoap/src/core/tools/extra_args.mli +26 -0
  546. package/tests/liquidsoap/src/core/tools/extralib.ml +1 -0
  547. package/tests/liquidsoap/src/core/tools/ffmpeg_avfilter_utils.ml +151 -0
  548. package/tests/liquidsoap/src/core/tools/ffmpeg_avfilter_utils.mli +44 -0
  549. package/tests/liquidsoap/src/core/tools/ffmpeg_utils.ml +354 -0
  550. package/tests/liquidsoap/src/core/tools/ffmpeg_utils.mli +79 -0
  551. package/tests/liquidsoap/src/core/tools/gstreamer_utils.ml +200 -0
  552. package/tests/liquidsoap/src/core/tools/http.ml +173 -0
  553. package/tests/liquidsoap/src/core/tools/http.mli +62 -0
  554. package/tests/liquidsoap/src/core/tools/https.mli +1 -0
  555. package/tests/liquidsoap/src/core/tools/icecast_utils.ml +202 -0
  556. package/tests/liquidsoap/src/core/tools/ioRing.ml +233 -0
  557. package/tests/liquidsoap/src/core/tools/lifecycle.ml +100 -0
  558. package/tests/liquidsoap/src/core/tools/lifecycle.mli +88 -0
  559. package/tests/liquidsoap/src/core/tools/liq_posix_time.ml +58 -0
  560. package/tests/liquidsoap/src/core/tools/liq_prometheus.ml +56 -0
  561. package/tests/liquidsoap/src/core/tools/liq_time.ml +40 -0
  562. package/tests/liquidsoap/src/core/tools/liq_time.mli +19 -0
  563. package/tests/liquidsoap/src/core/tools/liqcurl.ml +221 -0
  564. package/tests/liquidsoap/src/core/tools/liqfm.ml +241 -0
  565. package/tests/liquidsoap/src/core/tools/liqfm.mli +40 -0
  566. package/tests/liquidsoap/src/core/tools/liqmemtrace.ml +25 -0
  567. package/tests/liquidsoap/src/core/tools/log.ml +147 -0
  568. package/tests/liquidsoap/src/core/tools/log.mli +12 -0
  569. package/tests/liquidsoap/src/core/tools/pool.ml +87 -0
  570. package/tests/liquidsoap/src/core/tools/process_handler.ml +345 -0
  571. package/tests/liquidsoap/src/core/tools/process_handler.mli +113 -0
  572. package/tests/liquidsoap/src/core/tools/producer_consumer.ml +139 -0
  573. package/tests/liquidsoap/src/core/tools/rqueue.ml +151 -0
  574. package/tests/liquidsoap/src/core/tools/rqueue.mli +59 -0
  575. package/tests/liquidsoap/src/core/tools/sandbox.ml +177 -0
  576. package/tests/liquidsoap/src/core/tools/sandbox.mli +28 -0
  577. package/tests/liquidsoap/src/core/tools/sdl_log_level.ml +29 -0
  578. package/tests/liquidsoap/src/core/tools/sdl_utils.ml +222 -0
  579. package/tests/liquidsoap/src/core/tools/server.ml +468 -0
  580. package/tests/liquidsoap/src/core/tools/server.mli +99 -0
  581. package/tests/liquidsoap/src/core/tools/server_builtins.ml +63 -0
  582. package/tests/liquidsoap/src/core/tools/sha1.ml +139 -0
  583. package/tests/liquidsoap/src/core/tools/srt_parser.ml +100 -0
  584. package/tests/liquidsoap/src/core/tools/ssl_base.ml +25 -0
  585. package/tests/liquidsoap/src/core/tools/start_stop.ml +182 -0
  586. package/tests/liquidsoap/src/core/tools/stringView.ml +36 -0
  587. package/tests/liquidsoap/src/core/tools/stringView.mli +50 -0
  588. package/tests/liquidsoap/src/core/tools/strings.ml +243 -0
  589. package/tests/liquidsoap/src/core/tools/strings.mli +209 -0
  590. package/tests/liquidsoap/src/core/tools/tutils.ml +393 -0
  591. package/tests/liquidsoap/src/core/tools/tutils.mli +93 -0
  592. package/tests/liquidsoap/src/core/tools/unix_c.c +86 -0
  593. package/tests/liquidsoap/src/core/tools/utils.ml +622 -0
  594. package/tests/liquidsoap/src/core/tools/wav_aiff.ml +261 -0
  595. package/tests/liquidsoap/src/core/tools/wav_aiff.mli +84 -0
  596. package/tests/liquidsoap/src/core/tools/websocket.ml +290 -0
  597. package/tests/liquidsoap/src/core/track.ml +38 -0
  598. package/tests/liquidsoap/src/core/track.mli +27 -0
  599. package/tests/liquidsoap/src/core/type.ml +1 -0
  600. package/tests/liquidsoap/src/core/types/format_type.ml +343 -0
  601. package/tests/liquidsoap/src/core/types/format_type.mli +45 -0
  602. package/tests/liquidsoap/src/core/types/frame_type.ml +134 -0
  603. package/tests/liquidsoap/src/core/types/frame_type.mli +52 -0
  604. package/tests/liquidsoap/src/core/typing.ml +1 -0
  605. package/tests/liquidsoap/src/core/unifier.ml +1 -0
  606. package/tests/liquidsoap/src/core/value.ml +1 -0
  607. package/tests/liquidsoap/src/core/visualization/midimeter.ml +68 -0
  608. package/tests/liquidsoap/src/core/visualization/video_volume.ml +153 -0
  609. package/tests/liquidsoap/src/core/visualization/vis_volume.ml +131 -0
  610. package/tests/liquidsoap/src/js/dune +45 -0
  611. package/tests/liquidsoap/src/js/index.html +162 -0
  612. package/tests/liquidsoap/src/js/init_js.ml +6 -0
  613. package/tests/liquidsoap/src/js/interactive_js.ml +88 -0
  614. package/tests/liquidsoap/src/js/regexp_js.ml +57 -0
  615. package/tests/liquidsoap/src/js/regexp_js.mli +4 -0
  616. package/tests/liquidsoap/src/js/stdlib_js.liq +9 -0
  617. package/tests/liquidsoap/src/lang/build_config.mli +11 -0
  618. package/tests/liquidsoap/src/lang/builtins_bool.ml +74 -0
  619. package/tests/liquidsoap/src/lang/builtins_eval.ml +37 -0
  620. package/tests/liquidsoap/src/lang/builtins_getter.ml +109 -0
  621. package/tests/liquidsoap/src/lang/builtins_json.ml +442 -0
  622. package/tests/liquidsoap/src/lang/builtins_lang.ml +241 -0
  623. package/tests/liquidsoap/src/lang/builtins_list.ml +268 -0
  624. package/tests/liquidsoap/src/lang/builtins_math.ml +300 -0
  625. package/tests/liquidsoap/src/lang/builtins_null.ml +72 -0
  626. package/tests/liquidsoap/src/lang/builtins_profiler.ml +56 -0
  627. package/tests/liquidsoap/src/lang/builtins_ref.ml +33 -0
  628. package/tests/liquidsoap/src/lang/builtins_regexp.ml +247 -0
  629. package/tests/liquidsoap/src/lang/builtins_string.ml +563 -0
  630. package/tests/liquidsoap/src/lang/builtins_yaml.ml +51 -0
  631. package/tests/liquidsoap/src/lang/doc.ml +696 -0
  632. package/tests/liquidsoap/src/lang/dune +144 -0
  633. package/tests/liquidsoap/src/lang/environment.ml +125 -0
  634. package/tests/liquidsoap/src/lang/environment.mli +49 -0
  635. package/tests/liquidsoap/src/lang/error.ml +45 -0
  636. package/tests/liquidsoap/src/lang/error.mli +27 -0
  637. package/tests/liquidsoap/src/lang/evaluation.ml +537 -0
  638. package/tests/liquidsoap/src/lang/evaluation.mli +30 -0
  639. package/tests/liquidsoap/src/lang/extralib.ml +90 -0
  640. package/tests/liquidsoap/src/lang/hooks.ml +58 -0
  641. package/tests/liquidsoap/src/lang/hooks.mli +38 -0
  642. package/tests/liquidsoap/src/lang/json.ml +142 -0
  643. package/tests/liquidsoap/src/lang/json.mli +18 -0
  644. package/tests/liquidsoap/src/lang/json_base.ml +12 -0
  645. package/tests/liquidsoap/src/lang/json_lexer.ml +322 -0
  646. package/tests/liquidsoap/src/lang/json_parser.mly +101 -0
  647. package/tests/liquidsoap/src/lang/lang.ml +3 -0
  648. package/tests/liquidsoap/src/lang/lang.mli +255 -0
  649. package/tests/liquidsoap/src/lang/lang_core.ml +493 -0
  650. package/tests/liquidsoap/src/lang/lang_error.ml +165 -0
  651. package/tests/liquidsoap/src/lang/lang_regexp.ml +24 -0
  652. package/tests/liquidsoap/src/lang/lang_string.ml +563 -0
  653. package/tests/liquidsoap/src/lang/lang_string.mli +80 -0
  654. package/tests/liquidsoap/src/lang/lexer.ml +520 -0
  655. package/tests/liquidsoap/src/lang/methods.ml +43 -0
  656. package/tests/liquidsoap/src/lang/methods.mli +43 -0
  657. package/tests/liquidsoap/src/lang/modules.ml +33 -0
  658. package/tests/liquidsoap/src/lang/parser.mly +690 -0
  659. package/tests/liquidsoap/src/lang/parser_helper.ml +202 -0
  660. package/tests/liquidsoap/src/lang/parser_helper.mli +77 -0
  661. package/tests/liquidsoap/src/lang/plug.ml +99 -0
  662. package/tests/liquidsoap/src/lang/pos.ml +73 -0
  663. package/tests/liquidsoap/src/lang/preprocessor.ml +197 -0
  664. package/tests/liquidsoap/src/lang/profiler.ml +92 -0
  665. package/tests/liquidsoap/src/lang/regexp.ml +39 -0
  666. package/tests/liquidsoap/src/lang/regexp.mli +26 -0
  667. package/tests/liquidsoap/src/lang/repr.ml +537 -0
  668. package/tests/liquidsoap/src/lang/runtime.ml +360 -0
  669. package/tests/liquidsoap/src/lang/runtime.mli +70 -0
  670. package/tests/liquidsoap/src/lang/runtime_error.ml +49 -0
  671. package/tests/liquidsoap/src/lang/runtime_error.mli +37 -0
  672. package/tests/liquidsoap/src/lang/startup.ml +34 -0
  673. package/tests/liquidsoap/src/lang/term/parsed_term.ml +329 -0
  674. package/tests/liquidsoap/src/lang/term/runtime_term.ml +75 -0
  675. package/tests/liquidsoap/src/lang/term/term_base.ml +554 -0
  676. package/tests/liquidsoap/src/lang/term/term_reducer.ml +891 -0
  677. package/tests/liquidsoap/src/lang/term/term_reducer.mli +33 -0
  678. package/tests/liquidsoap/src/lang/term.ml +48 -0
  679. package/tests/liquidsoap/src/lang/term.mli +109 -0
  680. package/tests/liquidsoap/src/lang/type.ml +65 -0
  681. package/tests/liquidsoap/src/lang/type.mli +146 -0
  682. package/tests/liquidsoap/src/lang/typechecking.ml +439 -0
  683. package/tests/liquidsoap/src/lang/typechecking.mli +14 -0
  684. package/tests/liquidsoap/src/lang/types/ground_type.ml +106 -0
  685. package/tests/liquidsoap/src/lang/types/ground_type.mli +54 -0
  686. package/tests/liquidsoap/src/lang/types/ref_type.ml +28 -0
  687. package/tests/liquidsoap/src/lang/types/type_base.ml +382 -0
  688. package/tests/liquidsoap/src/lang/typing.ml +649 -0
  689. package/tests/liquidsoap/src/lang/typing.mli +60 -0
  690. package/tests/liquidsoap/src/lang/unifier.ml +44 -0
  691. package/tests/liquidsoap/src/lang/unifier.mli +28 -0
  692. package/tests/liquidsoap/src/lang/utils.ml +51 -0
  693. package/tests/liquidsoap/src/lang/value.ml +227 -0
  694. package/tests/liquidsoap/src/libs/audio.liq +342 -0
  695. package/tests/liquidsoap/src/libs/clock.liq +63 -0
  696. package/tests/liquidsoap/src/libs/dune +15 -0
  697. package/tests/liquidsoap/src/libs/error.liq +34 -0
  698. package/tests/liquidsoap/src/libs/extra/audio.liq +617 -0
  699. package/tests/liquidsoap/src/libs/extra/deprecations.liq +892 -0
  700. package/tests/liquidsoap/src/libs/extra/externals.liq +802 -0
  701. package/tests/liquidsoap/src/libs/extra/file.liq +66 -0
  702. package/tests/liquidsoap/src/libs/extra/gstreamer.liq +209 -0
  703. package/tests/liquidsoap/src/libs/extra/http.liq +159 -0
  704. package/tests/liquidsoap/src/libs/extra/interactive.liq +854 -0
  705. package/tests/liquidsoap/src/libs/extra/lastfm.liq +185 -0
  706. package/tests/liquidsoap/src/libs/extra/native.liq +195 -0
  707. package/tests/liquidsoap/src/libs/extra/server.liq +175 -0
  708. package/tests/liquidsoap/src/libs/extra/source.liq +260 -0
  709. package/tests/liquidsoap/src/libs/extra/telnet.liq +281 -0
  710. package/tests/liquidsoap/src/libs/extra/visualization.liq +68 -0
  711. package/tests/liquidsoap/src/libs/fades.liq +651 -0
  712. package/tests/liquidsoap/src/libs/ffmpeg.liq +590 -0
  713. package/tests/liquidsoap/src/libs/file.liq +269 -0
  714. package/tests/liquidsoap/src/libs/getter.liq +74 -0
  715. package/tests/liquidsoap/src/libs/hls.liq +327 -0
  716. package/tests/liquidsoap/src/libs/http.liq +990 -0
  717. package/tests/liquidsoap/src/libs/http_codes.liq +449 -0
  718. package/tests/liquidsoap/src/libs/icecast.liq +55 -0
  719. package/tests/liquidsoap/src/libs/io.liq +169 -0
  720. package/tests/liquidsoap/src/libs/liquidsoap.liq +31 -0
  721. package/tests/liquidsoap/src/libs/log.liq +47 -0
  722. package/tests/liquidsoap/src/libs/math.liq +23 -0
  723. package/tests/liquidsoap/src/libs/medialib.liq +382 -0
  724. package/tests/liquidsoap/src/libs/metadata.liq +259 -0
  725. package/tests/liquidsoap/src/libs/null.liq +73 -0
  726. package/tests/liquidsoap/src/libs/playlist.liq +634 -0
  727. package/tests/liquidsoap/src/libs/predicate.liq +106 -0
  728. package/tests/liquidsoap/src/libs/process.liq +93 -0
  729. package/tests/liquidsoap/src/libs/profiler.liq +5 -0
  730. package/tests/liquidsoap/src/libs/protocols.liq +1043 -0
  731. package/tests/liquidsoap/src/libs/ref.liq +28 -0
  732. package/tests/liquidsoap/src/libs/replaygain.liq +118 -0
  733. package/tests/liquidsoap/src/libs/request.liq +236 -0
  734. package/tests/liquidsoap/src/libs/resolvers.liq +30 -0
  735. package/tests/liquidsoap/src/libs/runtime.liq +78 -0
  736. package/tests/liquidsoap/src/libs/server.liq +7 -0
  737. package/tests/liquidsoap/src/libs/settings.liq +27 -0
  738. package/tests/liquidsoap/src/libs/socket.liq +28 -0
  739. package/tests/liquidsoap/src/libs/source.liq +257 -0
  740. package/tests/liquidsoap/src/libs/stdlib.liq +105 -0
  741. package/tests/liquidsoap/src/libs/string.liq +409 -0
  742. package/tests/liquidsoap/src/libs/switches.liq +240 -0
  743. package/tests/liquidsoap/src/libs/testing.liq +37 -0
  744. package/tests/liquidsoap/src/libs/thread.liq +64 -0
  745. package/tests/liquidsoap/src/libs/tracks.liq +63 -0
  746. package/tests/liquidsoap/src/libs/utils.liq +67 -0
  747. package/tests/liquidsoap/src/libs/video.liq +763 -0
  748. package/tests/liquidsoap/src/runtime/build_config.ml +143 -0
  749. package/tests/liquidsoap/src/runtime/dune +14 -0
  750. package/tests/liquidsoap/src/runtime/main.ml +730 -0
  751. package/tests/liquidsoap/src/runtime/runner.default.ml +25 -0
  752. package/tests/liquidsoap/src/runtime/runner.mli +1 -0
  753. package/tests/liquidsoap/src/runtime/runner.winsvc.ml +83 -0
  754. package/tests/liquidsoap/src/stereotool/dune +5 -0
  755. package/tests/liquidsoap/src/stereotool/stereotool.ml +151 -0
  756. package/tests/liquidsoap/src/stereotool/stereotool.mli +30 -0
  757. package/tests/liquidsoap/src/tooling/dune +13 -0
  758. package/tests/liquidsoap/src/tooling/parsed_json.ml +595 -0
  759. package/tests/liquidsoap/src/tooling/parsed_json.mli +26 -0
  760. package/tests/liquidsoap/tests/check_output.ml +41 -0
  761. package/tests/liquidsoap/tests/core/content_test.ml +80 -0
  762. package/tests/liquidsoap/tests/core/decoder_test.ml +55 -0
  763. package/tests/liquidsoap/tests/core/dune +57 -0
  764. package/tests/liquidsoap/tests/core/dune.inc +363 -0
  765. package/tests/liquidsoap/tests/core/ffmpeg_quality.ml +81 -0
  766. package/tests/liquidsoap/tests/core/frame_test.ml +41 -0
  767. package/tests/liquidsoap/tests/core/gen_dune.ml +52 -0
  768. package/tests/liquidsoap/tests/core/generator_test.ml +106 -0
  769. package/tests/liquidsoap/tests/core/is_url.ml +4 -0
  770. package/tests/liquidsoap/tests/core/json_test.ml +129 -0
  771. package/tests/liquidsoap/tests/core/meth.ml +48 -0
  772. package/tests/liquidsoap/tests/core/more_types.ml +63 -0
  773. package/tests/liquidsoap/tests/core/output_encoded_test.ml +42 -0
  774. package/tests/liquidsoap/tests/core/output_test.ml +42 -0
  775. package/tests/liquidsoap/tests/core/parsesrt.ml +12 -0
  776. package/tests/liquidsoap/tests/core/playlist_basic_test.ml +74 -0
  777. package/tests/liquidsoap/tests/core/pool_test.ml +46 -0
  778. package/tests/liquidsoap/tests/core/readavi.ml +8 -0
  779. package/tests/liquidsoap/tests/core/source_test.ml +16 -0
  780. package/tests/liquidsoap/tests/core/start_stop_test.ml +30 -0
  781. package/tests/liquidsoap/tests/core/stream_decoder_test.ml +52 -0
  782. package/tests/liquidsoap/tests/core/string_test.ml +1 -0
  783. package/tests/liquidsoap/tests/core/strings_test.ml +15 -0
  784. package/tests/liquidsoap/tests/core/taglib_test.ml +35 -0
  785. package/tests/liquidsoap/tests/core/test.srt +20 -0
  786. package/tests/liquidsoap/tests/core/timezone.ml +7 -0
  787. package/tests/liquidsoap/tests/core/types.ml +397 -0
  788. package/tests/liquidsoap/tests/core/unifier_test.ml +29 -0
  789. package/tests/liquidsoap/tests/core/utils_test.ml +6 -0
  790. package/tests/liquidsoap/tests/core/version_test.ml +27 -0
  791. package/tests/liquidsoap/tests/dune +14 -0
  792. package/tests/liquidsoap/tests/failures/ctype.liq +9 -0
  793. package/tests/liquidsoap/tests/failures/error.liq +7 -0
  794. package/tests/liquidsoap/tests/failures/record-invalid-member1.liq +10 -0
  795. package/tests/liquidsoap/tests/failures/record-invalid-member2.liq +3 -0
  796. package/tests/liquidsoap/tests/failures/ref.liq +12 -0
  797. package/tests/liquidsoap/tests/fixme/GH1170.liq +37 -0
  798. package/tests/liquidsoap/tests/fixme/LS527.liq +26 -0
  799. package/tests/liquidsoap/tests/fixme/cross2.liq +20 -0
  800. package/tests/liquidsoap/tests/fixme/cross3.liq +26 -0
  801. package/tests/liquidsoap/tests/fixme/sequence-1.liq +41 -0
  802. package/tests/liquidsoap/tests/fixme/sequence-2.liq +36 -0
  803. package/tests/liquidsoap/tests/gen_dune.ml +46 -0
  804. package/tests/liquidsoap/tests/harbor/dune +18 -0
  805. package/tests/liquidsoap/tests/harbor/dune.inc +60 -0
  806. package/tests/liquidsoap/tests/harbor/http.liq +314 -0
  807. package/tests/liquidsoap/tests/harbor/http2.liq +105 -0
  808. package/tests/liquidsoap/tests/harbor/http3.liq +56 -0
  809. package/tests/liquidsoap/tests/harbor/post.liq +207 -0
  810. package/tests/liquidsoap/tests/harbor/put.liq +209 -0
  811. package/tests/liquidsoap/tests/language/argsof.liq +48 -0
  812. package/tests/liquidsoap/tests/language/bool.liq +39 -0
  813. package/tests/liquidsoap/tests/language/comments.liq +76 -0
  814. package/tests/liquidsoap/tests/language/conversions.liq +14 -0
  815. package/tests/liquidsoap/tests/language/doc.liq +14 -0
  816. package/tests/liquidsoap/tests/language/dune +74 -0
  817. package/tests/liquidsoap/tests/language/dune.inc +504 -0
  818. package/tests/liquidsoap/tests/language/encoders.liq +93 -0
  819. package/tests/liquidsoap/tests/language/error.liq +164 -0
  820. package/tests/liquidsoap/tests/language/eval.liq +73 -0
  821. package/tests/liquidsoap/tests/language/file.liq +36 -0
  822. package/tests/liquidsoap/tests/language/file.watch.liq +19 -0
  823. package/tests/liquidsoap/tests/language/file.watch2.liq +23 -0
  824. package/tests/liquidsoap/tests/language/file_protocol.liq +32 -0
  825. package/tests/liquidsoap/tests/language/functions.liq +52 -0
  826. package/tests/liquidsoap/tests/language/gen_dune.ml +49 -0
  827. package/tests/liquidsoap/tests/language/getter.liq +77 -0
  828. package/tests/liquidsoap/tests/language/interactive.liq +50 -0
  829. package/tests/liquidsoap/tests/language/json.liq +311 -0
  830. package/tests/liquidsoap/tests/language/list.liq +124 -0
  831. package/tests/liquidsoap/tests/language/loop.liq +30 -0
  832. package/tests/liquidsoap/tests/language/math.liq +12 -0
  833. package/tests/liquidsoap/tests/language/mem_usage.liq +68 -0
  834. package/tests/liquidsoap/tests/language/metadata.liq +136 -0
  835. package/tests/liquidsoap/tests/language/metrics.liq +22 -0
  836. package/tests/liquidsoap/tests/language/null.liq +42 -0
  837. package/tests/liquidsoap/tests/language/number.liq +54 -0
  838. package/tests/liquidsoap/tests/language/osc.liq +69 -0
  839. package/tests/liquidsoap/tests/language/pattern.liq +103 -0
  840. package/tests/liquidsoap/tests/language/pp.liq +57 -0
  841. package/tests/liquidsoap/tests/language/predicate.liq +54 -0
  842. package/tests/liquidsoap/tests/language/process.liq +51 -0
  843. package/tests/liquidsoap/tests/language/rec.liq +26 -0
  844. package/tests/liquidsoap/tests/language/record.liq +277 -0
  845. package/tests/liquidsoap/tests/language/ref.liq +37 -0
  846. package/tests/liquidsoap/tests/language/regexp.liq +41 -0
  847. package/tests/liquidsoap/tests/language/socket.liq +45 -0
  848. package/tests/liquidsoap/tests/language/stdlib.liq +24 -0
  849. package/tests/liquidsoap/tests/language/string.liq +170 -0
  850. package/tests/liquidsoap/tests/language/test_cover.liq +8 -0
  851. package/tests/liquidsoap/tests/language/thread.liq +70 -0
  852. package/tests/liquidsoap/tests/language/time.liq +25 -0
  853. package/tests/liquidsoap/tests/language/type_errors.liq +399 -0
  854. package/tests/liquidsoap/tests/language/typing.liq +233 -0
  855. package/tests/liquidsoap/tests/language/url.liq +15 -0
  856. package/tests/liquidsoap/tests/language/write_cover.liq +9 -0
  857. package/tests/liquidsoap/tests/language/yaml.liq +36 -0
  858. package/tests/liquidsoap/tests/media/dune +253 -0
  859. package/tests/liquidsoap/tests/media/dune.inc +1805 -0
  860. package/tests/liquidsoap/tests/media/encoder_audio_only.liq.in +14 -0
  861. package/tests/liquidsoap/tests/media/encoder_audio_video.liq.in +16 -0
  862. package/tests/liquidsoap/tests/media/encoder_multitrack.liq.in +19 -0
  863. package/tests/liquidsoap/tests/media/encoder_video_only.liq.in +14 -0
  864. package/tests/liquidsoap/tests/media/ffmpeg_add_text.liq +88 -0
  865. package/tests/liquidsoap/tests/media/ffmpeg_audio_decoder.liq +45 -0
  866. package/tests/liquidsoap/tests/media/ffmpeg_complex_filter.liq +59 -0
  867. package/tests/liquidsoap/tests/media/ffmpeg_copy_and_encode_decoder.liq +76 -0
  868. package/tests/liquidsoap/tests/media/ffmpeg_copy_concat.liq +39 -0
  869. package/tests/liquidsoap/tests/media/ffmpeg_copy_decoder.liq +90 -0
  870. package/tests/liquidsoap/tests/media/ffmpeg_distributed_hls.liq +125 -0
  871. package/tests/liquidsoap/tests/media/ffmpeg_distributed_hls_state.json +112 -0
  872. package/tests/liquidsoap/tests/media/ffmpeg_drop_tracks.liq +119 -0
  873. package/tests/liquidsoap/tests/media/ffmpeg_filter.liq +105 -0
  874. package/tests/liquidsoap/tests/media/ffmpeg_filter_changing_rate.liq +117 -0
  875. package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode.liq +103 -0
  876. package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode_audio.liq +77 -0
  877. package/tests/liquidsoap/tests/media/ffmpeg_inline_encode_decode_video.liq +66 -0
  878. package/tests/liquidsoap/tests/media/ffmpeg_raw_and_copy_decoder.liq +92 -0
  879. package/tests/liquidsoap/tests/media/ffmpeg_raw_and_encode_decoder.liq +78 -0
  880. package/tests/liquidsoap/tests/media/ffmpeg_raw_decoder.liq +80 -0
  881. package/tests/liquidsoap/tests/media/ffmpeg_raw_hls.liq +115 -0
  882. package/tests/liquidsoap/tests/media/ffmpeg_transparency_filter.liq +91 -0
  883. package/tests/liquidsoap/tests/media/ffmpeg_video_decoder.liq +52 -0
  884. package/tests/liquidsoap/tests/media/gen_dune.ml +192 -0
  885. package/tests/liquidsoap/tests/media/mk_encoder_test.sh +8 -0
  886. package/tests/liquidsoap/tests/media/mk_stream_test.sh +11 -0
  887. package/tests/liquidsoap/tests/media/mono.liq +45 -0
  888. package/tests/liquidsoap/tests/media/multitrack.liq +113 -0
  889. package/tests/liquidsoap/tests/media/pcm_f32_decode.liq +4 -0
  890. package/tests/liquidsoap/tests/media/pcm_s16_decode.liq +4 -0
  891. package/tests/liquidsoap/tests/media/stereo.liq +45 -0
  892. package/tests/liquidsoap/tests/media/stream_audio.liq.in +49 -0
  893. package/tests/liquidsoap/tests/media/stream_video.liq.in +49 -0
  894. package/tests/liquidsoap/tests/media/taglib.liq +11 -0
  895. package/tests/liquidsoap/tests/media/video_size.liq +54 -0
  896. package/tests/liquidsoap/tests/performance/dune +31 -0
  897. package/tests/liquidsoap/tests/performance/erathostenes.liq +27 -0
  898. package/tests/liquidsoap/tests/performance/gen_bigrecord.ml +69 -0
  899. package/tests/liquidsoap/tests/performance/memory.liq +6 -0
  900. package/tests/liquidsoap/tests/performance/performance.liq +12 -0
  901. package/tests/liquidsoap/tests/performance/small-record.liq +43 -0
  902. package/tests/liquidsoap/tests/regression/115-1.liq +11 -0
  903. package/tests/liquidsoap/tests/regression/115-2.liq +6 -0
  904. package/tests/liquidsoap/tests/regression/AC5109.liq +26 -0
  905. package/tests/liquidsoap/tests/regression/BUG403.liq +29 -0
  906. package/tests/liquidsoap/tests/regression/GH-action-919422659.liq +17 -0
  907. package/tests/liquidsoap/tests/regression/GH1129.liq +57 -0
  908. package/tests/liquidsoap/tests/regression/GH1146.liq +15 -0
  909. package/tests/liquidsoap/tests/regression/GH1151.liq +16 -0
  910. package/tests/liquidsoap/tests/regression/GH1159.liq +13 -0
  911. package/tests/liquidsoap/tests/regression/GH1279.liq +44 -0
  912. package/tests/liquidsoap/tests/regression/GH1327.liq +61 -0
  913. package/tests/liquidsoap/tests/regression/GH2573.output +7 -0
  914. package/tests/liquidsoap/tests/regression/GH2585.liq +29 -0
  915. package/tests/liquidsoap/tests/regression/GH2602.liq +18 -0
  916. package/tests/liquidsoap/tests/regression/GH2756-2.liq +81 -0
  917. package/tests/liquidsoap/tests/regression/GH2756.liq +90 -0
  918. package/tests/liquidsoap/tests/regression/GH2758.liq +11 -0
  919. package/tests/liquidsoap/tests/regression/GH2842.liq +26 -0
  920. package/tests/liquidsoap/tests/regression/GH2850.liq +74 -0
  921. package/tests/liquidsoap/tests/regression/GH2867.liq +6 -0
  922. package/tests/liquidsoap/tests/regression/GH2871.liq +21 -0
  923. package/tests/liquidsoap/tests/regression/GH2872.liq +21 -0
  924. package/tests/liquidsoap/tests/regression/GH2897.liq +24 -0
  925. package/tests/liquidsoap/tests/regression/GH2902.liq +39 -0
  926. package/tests/liquidsoap/tests/regression/GH2926.liq +17 -0
  927. package/tests/liquidsoap/tests/regression/GH3093.liq +10 -0
  928. package/tests/liquidsoap/tests/regression/GH3121.liq +16 -0
  929. package/tests/liquidsoap/tests/regression/GH3132.liq +11 -0
  930. package/tests/liquidsoap/tests/regression/GH3224.liq +6 -0
  931. package/tests/liquidsoap/tests/regression/GH3239-2.liq +17 -0
  932. package/tests/liquidsoap/tests/regression/GH3239.liq +16 -0
  933. package/tests/liquidsoap/tests/regression/GH3276.liq +23 -0
  934. package/tests/liquidsoap/tests/regression/GH3316.liq +37 -0
  935. package/tests/liquidsoap/tests/regression/LS268.liq +9 -0
  936. package/tests/liquidsoap/tests/regression/LS354-1.liq +7 -0
  937. package/tests/liquidsoap/tests/regression/LS354-2.liq +15 -0
  938. package/tests/liquidsoap/tests/regression/LS460.liq +16 -0
  939. package/tests/liquidsoap/tests/regression/LS503.liq +20 -0
  940. package/tests/liquidsoap/tests/regression/default_format.liq +3 -0
  941. package/tests/liquidsoap/tests/regression/dune +39 -0
  942. package/tests/liquidsoap/tests/regression/dune.inc +685 -0
  943. package/tests/liquidsoap/tests/regression/external-encoder.liq +6 -0
  944. package/tests/liquidsoap/tests/regression/ffmpeg-copy-encode.liq +31 -0
  945. package/tests/liquidsoap/tests/regression/ffmpeg-copy-input-http.liq +8 -0
  946. package/tests/liquidsoap/tests/regression/ffmpeg-naming-convention.liq +66 -0
  947. package/tests/liquidsoap/tests/regression/gen_dune.ml +47 -0
  948. package/tests/liquidsoap/tests/regression/infallible-shutdown.liq +5 -0
  949. package/tests/liquidsoap/tests/regression/init-error.liq +9 -0
  950. package/tests/liquidsoap/tests/regression/initial_request_queue.liq +8 -0
  951. package/tests/liquidsoap/tests/regression/input_rtmp.liq +3 -0
  952. package/tests/liquidsoap/tests/regression/metadata_cache.liq +39 -0
  953. package/tests/liquidsoap/tests/regression/playlist-id.liq +21 -0
  954. package/tests/liquidsoap/tests/regression/replaygain.liq +5 -0
  955. package/tests/liquidsoap/tests/regression/shoutcast-args.liq +9 -0
  956. package/tests/liquidsoap/tests/regression/unified-pcm-types.liq +10 -0
  957. package/tests/liquidsoap/tests/regression/video-only.liq +7 -0
  958. package/tests/liquidsoap/tests/run_test.ml +97 -0
  959. package/tests/liquidsoap/tests/streams/195.liq +4 -0
  960. package/tests/liquidsoap/tests/streams/197.liq +23 -0
  961. package/tests/liquidsoap/tests/streams/autostart.liq +27 -0
  962. package/tests/liquidsoap/tests/streams/cross-override.liq +43 -0
  963. package/tests/liquidsoap/tests/streams/cross-persist-override.liq +43 -0
  964. package/tests/liquidsoap/tests/streams/cross.liq +44 -0
  965. package/tests/liquidsoap/tests/streams/crossfade.liq +41 -0
  966. package/tests/liquidsoap/tests/streams/ctype1.liq +13 -0
  967. package/tests/liquidsoap/tests/streams/ctype2.liq +21 -0
  968. package/tests/liquidsoap/tests/streams/dtmf.liq +23 -0
  969. package/tests/liquidsoap/tests/streams/dtmf_pcm_s16.liq +26 -0
  970. package/tests/liquidsoap/tests/streams/dune +298 -0
  971. package/tests/liquidsoap/tests/streams/dune.inc +1078 -0
  972. package/tests/liquidsoap/tests/streams/fades-overrides.liq +58 -0
  973. package/tests/liquidsoap/tests/streams/fades-persistent-override.liq +58 -0
  974. package/tests/liquidsoap/tests/streams/ffmpeg-errors.liq +16 -0
  975. package/tests/liquidsoap/tests/streams/ffmpeg-trim.liq +17 -0
  976. package/tests/liquidsoap/tests/streams/file_output.liq +14 -0
  977. package/tests/liquidsoap/tests/streams/gen_dune.ml +45 -0
  978. package/tests/liquidsoap/tests/streams/harbor_kick_client.liq +58 -0
  979. package/tests/liquidsoap/tests/streams/harbor_metadata.liq +53 -0
  980. package/tests/liquidsoap/tests/streams/hls_custom_tags.liq +89 -0
  981. package/tests/liquidsoap/tests/streams/hls_id3v2.liq +134 -0
  982. package/tests/liquidsoap/tests/streams/hls_main_playlist.liq +54 -0
  983. package/tests/liquidsoap/tests/streams/huge-playlist.liq +25 -0
  984. package/tests/liquidsoap/tests/streams/icecast_ssl.liq +25 -0
  985. package/tests/liquidsoap/tests/streams/icecast_ssl_tls.liq +32 -0
  986. package/tests/liquidsoap/tests/streams/icecast_tls.liq +30 -0
  987. package/tests/liquidsoap/tests/streams/icecast_tls_ssl.liq +32 -0
  988. package/tests/liquidsoap/tests/streams/image.liq +4 -0
  989. package/tests/liquidsoap/tests/streams/many-playlists.liq +28 -0
  990. package/tests/liquidsoap/tests/streams/merge_metadata.liq +69 -0
  991. package/tests/liquidsoap/tests/streams/never.liq +6 -0
  992. package/tests/liquidsoap/tests/streams/on_frame.liq +14 -0
  993. package/tests/liquidsoap/tests/streams/on_metadata.liq +22 -0
  994. package/tests/liquidsoap/tests/streams/on_track.liq +12 -0
  995. package/tests/liquidsoap/tests/streams/playlist-watch.liq +43 -0
  996. package/tests/liquidsoap/tests/streams/radio.liq +11 -0
  997. package/tests/liquidsoap/tests/streams/radio2.liq +20 -0
  998. package/tests/liquidsoap/tests/streams/random.liq +70 -0
  999. package/tests/liquidsoap/tests/streams/replaygain.liq +11 -0
  1000. package/tests/liquidsoap/tests/streams/request.liq +75 -0
  1001. package/tests/liquidsoap/tests/streams/rotate.liq +44 -0
  1002. package/tests/liquidsoap/tests/streams/say.liq +24 -0
  1003. package/tests/liquidsoap/tests/streams/seek_track_map.liq +23 -0
  1004. package/tests/liquidsoap/tests/streams/sharing.liq +17 -0
  1005. package/tests/liquidsoap/tests/streams/sine.detect.full_conv.liq +17 -0
  1006. package/tests/liquidsoap/tests/streams/sine.detect.liq +12 -0
  1007. package/tests/liquidsoap/tests/streams/sine.detect.pcm_f32.liq +14 -0
  1008. package/tests/liquidsoap/tests/streams/sine.detect.pcm_s16.liq +14 -0
  1009. package/tests/liquidsoap/tests/streams/smart-crossfade.liq +11 -0
  1010. package/tests/liquidsoap/tests/streams/srt_listen_callback.liq +24 -0
  1011. package/tests/liquidsoap/tests/streams/srt_multiple_outputs.liq +16 -0
  1012. package/tests/liquidsoap/tests/streams/srt_passphrase.liq +19 -0
  1013. package/tests/liquidsoap/tests/streams/srt_raw_pcm.liq +13 -0
  1014. package/tests/liquidsoap/tests/streams/stretch-clock-propagation.liq +13 -0
  1015. package/tests/liquidsoap/tests/test.liq +237 -0
  1016. package/tests/liquidsoap/tls-liquidsoap.opam +33 -0
  1017. package/tests/run.sh +18 -0
  1018. package/tsconfig.json +16 -0
@@ -0,0 +1,2300 @@
1
+ # 2.3.0 (unreleased)
2
+
3
+ New:
4
+
5
+ - Allow trailing commas in record definition (#3300).
6
+ - Add `metadata.getter.source.float` (#3356).
7
+ - Added optional `main_playlist_writer` to `output.file.hls` and
8
+ derivated operator (#3484)
9
+ - Added `is_nan`, `is_infinite`, `ceil`, `floor`, `sign` and `round` (#3407)
10
+ - Added `%track.drop` to the `%ffmpeg` encoder to allow partial encoding
11
+ of a source's available tracks (#3480)
12
+ - Added `let { foo? } = ...` pattern matching (#3481)
13
+
14
+ Changed:
15
+
16
+ - Mute SDL startup messages (#2913).
17
+ - `int` can optionally raises an error when passing `nan` or `infinity`, `int(infinity)`
18
+ now returns `max_int` and `int(-infinity)` returns `min_int`. (#3407)
19
+ - Changed internal metadata format to be immutable (#3297).
20
+ - Allow a getter for the offset of `on_offset` and dropped the metadata
21
+ mechanism for updating it (#3355).
22
+ - Disable output paging when `TERM` environment variable is not set.
23
+ - Allow running as `root` user inside `docker` container by default (#3406).
24
+
25
+ # 2.2.0 (2023-07-21)
26
+
27
+ New:
28
+
29
+ - Added support for less memory hungry audio formats, namely
30
+ `pcm_s16` and `pcm_f32` (#3008)
31
+ - Added support for native osc library (#2426, #2480).
32
+ - SRT: added support for passphrase, pbkeylen, streamid,
33
+ added native type for srt sockets with methods, moved stats
34
+ to socket methods, added `socket()` method on srt input/outputs
35
+ (#2556)
36
+ - HLS: Added support for ID3 in-stream metadat (#3154) and
37
+ custom tags (#2898).
38
+ - Added support for FLAC metadata (#2952)
39
+ - Added support for YAML parsing and rendering (#2855)
40
+ - Added support for the proprietary shared stereotool library (#2953)
41
+ - Added TLS support via `ocaml-tls` (#3074)
42
+ - Added `video.align`.
43
+ - Added `string.index`.
44
+ - Added support for ffmpeg decoder parameters to allow decoding of
45
+ raw PCM stream and file (#3066)
46
+ - Added support for unit interactive variables: those call a handler when their
47
+ value is set.
48
+ - Added support for id3v2 `v2.2.0` frames and pictures.
49
+ - Added `track.audio.defer` to be used to buffer large amount of audio data (#3136)
50
+ - Added `runtime.locale.force` to force the system's locale (#3231)
51
+ - Added support for customizable, optimized `jemalloc` memory allocator (#3170)
52
+ - Added `source.drop` to animate a source as fast as possible..
53
+ - Added in house replaygain computation:
54
+ - `source.replaygain.compute` to compute replaygain of a source
55
+ - `file.replaygain` to compute the replaygain of a file
56
+ - Added support for ImageLib to decode images.
57
+ - Added support for completion in emacs based on company (#2652).
58
+ - Added syntactic sugar for record spread: `let {foo, gni, ..y} = x`
59
+ and `y = { foo = 123, gni = "aabb", ...x}` (#2737)
60
+ - Added `file.{copy, move}` (#2771)
61
+ - Detect functions defining multiple arguments with the same label (#2823).
62
+ - Added `null.map`.
63
+ - References of type `'a` are now objects of type `(()->'a).{set : ('a) -> unit}`. This means that you should use `x()` instead of `!x` in order to get
64
+ the value of a reference. Setting a reference can be done both by `x.set(v)`
65
+ and `x := v`, which is still supported as a notation (#2881).
66
+ - Added `ref.make` and `ref.map`.
67
+ - Added `video.board`, `video.graph`, `video.info` (#2886).
68
+ - Added the `pico2wave` protocol in order to perform speech synthesis using
69
+ [Pico TTS](https://github.com/naggety/picotts) (#2934).
70
+ - Added `settings.protocol.gtts.lang` to be able to select `gtts`' language,
71
+ added `settings.protocol.gtts.options` to be able to add any other option (#3182)
72
+ - Added `settings.protocol.pico2wave.lang` to be able to select `pico2wav` language (#3182)
73
+ - Added `"metadata_url"` to the default list of exported metadata (#2946)
74
+ - Added log colors!
75
+ - Added `list.filter_map` and `list.flatten`.
76
+ - Added `medialib` in order to store metadata of files in a folder and query
77
+ them (#3115).
78
+ - Added `--unsafe` option (#3113). This makes the startup much faster but
79
+ disables some guarantees (and might even make the script crash...).
80
+ - Added `string.split.first` (#3146).
81
+ - Added `string.getter.single` (#3125).
82
+
83
+ Changed:
84
+
85
+ - Switched to `dune` for building the binary and libraries.
86
+ - Changed `cry` to be a required dependency.
87
+ - Changed default character encoding in `output.harbor`, `output.icecast`
88
+ `output.shoutcast` to `UTF-8` (#2704)
89
+ - BREAKING: all `timeout` settings and parameters are now `float` values
90
+ and in seconds (#2809)
91
+ - BREAKING: in `output.{shoutcast,icecast}`:
92
+ - Old `icy_metadata` renamed to `send_icy_metadata` and changed to a nullable `bool`. `null` means guess.
93
+ - New `icy_metadata` now returns a list of metadata to send with ICY updates.
94
+ - Added `icy_song` argument to generate default `"song"` metadata for ICY updates. Defaults
95
+ to `<artist> - <title>` when available, otherwise `artist` or `title` if available, otherwise
96
+ `null`, meaning don't add the metadata.
97
+ - Cleanup, removed parameters that were irrelevant to each operator, i.e. `icy_id` in `output.icecast` and etc.
98
+ - Make `mount` mandatory and `name` nullable. Use `mount` as `name` when `name` is `null`.
99
+ - `reopen_on_error` and `reopen_on_metadata` in `output.file` and related operators are now callbacks to
100
+ allow dynamic handling.
101
+ - Added `reopen` method to `output.file`.
102
+ - Added support for a Javascript build an interpreter.
103
+ - Removed support for `%define` variables, superseded by support for actual
104
+ variables in encoders.
105
+ - Cancel pending append when skipping current track on `append` source.
106
+ - Errors now report proper stack trace via their `trace` method, making it
107
+ possible to programmatically point to file, line and character offsets
108
+ of each step in the error call trace (#2712)
109
+ - Reimplemented `harbor` http handler API to be more flexible. Added a new
110
+ node/express-like registration and middleware API (#2599).
111
+ - Switched default persistence for cross and fade-related overrides
112
+ to follow documented behavior. By default, `"liq_fade_out"`, `"liq_fade_skip"`,
113
+ `"liq_fade_in"`, `"liq_cross_duration"` and `"liq_fade_type"` now all reset on
114
+ new tracks. Use `persist_overrides` to revert to previous behavior
115
+ (`persist_override` for `cross`/`crossfade`) (#2488).
116
+ - Allow running as root by default when docker container can be detected using
117
+ the presence of a `/.dockerenv` file.
118
+ - `id3v2` argument of `%mp3` encoder changed to `"none"` or version number to allow
119
+ to choose the metadata version. `true` is still accepted and defaults to version
120
+ `3`. Switched to our internal implementation so that it does not require `taglib`
121
+ anymore.
122
+ - Moved HLS outputs stream info as optional methods on their respective encoder.
123
+ - Changed `self_sync` in `input.ffmpeg` to be a boolean getter, changed `self_sync`
124
+ in `input.http` to be a nullable boolean getter. Set `self_sync` to `true` in
125
+ `input.http` when an icecast or shoutcast server can be detected.
126
+ - Add `sorted` option to `file.ls`.
127
+ - Add `buffer_length` method to `input.external.rawaudio` and
128
+ `input.external.wav` (#2612).
129
+ - Added full `OCaml` backtrace as `trace` to runtime errors returned from OCaml code.
130
+ - Removed confusing `let json.stringify` in favor of `json.stringify()`.
131
+ - Font, font size and colors are now getters for text operators (`video.text`,
132
+ `video.add_text`, etc.) (#2623).
133
+ - Add `on_cycle` option to `video.add_text` to register a handler when cycling
134
+ (#2621).
135
+ - Renamed `{get,set}env` into `environment.{get,set}`
136
+ - Renamed `add_decoder`, `add_oblivious_decoder` and `add_metadata_resolver`
137
+ into, respectively, `decoder.add`, `decoder.oblivious.add`, `decoder.metadata.add`
138
+ - Deprecated `get_mime`, added `file.mime.libmagic` and `file.mime.cli`, made
139
+ `file.mime` try `file.mime.libmagic` if present and `file.mime.cli` otherwise,
140
+ changed eturned value when no mime was found to `null()`.
141
+ - Return a nullable float in `request.duration`.
142
+ - Removed `--list-plugins-json` and `--list-plugins-xml` options.
143
+ - Added `--list-functions-json` option.
144
+ - Removed built-in use of `strftime` conversions in output filenames, replaced
145
+ by an explicit call to `time.string` (#2593)
146
+ - Added nullable default to `{int,float,bool}_of_string` conversion functions, raise
147
+ an exception if conversion fails and no default is given.
148
+ - Deprecated `string_of` in favor of `string` (#2700).
149
+ - Deprecated `string_of_float` in favor of `string.float` (#2700).
150
+ - Added `settings.protocol.youtube_dl.timeout` to specify timeout when using
151
+ `youtube-dl` protocol (#2827). Use `yt-dlp` as default binary for the
152
+ protocol.
153
+ - The `sleeper` operator is now scripted (#2899).
154
+ - Reworked remote request file extension resolution (#2947)
155
+ - REMOVED `osx-secure-transport`. Doubt it was ever used, API deprecated
156
+ upstream (#3067)
157
+ - Renamed `rectangle` to `add_rectangle`, and similarly for `line`.
158
+
159
+ Fixed:
160
+
161
+ - The randomization function `list.shuffle` used in `playlist` was incorrect and
162
+ could lead to incorrectly randomized playlists (#2507, #2500).
163
+ - Fixed srt output in listener mode to allow more than one listener at a time and
164
+ prevent listening socket from being re-created on listener disconnection (#2556)
165
+ - Fixed race condition when switching `input.ffmpeg`-based urls (#2956)
166
+ - Fixed deadlock in `%external` encoder (#3029)
167
+ - Fixed crash in encoders due to concurrent access (#3064)
168
+ - Fixed long-term connection issues with SSL (#3067)
169
+
170
+ ---
171
+
172
+ # 2.1.4 (2022-03-01)
173
+
174
+ New:
175
+
176
+ - Added `buffer_length` method to `buffer` operator.
177
+ - Always display error backtrace when a fatal exception
178
+ is raised in the streaming loop.
179
+ - Added `umask()` to get the current `umask` and `umask.set(...)`
180
+ to set the current `umask` (#2840)
181
+
182
+ Changed:
183
+
184
+ - Add break when restarting the external process in `input.external.{rawaudio,rawvideo}`
185
+ (#2860, #2872)
186
+ - Removed `disconnect` method on `input.harbor`. This method was doing the same as
187
+ the `stop` method. Added `shutdown` method to properly shutdown the
188
+ source even when not connected to an output.
189
+ - Made process a string getter in `input.external.{rawaudio,rawvideo}` (#2877)
190
+
191
+ Fixed:
192
+
193
+ - Fixed parameter type for `stats_interval` in SRT I/O.
194
+ - Fixed type generalization on variable and pattern bindings
195
+ (#2782)
196
+ - Fixed memory leak in http requests (#2935)
197
+ - Make sure that exception raised in `request.dynamic` never crash
198
+ the process (#2897)
199
+ - Fixed `filename` getter being called multiple time in
200
+ `output.file` (#2842)
201
+ - Fixed default directory permissions in `output.*.hls`
202
+ operators (#2930)
203
+ - Space trim in interactive variables set on telnet (#2785)
204
+ - Fixed internal streaming logic in `max_duration` and `crossfade`.
205
+ - Make sure that there's at most one metadata at any given
206
+ frame position (#2786)
207
+ - Fixed `metadata.json.parse` always returns an empty list (#2816).
208
+ - Fixed `icy_id` being ignored in `output.shoutcast` (#2819)
209
+ - Fixed shutdown livelock with some ffmpeg inline encoder,
210
+ decoder and filter operators.
211
+ - Fixed input polling stop (#2769)
212
+ - Fixed parsed error report in `%include` directives (#2775)
213
+ - Fixed crash in external processes when received a `Unix.EINTR`
214
+ event (#2861)
215
+ - Fixed crash in `string.interpolate` (#2883)
216
+ - Cleaned up srt support.
217
+
218
+ ---
219
+
220
+ # 2.1.3 (2022-11-04)
221
+
222
+ New:
223
+
224
+ - Added `time.string`.
225
+ - Added `error.on_error` to report any error raised during the
226
+ script's execution. Enhanced reported error positions (#2712)
227
+ - Added `device_id` and `latency` options to `input.portaudio`
228
+ and `output.portaudio` to be able to choose the requested
229
+ device. Use `liquidsoap --list-portaudio-devices` to see the
230
+ list of devices (#2733)
231
+ - Added `disconnect` method to `input.harbor`, making it possible
232
+ to disconnect a source client programmatically, including when
233
+ a new client is trying to connect.
234
+
235
+ Changed:
236
+
237
+ - Send data in-memory in `http.{post,put}.file` when input data
238
+ is already in memory. This allows to use plain `Content-Length`
239
+ instead of `chunked` transfer encoding in these case, though
240
+ `libcurl` seems to always prefer `chunked` encoding for `put`
241
+ requests.
242
+ - Better error message when an encoder is not available on windows
243
+ (#2665)
244
+ - Create output directory in HLS outputs when it does not exist
245
+ using newly introduced `perms` permission argument (#2725)
246
+ - Removed `restart_on_error` argument on `output.url` and added
247
+ `restart_delay` which implements a delayed restart. Added
248
+ `on_error` argument to be notified of errors (#2731)
249
+ - Changed default `encoding` parameter in `string.{quote, escape}`
250
+ to be `null`. Fallback to `"ascii"` encoding when no encoding is
251
+ specified and `"utf8"` fails. This prevents unexpected script
252
+ failures but might not be backward-compatible if you used a
253
+ custom `escape_char` or `special_char` function (#2738)
254
+
255
+ Fixed:
256
+
257
+ - Enhanced methods typing support (#2659)
258
+ - Add support for `song` metadata (mapped to `title`) and `url` (mapped to
259
+ `metadata_url`) in `input.harbor` (#2676)
260
+ - Fixed `blank.*` operator types.
261
+ - Fixed request metadata escaping (#2732)
262
+ - Fixed `input.external.rawadudio` mono input (#2742)
263
+ - Fixed `http` response body on redirect (#2758)
264
+
265
+ ---
266
+
267
+ # 2.1.2 (2022-09-26)
268
+
269
+ New:
270
+
271
+ - Added `string.char`, `string.getter.flush` and `string.getter.concat`.
272
+ - Added `http.multipart_form_data` and `http.{post,put}.file`.
273
+
274
+ Changed:
275
+
276
+ - Allow sub-second values in `sleep()` (#2610)
277
+ - Allowed many new format for `taglib` (#2605)
278
+ - Add `settings.ffmpeg.content.copy.relaxed_compatibility_check.set` settings to allow relaxed
279
+ compatibility check for ffmpeg copy content, making it possible to encode
280
+ streams with various audio samplerate or video size when the container
281
+ supports it.
282
+
283
+ Fixed:
284
+
285
+ - Stop error loop when opening a listening ssl socket with non-existent certificate. (#2590)
286
+ - Youtube HLS upload for live streams.
287
+ - Fixed `data:...` uri scheme to conform to RFC 2397 (#2491)
288
+ - Fixed multiple issues related to empty `ogg/opus` metadata (#2605)
289
+ - Ensure that `video.add_text` fails when the source does (#2609)
290
+ - Fixed metadata parsing in `server.insert_metadata` (#2619)
291
+ - Fixed `extract_replaygain` path (#2624, @parnikkapore)
292
+ - Fixed crash when terminating the process (#2585)
293
+ - Fixed channels conversion when using `input.rawaudio` (#2602)
294
+
295
+ Internal Change:
296
+
297
+ - `ref()` implementation switched to OCaml's `Atomic` to prevent race conditions,
298
+ `thread.mutexify` and `mutexify` functions removed. (#2603)
299
+
300
+ ---
301
+
302
+ # 2.1.1 (2022-08-28)
303
+
304
+ New:
305
+
306
+ - Added `process.quote.command` to generate complex quoted command strings suitable
307
+ for use with `process.run` and os-independent.
308
+
309
+ Changed:
310
+
311
+ - Renamed `playlist.remaining` into `playlist.remaining_files` (#2524)
312
+ - Added `id` argument to `replaygain` operator (#2537).
313
+ - Made `ocurl` dependency required, added `uri` as required dependency (#2551)
314
+
315
+ Fixed:
316
+
317
+ - Fixed missing ffmpeg features on windows build.
318
+ - Fixed sync issues with `ffmpeg.encode.*` inline encoders (#2584)
319
+ - Fixed `http.get` issues when `user-agent` was not set (#2517)
320
+ - Fixed order of `playlist.next` returned requests.
321
+ - Fixed infinite loop when reloading a failed playlist (#2576)
322
+ - Fixed http requests with urls containing spaces (#2551)
323
+ - Fixed `on_connect` type for `srt` inputs and outputs.
324
+ - Fixed parsing issues with functions/variables definitions
325
+ beginning with `rec` or `replaces` (#2560)
326
+ - Fixed infinite parse error loop (#2527)
327
+ - Fixed empty initial `mp4` HLS segment.
328
+ - Prevent initial start for autostart and fallible sources.
329
+
330
+ ---
331
+
332
+ # 2.1.0 (2022-07-15)
333
+
334
+ New:
335
+
336
+ - Added support for variables in encoders (#1858)
337
+ - Added support for regular expressions (#1881)
338
+ - Added generalized support for value extraction patterns (#1970)
339
+ - Added support for string getter for `http.{post,put}` operations (#1984)
340
+ - Added `output.youtube.live.hls`
341
+ - Rewrote out internal JSON parser/renderer (#2011). **Breaking change** values
342
+ that cannot be represented as `JSON` will now raise `error.json` when
343
+ converted to `JSON`. `infinite` and `nan` floats can be exported using the
344
+ `json5` export format.
345
+ - Added socket API (#2014).
346
+ - Added support for ffmpeg bitstream filters (#2387)
347
+ - Added `liquidsoap.version.at_least`.
348
+ - Added `video.rectangle`, `video.persistence`.
349
+ - Added `video.vumeter`.
350
+ - Added `video.slideshow`.
351
+ - Added `video.add_text.camlimages` (#2202).
352
+ - Added `video.text.*` and re-implemented `video.add_text.*` from those (#2226).
353
+ - Added `irc.channel` operator to retrieve the contents of an IRC channel
354
+ (#2210).
355
+ - Added new in-house parsing of metadata for some image and video formats
356
+ (#2236).
357
+ - Added `file.download`
358
+ - Added new options for `%ffmpeg` copy encoder: `ignore_keyframes`
359
+ and `wait_for_keyframe` (#2382)
360
+
361
+ Changed:
362
+
363
+ - Removed support for partial application, which should avoid some type errors,
364
+ improve performance and simplifies the code related to the reduction (#2204).
365
+ - Video dimensions (width and height) can now be specified per stream in the
366
+ type and are then used instead of the default ones. For instance, you can now
367
+ write
368
+ ```
369
+ s = (single("file.mp4") : source(video(width=300,height=200)))
370
+ ```
371
+ in order to force the decoding of a file to be performed at the 300×200
372
+ resolution (#2212).
373
+ - Video images are now _canvas_, which means that they do not directly contain
374
+ the images, but are constituted of multiple images placed at various
375
+ positions. This should make much more efficient operations such as making
376
+ videos from multiple ones, adding a logo, etc. (#2207)
377
+ - `output.youtube.live` renamed `output.youtube.live.rtmp`, remove `bitrate` and
378
+ `quality` arguments and added a single encoder argument to allow stream copy
379
+ and more.
380
+ - `source.on_metadata` and `source.on_track` now return a source as this was the
381
+ case in previous versions, and associated handlers are triggered only when the
382
+ returned source is pulled (#2103).
383
+ - Made `streams_info` parameter of `output.file.hls` a record (#2173).
384
+ - Disable scrolling by default in `video.add_text`. You can re-enable it by
385
+ using `video.add_text(speed=70, ...)`.
386
+ - Added "example" sections to operators documentation, we now need to populate
387
+ those (#2227).
388
+ - Default implementation of `video.testsrc` is now builtin, previous
389
+ implementation can be found under `video.testsrc.ffmpeg`.
390
+ - Images can now generate blank audio if needed, no need to add
391
+ `mux_audio(audio=blank(),image)` anymore (#2230).
392
+ - Removed deprecated `timeout` argument in `http.*` operators.
393
+ - Deprecated `request.ready` in favor of `request.resolved`.
394
+
395
+ Fixed:
396
+
397
+ - Fixed typo in `status` command of the `mix` operator.
398
+ - Fixed performances issues with `input.ffmpeg` and `input.http` (#2475)
399
+ - Fixed `list.shuffle` which was used to randomize playlists in `playlist`
400
+ operator (#2507, #2500).
401
+
402
+ ---
403
+
404
+ # 2.0.7 (2022-07-15)
405
+
406
+ Fixed:
407
+
408
+ - Fixed memory leaks with opus bindings.
409
+ - Make sure decoding buffer and samplerate converter are only created once. (#2475)
410
+ - Make sure first metadata is always sent in icecast/shoutcast output (#2506)
411
+
412
+ ---
413
+
414
+ # 2.0.6 (2022-06-20)
415
+
416
+ New:
417
+
418
+ - Added `video/mp4` to list of recognized mime types for request resolutions.
419
+
420
+ Changed:
421
+
422
+ - Log errors when using `process.read` (##2420, @martinkirch)
423
+
424
+ Fixed:
425
+
426
+ - Memory leak when executing `process.run` (#2424)
427
+ - Delay harbor server endpoint registration until application has started (#1589)
428
+ - Print user-readable encoder parameter error report.
429
+ - Fixed m3u metadata parsing when artist has a comma in their name (#2449)
430
+ - Cleanup failed request in `playlist` operator.
431
+ - Make sure requests are always cleaned up, making `request.destroy` calls
432
+ optionals.
433
+
434
+ # 2.0.5 (24-05-2022)
435
+
436
+ New:
437
+
438
+ - Extended m3u EXTINF parser to support empty duration and annotations.
439
+
440
+ Changed:
441
+
442
+ - Brought back `mix` operator (#2401)
443
+
444
+ Fixed:
445
+
446
+ - Allow crossfade duration override of `0.`
447
+ - Buffer synchronization issues.
448
+ - Drop methods from ffmpeg filter input source
449
+ types to avoid unnecessary conflicts.
450
+ - Fix evaluation of abstract values with methods.
451
+ - Prevent some sources from being consumed when not active,
452
+ namely ffmpeg inline encoders, `soundtouch`, `resample` and all
453
+ the muxing operators.
454
+ - Raise runtime exceptions in `string.replace` failures with
455
+ useful message. (#2408)
456
+ - Prevent `request.dynamic` from raising exceptions when checking
457
+ if the source is ready (#2381)
458
+
459
+ ---
460
+
461
+ # 2.0.4 (23-04-2022)
462
+
463
+ New:
464
+
465
+ - Added `settings.video.add_text` to enforce consistent choice of
466
+ `video.add_text` implementation (#2302)
467
+
468
+ Changed:
469
+
470
+ - Make sure source shutdown can only be called on sources that
471
+ can actually be shutdown:
472
+ - Remove generic `source.shutdown`
473
+ - Keep `s.shutdown()` method only on sources that are active.
474
+ Refs: #2259
475
+ - Optimized memory usage when accessing frame content (#2266)
476
+ - Optimized memory usage when accessing ground terms.
477
+ - Allow crossfade duration getter to override duration at the
478
+ end of each track if duration isn't set via metadata.
479
+ - Make sure crossfade metadata are not duplicated (#2153)
480
+ - Renamed `map_metadata` into `metadata.map`, deprecated `map_metadata`.
481
+ - Deprecatdd `list.mem_assoc`
482
+ - Enhanced remaining time when using `add` (#2255)
483
+ - Added `timeout_ms` to `http.*` to provide time in milliseconds, deprecated
484
+ `timeout` argument.
485
+ - Connect `output.icecast` when data is available instead of when
486
+ operator starts to avoid useless connections when underlying source
487
+ fails immediately.
488
+
489
+ Fixed:
490
+
491
+ - Prevent infinite loops when crossfade duration is negative (#2287)
492
+ - Prevent mutex deadlock when recursively locking mutexes (#2274)
493
+ - Mark method `add()` as internal in `request.queue`, fix method `length()` (#2274)
494
+ - Fixed `retry_delay` being ignored in some cases in `request.dynamic`.
495
+ - Prevent race condition in external process handler.
496
+ - Fixed A/V sync when streaming encoded data via ffmpeg encoder (#2159)
497
+ - Prevent stopped/iddle sources from being restarted when resetting
498
+ `clock(s)` after too much latency (#2278)
499
+ - Fixed registration of `video.add_text.ffmpeg` as possible implementation
500
+ for `video.add_text` (#2302)
501
+ - Fixed `http.*` calls preventing liquidsoap from shutting down.
502
+ - Fixed `http` protocol not returning an error when timing out (#2242)
503
+ - Reworked ffmpeg filters feeding mechanism.
504
+ - Fixed inconsistencies in `playlist.parser` (#2257)
505
+ - Fixed inconsistent reselect in `rotate` (#2300)
506
+ - Fixed special characters escaping in `video.add_text.ffmpeg` (#2324)
507
+ - Fixed `input.rawaudio` and `input.rawvideo` when handling non-stereo
508
+ content.
509
+
510
+ # 2.0.3 (11-02-2022)
511
+
512
+ New:
513
+
514
+ - Added support for memory debugging using `memtrace`
515
+ - Added `time.{zone,zone.set,make}` (#2178)
516
+ - Added `runtime.gc` module, rename `garbage_collect` as `runtime.gc.full_major`
517
+ with deprecated compatibility wrapper, added `runtime.gc.stat`,
518
+ `runtime.gc.quick_stat`, `runtine.gc.print_stat` and `runtime.gc.{get,set}`.
519
+ - Added `runtime.sys.word_size`
520
+ - Added optional support for `runtime.mem_usage`
521
+ - Added `runtime.memory` wrapper to get info about the system and process'
522
+ memory usage.
523
+ - Added `configure.camomile_dir` to export expected location of camomile
524
+ directory when packaging liquidsoap.
525
+ - Added `liquidsoap.chroot.make` to copy all files required for a liquidsoap
526
+ install.
527
+
528
+ Changed:
529
+
530
+ - Bumped `input.harbor` default buffer to `12.` to make it possible
531
+ to use it with `crossfade` transitions without changing default
532
+ values (#2156)
533
+ - `year` method as returned in `time.local` and `time.utc` now
534
+ returns the actual year instead of years since 1900 (#2178)
535
+ - `mday`, `mon`, `wday` and `yday` methods as returned in `time.local`
536
+ and `time.utc` have been renamed to, resp., `day`, `month`, `week_day`
537
+ and `year_day` (#2178)
538
+ - `month` method as returned in `time.local` and `time.utc` now
539
+ returns the month as a number between `1` and `12` (#2178)
540
+ - `week_day` method as returned in `time.local` and `time.utc` now
541
+ returns the week day as a number between `1` and `7` (#2178)
542
+ - `year_day` method as returned in `time.local` and `time.utc` now
543
+ returns the week day as a number between `1` and `366` (#2178)
544
+ - Added option to choose if `input.rtmp` should behave as
545
+ a server or a client (#2197)
546
+ - Allow dynamic text change in `video.add_text.ffmpeg` (#2189)
547
+ - Removed `thread_name` argument from `thread.on_error` callbacks.
548
+
549
+ Fixed:
550
+
551
+ - Make sure metadata are replayed when switching to a source for the
552
+ first time in switches/fallback (#2138)
553
+ - Bring back `video.add_text.sdl` (#2187)
554
+ - Fixed `thread.on_error` implementation (#2171)
555
+ - Fixed `ffmpeg` video scaling to make sure it always is proportional (#2211)
556
+
557
+ # 2.0.2 (28-12-2021)
558
+
559
+ New:
560
+
561
+ - Show code excerpts on errors (#2086)
562
+ - Added `on_get_ready` callback to sources, to be
563
+ executed after a source's has initialized.
564
+ - Added `flush_and_skip` telnet command to `request.dynamic`
565
+ to empty the request's queue before skipping the current
566
+ track, forcing a full reload.
567
+ - Added `last_metadata` method on sources to return the
568
+ last metadata produced by the source.
569
+
570
+ Fixed:
571
+
572
+ - Fixed ffmpeg copy encoder crash when switching between
573
+ streams.
574
+ - Fixed unbound buffer in muxing operators (#2054)
575
+ - Return correct positions when parsing strings (#2095)
576
+ - Deadlock when shutting down with `input.rtmp` (#2089)
577
+ - Add timeout to srt operations (#2082)
578
+ - Fixed `request.queue` `queue` telnet command returning
579
+ nothing (#2088)
580
+ - Fixed single quotes being escaped in json stringify.
581
+ (#2120)
582
+ - Fixed frame caching issues when no initial break was
583
+ present in the memoized frame. (#2109. AzuraCast/AzuraCast#4825)
584
+ - Fixed `replay_metadata` not replaying metadata from active sources
585
+ (#2109)
586
+
587
+ # 2.0.1 (27-11-2021)
588
+
589
+ New:
590
+
591
+ - Added `time.predicate` to parse time predicates at runtime.
592
+ - Added support for ffmpeg filter commands, unify `video.add_text.ffmpeg`
593
+ with other operators, make it the default when available. (#2050)
594
+
595
+ Changed:
596
+
597
+ - Removed `encode_metadata` option in `input.file.hls` as it does nothing with
598
+ the main encoder for HLS format, `%ffmpeg` (#2023)
599
+ - Converted `output.icecast` optional parameters to `nullable`.
600
+
601
+ Fixes:
602
+
603
+ - Fixed switch-based sources not respecting track boundaries when
604
+ using default transitions one track only per selected source. (#1999)
605
+ - Fixed playlist annotation. (#2005)
606
+ - Raise a proper runtime exception when `string.escape` fails. (#2010)
607
+ - Account for internal caching in `request.dynamic.list`'s `queue` and
608
+ `set_queue` methods.
609
+ - Keep buffering for crossfade when new source has track mark but is still ready.
610
+ - Added missing output `start`/`stop` commands.
611
+ - Fixed `perms`, `dir_perms` and `append` not bring honored when delegating file
612
+ output to the encoder.
613
+ - Fixed base directory not being created when delegating file output to the
614
+ encoder (#2069).
615
+ - Use `process.quote` in process calls (#2031)
616
+
617
+ # 2.0.0 (03-10-2021)
618
+
619
+ New:
620
+
621
+ - Add support for errors with `error.*` and `try ... catch` (#1242).
622
+ - Add support for optional values with `null.*` (#1242).
623
+ - Add support for `x ? y : z` syntax (#1266).
624
+ - Added support for list spread and deconstruction syntax (#1269).
625
+ - Add support for generic JSON objects, map `(string, 'a)` lists to regular
626
+ lists, add support for json5 floats (`NaN`, `Infinity`), return `null` for
627
+ those otherwise, rename `json_of` into `json.stringify` and `of_json` into
628
+ `json.parse` with deprecation (#1824)
629
+ - Added support for video encoding and decoding using `ffmpeg` (#1038).
630
+ - Added support for hardware-accelerated video encoding using `ffmpeg` (#1380)
631
+ - Added support for ffmpeg filters (#1038).
632
+ - Added video support to `output.hls` (#1391).
633
+ - Added mp4 support to `output.hls` (#1391).
634
+ - Added `output.url` for encoders that support handling data output (currently
635
+ only `%ffmpeg`) (#1038).
636
+ - Added `output.file.dash.ffmpeg`.
637
+ - Added LV2 support (#906).
638
+ - Added `string.nth` (#970).
639
+ - Added `string.binary.to_int` (#970).
640
+ - Added `string.hex_of_int`.
641
+ - Added `file.ls` (#1011).
642
+ - Added native id3v2 tag parser, as well as associated function
643
+ `file.mp3.metadata`, `file.mp3.parse_apic` and `file.cover` (#987).
644
+ - Use a pager to display long help results (#1017).
645
+ - Added new functions for lists: `lists.exists`, `list.for_all`, `list.init`,
646
+ `list.ind`, `list.index`, `list.last`, `list.shuffle`.
647
+ - Added `request.id`.
648
+ - Added a profiler for the language. It can be enabled with `profiler.enable` and
649
+ the results are obtained with `profiler.stats.string` (#1027).
650
+ - Added `gtts` protocol to use Google TTS (#1034).
651
+ - Added `liquidsoap.executable` to get the path of the currently running
652
+ Liquidsoap.
653
+ - Added `source.dump`.
654
+ - Added `source.elapsed` and `source.duration`
655
+ - Added `synth` protocol (#1014).
656
+ - Added listener and caller mode for `input.srt` and `output.srt` (#1377)
657
+ - Added support for `srt.enforced_encryption` setting.
658
+ - Added support for prometheus reporting (#1000)
659
+ - Add `validate` parameter to `register`, which allows to validate a value
660
+ before setting it (#1046, @CyberDomovoy)
661
+ - Add `string.null_terminated` (#960).
662
+ - Removed `string.utf8.escape` in favor or a unifited, utf8-aware `string.escape`.
663
+ - Add `string.unescape`.
664
+ - Add `file.metadata` (#1058).
665
+ - Add `predicate.activates`, `predicate.changes`, `predicate.first`,
666
+ `predicate.once`, `predicate.signal` (#1075).
667
+ - Add `playlist.list.reloadable` and `playlist.list` (#1133).
668
+ - Make it possible to disable buffer overrun logs.
669
+ - Add `accelerate` operator (#1144).
670
+ - Add `video.resize`.
671
+ - Add `getter.int_of_float` and `getter.float_of_int`.
672
+ - Add `source.dump` (#1036).
673
+ - Add `stereo` and `synth` protocols (#1036).
674
+ - Add `video.add_text.ffmpeg`.
675
+ - Added support for `file:///path/to/file` and `file:/path/to/file`protocols.
676
+ - Added configure option to specify internal library install path (#1211).
677
+ - Add support for records and methods (#1197).
678
+ - Rename `unsafe.single.infallible` to `single.infallible`.
679
+ - Add `list.indexed`.
680
+ - Added optional support for high-resolution time and latency control on POSIX
681
+ systems (#1050).
682
+ - Added syntax for `for` and `while` loops (#1252).
683
+ - Added a bunch of source-related methods (#1379).
684
+ - Added `min` and `max` functions.
685
+ - Added `lufs` to compute the LUFS loundness (#1497).
686
+ - Added `interactive.harbor` in order to expose interactive variables over
687
+ harbor (#1495).
688
+ - Added `interactive.persistent` (as well as `interactive.save` and
689
+ `interactive.load`) to make interactive variables persistent (#1495).
690
+ - Added `server.habor` (#1502).
691
+ - Added `metronome`.
692
+ - Added `playlist.files`.
693
+ - Added `getter.is_constant`.
694
+ - Added `assert`.
695
+ - Added `source.available`.
696
+ - Added `request.once`.
697
+ - Added `file.getter`.
698
+ - A better `normalize` function (with more reasonable parameters, more
699
+ customisable, and written in Liquidsoap) is now provided. The old one is
700
+ renamed `normalize.old`.
701
+ - New and better `compress` function. The previous one was renamed
702
+ `compress.old` (#868, #869).
703
+ - Added `stereo.width`.
704
+ - Added `file.mkdir`.
705
+ - Added support for harbor's connected address in auth function and as a method
706
+ (#1364).
707
+ - Added `time.up`.
708
+ - Added `video.cover`.
709
+ - Added `video.still_frame`.
710
+ - Added `request.status`.
711
+ - Added `playlog` to record how long ago a song was last played (#333 and #1530).
712
+ - Added `clock.log_delay` to configure how often clock catchup error messages
713
+ should be printed.
714
+ - Added `input.rtmp` (#1640).
715
+ - Added `%ifversion` and `%else` preprocessing commands (#1682).
716
+ - Added `dtmf` and `dtmf.detect` to generate and detect DTMF tones (#1796).
717
+ - Added `sine.detect` to detect sines (#1796).
718
+ - Added `on_air_timestamp` to request's metadata to get the request's `on_air` time
719
+ as a Unix timestamp (#1871)
720
+
721
+ Changed:
722
+
723
+ - Implemented per-frame clock synchronization mechanism, should allow for more
724
+ advanced flexibility when working with source synchronization while keeping
725
+ the default safe behavior. (#1012)
726
+ - Remove `active_source` type, make all output return `unit` type. (#1671)
727
+ - Switch to YUV420 as internal image format, much more efficient (#848).
728
+ - Use bigarrays for audio buffers (#950).
729
+ - Re-implemented switch-derived operators (`fallback`, `rotate`, `random`) as
730
+ scripted operators, removed `track_sensitive` argument from `rotate` and
731
+ `random` as it does not have a sound meaning for them.
732
+ - Added optional exit `code` to `shutdown`.
733
+ - Renamed `verb` argument info `method` in `output.icecast`.
734
+ - Simplified `add` behavior, also fixing an clock issue (#668).
735
+ - Switch to more efficient callback API for decoders (#979).
736
+ - Use system pagesize for buffer allocation (#915).
737
+ - Use new Strings module in order to avoid concatenations (#984).
738
+ - Native Liquidsoap implementation of list functions (#920).
739
+ - Added `fallible` option to `single` operator.
740
+ - Allow `input.ffmpeg` to control its own clock or delegate to CPU clock (#1628)
741
+ - Reimplement `input.http` using `ffmpeg`, deprecate `input.https` in favor
742
+ of unified `input.http` (#1628)
743
+ - Changed `input.http` and `input.ffmpeg` `url` parameter into a string getter
744
+ - Changed `request.queue` into a Liquidsoap implementation (#1013).
745
+ - Removed `request.equeue`, such a feature could be re-implemented in
746
+ Liquidsoap, see `request.queue`.
747
+ - The `playlist` operator is now fully implemented in Liquidsoap (#1015).
748
+ - Removed `playlist.once`, its behavior can be achieved by passing `"never"` to
749
+ the `reload_mode` argument of `playlist` (#1015).
750
+ - Removed `playlist.merged`: it is not that useful and can be achieved easily
751
+ with `merge_tracks` on a `playlist` (#1015).
752
+ - Deprecated `playlist.safe` (#1015).
753
+ - Renamed `add_timeout` to `thread.run.recurrent`, added `thread.run` variant,
754
+ renamed `exec_at` to `thread.when` and renamed `mutexify` to `thread.mutexify`
755
+ (#1019).
756
+ - Changed the weights of `add` to float (#1022).
757
+ - Renamed `which` to `file.which`.
758
+ - Change `blank()` duration semantics to mean forever only on negative values.
759
+ - Get rid of numbering of universal variables (#1037).
760
+ - Renamed `base64.decode`/`base64.encode` to
761
+ `string.base64.decode`/`string.base64.encode`.
762
+ - Vumeter is now implemented in Liquidsoap (#1103).
763
+ - Change `input.http` and `input.https` `url` parameter into a string getter
764
+ (#1084).
765
+ - Added `path.home.unrelate`.
766
+ - Use getters for arguments of `video.add_image` (#1176).
767
+ - Add `x`, `y`, `width` and `height` argument to `image`, unify with
768
+ `video.add_image`.
769
+ - Generalize `audio_to_stereo` to video frames and those without audio.
770
+ - Allow crossfading for video (#1132, #1135).
771
+ - Use getters for parameters of synthesizer sources (#1036).
772
+ - Renamed `empty` to `fail`.
773
+ - Restored `request.dynamic` (#1213).
774
+ - Requests are not typed anymore: their type is fixed at resolution time.
775
+ - Deprecated `request.create.raw`, you should use `request.create` instead.
776
+ - Reference setting and access are now handled as normal builtins instead of in
777
+ the kernel.
778
+ - Use records as return type of `http.*`, `https.*`, `rms`, `peak` and
779
+ `request.queue` (#1234).
780
+ - Indices of groups returned by `string.extract` are now integers instead of
781
+ strings (#1240).
782
+ - Generalize the `l[k]` notation so that the key `k` can be of any type (on
783
+ which we know how to compare).
784
+ - `ref` is not a keyword anymore: this means that `ref x` is not accepted
785
+ anymore, you need to write `ref(x)` (#1254).
786
+ - Renamed `file.unlink` to `file.remove`.
787
+ - Deprecated `get_process_output`, `get_process_lines`, `test_process` and
788
+ `system` in favor of `process.run`, `process.read`, `process.read.lines` and
789
+ `process.test`.
790
+ - Renamed `http_codes` to `http.codes` and put first member as integer.
791
+ - Renamed `http.response` to `http.response` and `http.response.stream` to
792
+ `http.response.stream`.
793
+ - `localtime` and `gmtime` now return a record.
794
+ - Deprecated `{eat,strip,skip,on}_blank` in favor of
795
+ `blank.{eat,strip,skip,detect}`.
796
+ - `http{,s}.{get,post,push}` now perform redirections if needed, which can be
797
+ disabled with the `redirect` parameter (#1319).
798
+ - Deprecated `gettimeofday` in favor or `time`, renamed `localtime` to
799
+ `time.local` and `gmtime` to `time.utc`, and the argument of these two
800
+ last functions is now optional (#1320).
801
+ - Dropped optional `gavl` video converter in favor of `ffmpeg`.
802
+ - Remove `persist` argument in `output.*.hls` and use nullable value for `persist_at`.
803
+ - Deprecated source server commands in favor or direct call to source
804
+ methods. Added wrappers for some of the old commands (#1379).
805
+ - Deprecated catch-all `input` and `output` in favor or setting your desired
806
+ input or output explicitly.
807
+ - Implement `interactive.*` on script side (#1493).
808
+ - `file.write` does not return a boolean anymore, exceptions are used for
809
+ exceptional cases (#1500).
810
+ - `source.dynamic` now takes a nullable argument.
811
+ - Renamed `on_end` to `source.on_end`.
812
+ - Changed the name of the arguments of `fallback.skip`.
813
+ - Normalize ReplayGain handling:
814
+ - we now use the standard `replaygain_track_gain` metadata
815
+ - renamed the protocol from `replay_gain` to `replaygain`
816
+ - added the `replaygain` operator to perform amplification
817
+ - `normalize` now handles all channels uniformly.
818
+ - First-order filter `filter.rc` now takes the cutoff frequency instead of the
819
+ time constant as argument.
820
+ - `file.watch` now returns unit with `unwatch` method.
821
+ - Changed the interface for `bpm`: the bpm can now be retrieved using a method
822
+ of the returned source instead of having a callback.
823
+ - Removed `server.read*` and `server.write*`.
824
+
825
+ Fixed:
826
+
827
+ - Set `cloexec` on all relevant Unix calls (#1192).
828
+ - Fix implementation of recursive functions (#934).
829
+ - Make `blank()` source unavailable past is expected duration (#668).
830
+ - Remove `video.add_text.gstreamer` shade in background (#1190).
831
+ - Improve the quality of `video.add_text.gd` (#1188).
832
+ - Exit with non-zero code on errors.
833
+ - Fixed parsing of http URI arguments with `=` in them (#1340).
834
+ - Fixed fade-out in crossfades when crossfade duration is the same as fade-out
835
+ duration (#1351).
836
+ - Fixed osc server not workin when daemonized (#1365).
837
+ - Fixed glitchy audio when using `input.harbor` (#1944)
838
+ - Fixed `"tracknumber"` and `"year"` returning `0` in taglib (#1901)
839
+
840
+ Removed:
841
+
842
+ - LiGuidsoap, the old Liquidsoap GUI. 🪦
843
+
844
+ # 1.4.4 (27-02-2021)
845
+
846
+ New:
847
+
848
+ - Added `process.quote` to quote process' arguments (#1215)
849
+
850
+ Changed:
851
+
852
+ - Fetch mime type using curl first when available.
853
+ - Make override metadata name case-sensitive in `amplify` (#1323)
854
+ - Harnessed playlist file resolver to better support some combination of
855
+ protocols and file resolution (#1362)
856
+
857
+ Fixed:
858
+
859
+ - Remote file resolution when passing URLs with spaces (#1410)
860
+ - Fixed empty `{http,https}` body (#1417)
861
+ - Fixed `input.harbor` shoutcast client connection (#1353)
862
+ - Fixed exception reporting when output fails to start (#1372)
863
+ - Fixed `random` track selection (#1468)
864
+ - Fixed playlist request leak when using `reload="watch"` with `inotify` on a
865
+ folder (#1451)
866
+ - Deadlock when LO server thread crashes (#1409)
867
+
868
+ # 1.4.3 (14-09-2020)
869
+
870
+ Fixed:
871
+
872
+ - Fixed exponential memory usage in clock unification algorithm (#1272).
873
+
874
+ # 1.4.2 (03-05-2020)
875
+
876
+ New:
877
+
878
+ - Added `retry_delay` argument to `request.dynamic` (#1169).
879
+ - Renamed `request.dynamic` to `request.dynamic.list` and updated its
880
+ callback function type to return an array of requests, making possible
881
+ to return multiple requests at once but, more importantly,
882
+ to return `[]` when no next requests are available. (#1169)
883
+
884
+ Changed:
885
+
886
+ - Set `audio/flac` as mime for flac (#1143).
887
+ - Deprecated `request.dynamic`.
888
+
889
+ Fixed:
890
+
891
+ - Fixed errors when installing bash-completion files (#1095)
892
+ - Fixed failures in `extract-replaygain` script (#1125)
893
+ - Do not crash when loading playlists using `~/path/to/..` paths.
894
+ - Set `set_default_verify_paths` for SSL (#450)
895
+ - Use 443 as default port for https (#1127)
896
+ - Fix implementation of `rotate` (#1129).
897
+ - Register audio/opus mime type for ogg decoding (#1089)
898
+ - Re-encode name, genre and description in `output.icecast` using the given
899
+ encoding (#1092)
900
+ - Accept 24 bits per sample in %flac encoder (#1073).
901
+ - Fix rare stack overflow during clock unification (#1108).
902
+ - Prevent metadata inserted via `insert_metadata` from being visible to
903
+ underlying sources (#1115)
904
+ - Fix `cross()` fallability.
905
+ - Fix decoder remaining time when decoding is done (#1159)
906
+ - Fixed crash when cleaning up `output.hls`
907
+ - Fix `get_process_lines` regexp logic (#1151)
908
+
909
+ # 1.4.2 (03-05-2020)
910
+
911
+ New:
912
+
913
+ - Added `retry_delay` argument to `request.dynamic` (#1169).
914
+ - Renamed `request.dynamic` to `request.dynamic.list` and updated its
915
+ callback function type to return an array of requests, making possible
916
+ to return multiple requests at once but, more importantly,
917
+ to return `[]` when no next requests are available. (#1169)
918
+
919
+ Changed:
920
+
921
+ - Set `audio/flac` as mime for flac (#1143).
922
+ - Deprecated `request.dynamic`.
923
+
924
+ Fixed:
925
+
926
+ - Fixed errors when installing bash-completion files (#1095)
927
+ - Fixed failures in `extract-replaygain` script (#1125)
928
+ - Do not crash when loading playlists using `~/path/to/..` paths.
929
+ - Set `set_default_verify_paths` for SSL (#450)
930
+ - Use 443 as default port for https (#1127)
931
+ - Fix implementation of `rotate` (#1129).
932
+ - Register audio/opus mime type for ogg decoding (#1089)
933
+ - Re-encode name, genre and description in `output.icecast` using the given
934
+ encoding (#1092)
935
+ - Accept 24 bits per sample in %flac encoder (#1073).
936
+ - Fix rare stack overflow during clock unification (#1108).
937
+ - Prevent metadata inserted via `insert_metadata` from being visible to
938
+ underlying sources (#1115)
939
+ - Fix `cross()` fallability.
940
+ - Fix decoder remaining time when decoding is done (#1159)
941
+ - Fixed crash when cleaning up `output.hls`
942
+ - Fix `get_process_lines` regexp logic (#1151)
943
+
944
+ # 1.4.1 (18-02-2020)
945
+
946
+ Fixed:
947
+
948
+ - Fixed `fade.final` and `fade.initial` (#1009)
949
+
950
+ # 1.4.0 (29-09-2019)
951
+
952
+ New:
953
+
954
+ - UTF8 parsing!
955
+ - Added support for tuples: `x = (1,"aa",false)` (#838)
956
+ - Added support for deconstructing tuples: `let (z,t,_) = x` (#838)
957
+ - Added `input.{file,harbor}.hls` to read HLS stream (#59, #295, #296).
958
+ - Added `output.hls` to natively stream in HLS (#758).
959
+ - Added `%ffmpeg` native encoder, only for audio encoding for now (#952)
960
+ - Added ffmpeg-based stream decoder, limited to mime type `application/ffmpeg`
961
+ for now.
962
+ - Added `(to_){string,float,int,bool}_getter` operators to handle getters in
963
+ script side.
964
+ - Made `p` parameter in `smooth_add` a `float` getter (#601)
965
+ - Added `source.time` to get a source's clock time.
966
+ - Added `max_duration` to limit a source's duration.
967
+ - Added `file.temp_dir` to create temporary directories.
968
+ - Added `file.{unlink,rmdir}` to remove, resp., file and directories.
969
+ - Added `file.write` to write content to a file.
970
+ - Added `file.read` to read contents of a file without loading all of it in memory.
971
+ - Added `youtube-pl:<ID>` protocol to resolve and parse youtube playlists (or
972
+ any playlist supported by `youtube-dl`) (#761)
973
+ - Added `protocol.aws.endpoint` setting for the `s3://` protocol, thanks to
974
+ @RecursiveGreen. (#778)
975
+ - Added support for sandboxing `run_process` calls. (#785)
976
+ - Added `harbor.{http,https}.static` to serve static path.
977
+ - Added `log.{critical,severe,important,info,warning,debug}`. Use aliases in
978
+ code as well (#800, #801, #802)
979
+ - Added `sleep` function.
980
+ - Added `mkavailable` function.
981
+ - Added `fade.skip` function. (#804)
982
+ - Added `video.external.testsrc` function.
983
+ - Added `video.frame.*` and `audio.samplerate`.
984
+ - Added `input.external.ffmpeg` and `output.external.ffmpeg`.
985
+ - Added `output.youtube.live.ffmpeg`.
986
+ - Added `output.file.hls.ffmpeg`.
987
+ - Added `reopen` telnet command in `output.external`.
988
+ - Added `on_frame` (#886).
989
+ - Enabled external decoders in windows (#742)
990
+ - Added support for bash completion.
991
+ - Added `video.add_text.native`.
992
+ - Added `configure.bindir`
993
+ - Added `for` and `while` loop functions.
994
+ - Added `list.case`.
995
+ - Added `metadata.getter` and `metadata.getter.float`.
996
+ - Added `string.contains`.
997
+ - Added `request.uri`.
998
+ - Added `{input,output}.srt` (#898)
999
+ - Added `path.remove_extension`.
1000
+ - Added SSL read/write timeout options, use it for incoming socket connections (#932)
1001
+ - Added ffmpeg resampler (#947).
1002
+ - Added `lsl` and `lsr`.
1003
+
1004
+ Changed:
1005
+
1006
+ - Depends on OCaml >= 4.08.0
1007
+ - Changed return type of `http.*` and `run_process` to use tuples (#838)
1008
+ - Better error reporting with coloring and uniform format. (#790)
1009
+ - Improved reporting of file, line and character during parsing errors.
1010
+ - Remove dynamic plugin build option.
1011
+ - Made `on_end` delay a float getter.
1012
+ - Reimplemented `fade.{in,initial,out,final}` as scripted operators. (#664)
1013
+ - Removed `cross`/`crossfade` operators, superseded by
1014
+ `smart_cross`/`smart_crossfade`
1015
+ - Rename `smart_cross`/`smart_crossfade` operators as `cross`/`crossfade`
1016
+ - Default behavior of `crossfade` is old (simple) crossfade. Use `smart=true`
1017
+ to enable old `smart_crossfade` behavior.
1018
+ - Rename `file.duration` as `request.duration`
1019
+ - Removed duplicate `is_directory`
1020
+ - Rename `{basename,dirname}` as `path.{is_directory,basename,dirname}`
1021
+ - Empty playlists return by scripted resolvers is now considered a failure to
1022
+ resolve.
1023
+ - Rewrite `smooth_add` to use new `mkcross` functions.
1024
+ - Reimplemented `open_process_full` to get a hand on `pid` and finer-grained
1025
+ closing workflow (#703)
1026
+ - Added `transition_length` to `switch`-based operators to limit transition
1027
+ lengths and allow garbage collection of transition sources.
1028
+ - SDL renders text in UTF-8. (#712)
1029
+ - Made `x` and `y` parameters in `video.add_text` `float` getters. (#730)
1030
+ - Reimplemented `extract-replaygain` using `ffmpeg`, added an optional replay
1031
+ gain option to the `ffmpeg2wav` protocol. Thanks to @Yamakaky for contributing
1032
+ on this. (#749)
1033
+ - The `ratio` parameter of `compress` and `limit` is a float getter. (#745)
1034
+ - Removed `rewrite_metadata` which had been deprecated for a while now.
1035
+ - Allow string getter for `harbor` HTTP responses.
1036
+ - Renamed `get_clock_status` to `clock.status` and `log_clocks` to `clock.log`.
1037
+ - Renamed `rms_window` parameter of `compress` to `window`. (#796)
1038
+ - Added `chop` operator.
1039
+ - Keep master tracks' boundaries in `mux_*` functions. (#795)
1040
+ - Added `new_track` optional argument to callback in `insert_metadata`.
1041
+ - Use getters for weights of `rotate`. (#808)
1042
+ - Added `conservative`, `length` and `default_duration` params to
1043
+ `playlist.{reloadable,once,merge}` (#818)
1044
+ - Renamed `input.external` into `input.external.rawaudio`, added
1045
+ `input.external.wav`.
1046
+ - Renamed `gstreamer.hls` to `output.file.hls.gstreamer`.
1047
+ - Raise an error when using a format (e.g. `%vorbis`, `%mp3`, ..) that is not
1048
+ enabled. (#857)
1049
+ - Set default encoders and ladspa plugins samplerate and channels to configured
1050
+ internal `"frame.audio.samplerate"` and `"frame.audio.channels"`. (#870)
1051
+ - Handle unary minus in the preprocessor instead of the parser in order to avoid
1052
+ duplicating the parser. (#860)
1053
+ - Add `filter` option to `playlist.once`.
1054
+ - Added a `replay_delay` option to the `pipe` operator to replay metadata and
1055
+ breaks after a delay instead of restart the piping process. (#885)
1056
+ - Add `buffer_length` telnet command to `input.harbor`.
1057
+ - Bumped default `length` parameter for request-based sources (`playlist`,
1058
+ `request.dynamic`, ..) to `40.` to assure that there always is at least
1059
+ one request ready to play when the current one ends.
1060
+ - Added support for cue in/out and fade in/out/type metadata support in `ffmpeg2wav`
1061
+ protocol. Rename protocol to `ffmpeg`. (#909)
1062
+ - `list.assoc` and `list.assoc.remove` require an ordered type as first
1063
+ component.
1064
+ - Renamed `quote` to `string.quote`, removed `process.quote` in favor or
1065
+ `string.quote` (#1635)
1066
+ - Added `phase_inversion={true/false}` to `%opus` encoder (#937)
1067
+ - Fixed encoders forcing frame rate and audio channels too early (#933)
1068
+ - Change filename to a string getter in file-based outputs. (#198)
1069
+ - Changed `audio.converter.samplerate.preferred` option to
1070
+ `audio.converter.samplerate.converters` to give a list of possible converters.
1071
+
1072
+ Fixed:
1073
+
1074
+ - Lack of documentation for `cross`/`crossfade` (#743)
1075
+ - Fixed before metadata being lost during crossfade not in conservative mode.
1076
+ - Correct types and default values for `random.int` (#767).
1077
+ - Allow changing pipeline in gstreamer functions. (#762)
1078
+ - Script deadlock after a long time, most likely related to old crossfade
1079
+ transitions (#755)
1080
+ - AVI export fixed. (#789)
1081
+ - `%external` does not stop processes anymore on each metadata. (#789)
1082
+ - Fixed exit getting stuck when using `input.jack` (#769)
1083
+ - Stop lo server on shutdown. (#820)
1084
+ - Fixed external process stop not detected on second and further calls (#833)
1085
+ - Add `seek` in operators where implementation is clear (#853)
1086
+ - Do not enter buffering mode between tracks in `buffer` (#836)
1087
+ - Fixed file descriptor leak in external processes (#865)
1088
+ - Fixed encoded output creating empty files from failing sources (#876)
1089
+ - Fixed `cue_cut` not working when used before `cross`/`crossfade` (#874)
1090
+ - Fixed audio glitches when seeking within a MP3 file.
1091
+ - Fixed `insert_metadata` logic when insert new track and metadata (#903)
1092
+ - Fixed `replay-gain` script default location.
1093
+ - Fixed audio glitches at the end of crossfade transitions.
1094
+ - Specify that `list.remove` removes only the first occurrence and avoid
1095
+ reversing the list (#922).
1096
+ - File descriptor leak when using openssl-based operators.
1097
+ - Fixed SSL read taking too long to timeout (#932)
1098
+ - Fixed output starting when underlying source is not available (#393)
1099
+ - Fixed `string.escape` also quoting its string.
1100
+
1101
+ # 1.3.7 (09-04-2019)
1102
+
1103
+ Changed:
1104
+
1105
+ - Reimplemented `open_process_full` to get a hand on `pid` and finer-grained
1106
+ closing workflow (#703)
1107
+ - Better log message when request download times out (#708)
1108
+ - Drop `log.level` for `ffmpeg` messages to `5`
1109
+
1110
+ Fixed:
1111
+
1112
+ - Timeout when executing external processes (#691, #736, #726, #708)
1113
+ - Set buffering only when frame is partial in time_wrap.ml. Makes it work with
1114
+ crossfade transitions (#695)
1115
+ - Changed `Icy-MetaData:1` to `Icy-MetaData: 1` in HTTP source headers. Fixes
1116
+ some shoutcast implementations (#727)
1117
+ - Fixed deadlock in `input.http` source status command (#367)
1118
+
1119
+ # 1.3.6 (23-01-2019)
1120
+
1121
+ Fixed:
1122
+
1123
+ - Fixed `smart_crossfade` transitions skipping data after track marks. (#683,
1124
+ #652)
1125
+ - Fixed `input.pulseaudio` parameters.
1126
+ - Fixed crash when copying frame content (#684)
1127
+
1128
+ # 1.3.5 (25-12-2018)
1129
+
1130
+ New:
1131
+
1132
+ - Added a bunch of base mathematics primitive, `exp`, `log`, `cos`, `sine`, ...
1133
+ - Added `"extinf_duration"` to parsed `#EXTINF` metadata.
1134
+
1135
+ Fixed:
1136
+
1137
+ - Fixed inotify watch semantics (#677)
1138
+ - Enhanced `#EXTINF` parsing in ambiguous cases (#625)
1139
+ - Fixed `output.youtube.live` (#630)
1140
+ - Make sure server writes are synchronous (#643)
1141
+ - Fixed crash when loading some frei0r plugins (#435)
1142
+ - Fixed compilation with `osx-secure-transport`
1143
+ - Fixed invalid opus stream generated when no data was ever encoded (#180)
1144
+
1145
+ # 1.3.4 (10-09-2018)
1146
+
1147
+ New:
1148
+
1149
+ - Added `FFMPEG` decoder using the new `ocaml-ffmpeg` API. Thanks for @gndl for
1150
+ the hard work there.
1151
+ - Added `"init.allow_root"` setting to allow running liquidsoap as root.
1152
+ - Added `on_track` callback for playlists. Can be used to force a reload.
1153
+ - Added `server.condition`, `server.wait`, `server.broadcast` and
1154
+ `server.signal`. Used to control server command execution.
1155
+ - Added `server.write`, `server.read{chars,line}` to write interactive server
1156
+ commands in conjunction with the above functions. (#544, #568)
1157
+ - Added `output.youtube.live` as a wrapper around `output.gstreamer.audio_video`
1158
+ to stream live to Youtube (#498)
1159
+ - Added metadata extraction to `ffmpeg2wav` protocol (#623).
1160
+
1161
+ Changed:
1162
+
1163
+ - Depends on OCaml >= 4.03.0
1164
+ - Depends on camomile > 1.0.0
1165
+ - Use `http{s}.head` when available to fetch remote file's mime type. (win32
1166
+ port)
1167
+ - Better log messages for root exit and buffer override.
1168
+ - Switch default log to stdout. Set to file when `log.file.path` is set (#612)
1169
+ - Disabled Gstreamer stream decoder.
1170
+ - Removed asynchronous mode for `output.gstreamer.audio_video`
1171
+ - Reworked `smartcross` internal logic (#596)
1172
+ - Enabled `replaygain` on `m4a` files, thanks to @gilou (#604)
1173
+ - Added `encoding` parameter to `output.shoutcast` to allow alternative string
1174
+ encoding for metadata updates (#411)
1175
+ - Deprecated `rewrite_metadata`
1176
+
1177
+ Fixed:
1178
+
1179
+ - Decouple dyntools compilation.
1180
+ - Support for OCaml >= 4.06
1181
+ - File descriptor leak in `output.icecast` (#548)
1182
+ - Fixed URL regexp for `input.https` (#593)
1183
+ - Multiple gstreamer fixes:
1184
+ - File decoder with video.
1185
+ - Memory leaks (#516, #511, #434, #318)
1186
+ - Process freeze (#608, 278)
1187
+ - Duppy crash on exit (#160)
1188
+ - Fixed audio glitches when using the `pipe` operator (#614)
1189
+ - Deadlock in external decoder. (#611)
1190
+
1191
+ # 1.3.3 (14-10-2017)
1192
+
1193
+ New:
1194
+
1195
+ - Added `on_change` to `register`
1196
+ - Added IPv6 support for `input.harbor`. (#491)
1197
+ - Added `time`, `localtime` and `gmtime` to help with time-predicates (#481)
1198
+ - Added `on_start` to execute callback when liquidsoap starts.
1199
+ - Added `enable_external_ffmpeg_decoder` to enable ffmpeg-base external decoder.
1200
+ - Added `"decoder.external.{ffmpeg,ffprobe,flac,metaflac,faad,mpcdec}.path"`
1201
+ configuration settings.
1202
+
1203
+ Changed:
1204
+
1205
+ - Renamed secure transport harbor key paths to: `harbor.secure_transport.*`
1206
+ - Renamed secure transport I/O to: `{input,output}.harbor.secure_transport`.
1207
+ - Added `.wma` to `gstreamer` file decoder file extensions (#483)
1208
+
1209
+ Fixed:
1210
+
1211
+ - Fixed memory leak in `output.icecast` connection method. (#490)
1212
+ - Fixed `mutexify`
1213
+ - Make sure that metadata are always passed in increasing position order in
1214
+ `map_metadata` (#469)
1215
+
1216
+ # 1.3.2 (02-09-2017)
1217
+
1218
+ Changed:
1219
+
1220
+ - Removed `kick` telnet/server command, duplicate of `stop`.
1221
+ - Support `replaygain` for mp3 files, thanks to @d4h3r0 (#460)
1222
+ - Implement `input.harbor.ssl` using SecureTransport for OSX.
1223
+
1224
+ Fixed:
1225
+
1226
+ - Fix scheduler loop causing high CPU usage when using Process_handler without
1227
+ some of the default callbacks. (#475)
1228
+ - Revert `wait_for` implementation to pre-`1.3.0`, using a custom `select` loop (#453)
1229
+ - Handle mime-type arguments in `input.harbor` streams. (#456)
1230
+ - Tell ocaml to use the same C compiler at build and link time. Fixes build on
1231
+ FreeBSD when using C++-based bindings such as taglib. (#465)
1232
+ - Accept any capitalization of HTTP(S) as regular HTTP URL (#464)
1233
+ - Fix compilation with osx-secure-transport enabled.
1234
+ - Fix deadlock calling logging functions from within `Gc.finalise` (#609)
1235
+
1236
+ # 1.3.1 (28-05-2017)
1237
+
1238
+ New:
1239
+
1240
+ - Allow any tags allowed in `"encoder.encoder.export"` settings in vorbis
1241
+ streams (#418)
1242
+ - Allow `"audio/mp3"` mime-type for mp3 in file resolution protocol. (#451)
1243
+
1244
+ Fixed:
1245
+
1246
+ - Fixed `run_process`, `get_process_lines`, `get_process_output` when compiling
1247
+ with OCaml <= 4.03 (#437, #439)
1248
+ - Calls to `wait_for` while the scheduler isn't running (#442)
1249
+ - Revert default handling of environment in `run_process`, `get_process_lines`,
1250
+ `get_process_output` to passing calling process' environment by default.
1251
+
1252
+ # 1.3.0 (27-04-2017)
1253
+
1254
+ New:
1255
+
1256
+ - Added support for recursive functions (#406)
1257
+ - Add peak and peak.stereo operators (#364)
1258
+ - Change `track_sensitive` parameter to a boolean getter (fixed value or
1259
+ anonymous function).
1260
+ - Add SSL support to the various harbor operators, either via openssl or OSX's
1261
+ SecureTransport.
1262
+ - Add optional "dj" and "next" metadata for Shoutcast v2, wrap "dj" value in a
1263
+ callback in output.shoutcast (#370, #388)
1264
+ - Allow partial parsing of JSON objects in `of_json`.
1265
+ - Generalize list.assoc to allow default values. Legacy code must be updated:
1266
+ `list.assoc(k,l)` -> `list.assoc(default="",k,l)`
1267
+ - Generalize list.hd to allow default values. Legacy code must be updated:
1268
+ `list.hd(l)` -> `list.hd(default="",l)`
1269
+ - Allow to pass a default to list.nth. Legacy code must be updated:
1270
+ `list.nth(l,pos)` -> `list.nth(default=<..>,l,pos)`
1271
+ - Added `on_offset` to execute a callback at a given offset within a source's tracks.
1272
+ - Added mutexify to protect a function from being called concurrently.
1273
+ - Added request.log to get log data associated with a request
1274
+ - Added `overlap_sources` to rotate between sources with overlapping tracks.
1275
+ - Added `replay_metadata` to `input.harbor()`
1276
+ - Added `\<char code>` syntax for strings (#368)
1277
+ - Added string.sub
1278
+ - Added `run_process` to run a process with optional environment and return
1279
+ (`stdout`,`stderr`,`exit_status`)
1280
+ - Added `add_playlist_parser` to register new playlist parsers
1281
+ - Added optional static parameter to `protocol.add`
1282
+ - Added file.temp to create fresh temporary filename
1283
+ - Added process: protocol
1284
+ - Reimplemented curl-based fetch process using process:
1285
+ - Added s3:// protocol to fetch files from AWS S3 using the AWS CLI.
1286
+ - Added polly: protocol to enable speech synthesis using AWS polly. Generated
1287
+ files are mono so make sure you use `audio_to_stereo()`.
1288
+ - Added youtube-dl: protocol to resolved requests using youtube-dl
1289
+ - Added `which()` to find an executable within the $PATH
1290
+ - Added `register()` to allow to register new configuration settings
1291
+
1292
+ Changed:
1293
+
1294
+ - Reverted default value for `--error_as_warnings` option, renamed to `--strict`.
1295
+ - Moved say: protocol registration to utils.liq.
1296
+ - Moved `get_process_lines` and `get_process_output` to utils.liq, added
1297
+ optional env parameter
1298
+ - Set `conservative=true` by default in `cross()` and `smartcross()`
1299
+
1300
+ Deprecated (can be removed in any future version):
1301
+
1302
+ - Dynamic plugins compilation, deprecated in favor of opam rebuild mechanism.
1303
+
1304
+ Removed:
1305
+
1306
+ - aac and aacplus encoders, removed in favor of fdk-aac.
1307
+ - dirac/schroedinger video encoder: obsolete, abandoned upstream.
1308
+ - `force_mpeg` option in taglib metadata decoder. Has not been used for years and
1309
+ allows to decouple taglib code from the mad decoder.
1310
+
1311
+ Bugfixes:
1312
+
1313
+ - Fix negative seek (#390)
1314
+ - Prevent flows metadata updata from stalling sources (#377)
1315
+ - Add revdns setting for telnet, set all revdns default to false (#372)
1316
+ - Fix icy metadata in output.harbor (#358)
1317
+ - Fix missing first line of headers from icy clients in `input.harbor` (#380)
1318
+ - Fix timestamp in some logged output (#395)
1319
+ - Fix crash in external (download) protocol.
1320
+ - Fix `fade.{in,out}` metadata handling for new fade duration and type.
1321
+ - Compute normalization regardless of child sources ready status in `add()` to
1322
+ avoid unexpected change of volume.
1323
+
1324
+ # 1.2.1 (01-07-2016)
1325
+
1326
+ New:
1327
+
1328
+ - Support for https (SSL/TLS) icecast connections.
1329
+ - Added `http.{put,head,delete}`, `https.{get,post,head,put,delete}`.
1330
+ - Added `input.https`.
1331
+ - Added `list.mapi`.
1332
+ - Added `rotate.sequence`.
1333
+ - New `pipe()` operator to pipe audio data through an external program.
1334
+ - Switched to curl for request resolution/fetch.
1335
+
1336
+ Bugfixes:
1337
+
1338
+ - Fix metadata update for shoutcast v2 when sid <> 1 (#320).
1339
+ - Fix connection to `input.harbor` using the shoutcast v1 protocol (#337).
1340
+
1341
+ # 1.2.0 (12-01-2016)
1342
+
1343
+ New:
1344
+
1345
+ - Websocket server (#90): this means that you can stream to harbor directly from
1346
+ your browser!
1347
+ - Add support for AIFF format (#112).
1348
+ - Add `url.split_args` to split the argument of an url (#123).
1349
+ - Add `buffer.adaptative` to cope with small network delays (#131).
1350
+ - Add sleeper operator to simulate network delays and test robustness (#131).
1351
+ - Add `stereo.left` and `stereo.right` to extract channels from a stereo stream.
1352
+ - Add restart command to restart liquidsoap (#135).
1353
+ - Add `file.contents` to read the contents of a file.
1354
+ - Add `filter.rc` for first-order RC filters.
1355
+
1356
+ Enhancements:
1357
+
1358
+ - Add support for sending OSC data (`osc.send_*`).
1359
+ - Native support for (some) AVI files (#256) which enables support for external
1360
+ video encoders (#233).
1361
+ - Improve rms operator (#105) to have per channel rms (#102), the ability to
1362
+ dynamically set window duration (#103) and multiple monitors (#104).
1363
+ - Icecast streaming can now use HTTP1.1 chunked encoding (#82, #107).
1364
+ - Add support for multiple shoutcast extensions (#216).
1365
+ - Fade type can be overridden by metadata in `fade.in` / `fade.out` (#64).
1366
+ - Allow LADSPA plugins with arbitrary number of channels (#191).
1367
+ - Rename shine encoder from `%mp3.fxp` to `%shine`.
1368
+ - fdkaac: dynamic plugin (#79), set afterburner parameter, use MPEG4 by default
1369
+ (#83).
1370
+ - Improved subtyping on lists (#125, #126).
1371
+ - Add native simple JSON decoder.
1372
+ - Better code: do not abusively use assertions (#137), issue more warnings and
1373
+ fix them (#162).
1374
+
1375
+ Bugfixes:
1376
+
1377
+ - Correctly close connection in http.get / http.post (#72).
1378
+ - Remove `input.lastfm` which has been broken for a while.
1379
+ - Lots of small bugfixes.
1380
+
1381
+ # 1.1.1 (08-05-2013)
1382
+
1383
+ New:
1384
+
1385
+ - Add support for FDK-AAC, which seems to be the best AAC(+) encoder around for
1386
+ now. Replacement candidate for VO-AAC and AACPLUS
1387
+ - Add %ifencoder to check whether Liquidsoap was compiled with support for a
1388
+ particular encoding format.
1389
+ - There is now an emacs mode in scripts/liquidsoap-mode.el.
1390
+ - Liquidsoap can be used as a Windows service.
1391
+
1392
+ Enhancements:
1393
+
1394
+ - Handle more OSC types (`float`, `float_pair`, `bool`, `string`, `string_pair`) and added
1395
+ `osc.on_*.`
1396
+ - Better infrastructure for decoding images. `add_image` can now handle most image
1397
+ file types.
1398
+ - Add `random.int` as well as `min_int` and `max_int` to standard library.
1399
+ - Add `playlist.merge` to play a whole playlist as one track.
1400
+ - Add `gstreamer.hls` to play http live streams (HLS).
1401
+ - Add `say.program` to specify text-to-speech program in scripts.
1402
+ - Add "random" transition type to `video.fade.*` in order to select a random
1403
+ transition each time.
1404
+ - Add max parameter to drop data on buffer overrun with `input.gstreamer.*`.
1405
+ - Add `bytes_per_page` parameter to ogg encoders.
1406
+ - Add support for DTX in speex and opus, as well as VAD for speex.
1407
+ - Localize some more parsing errors in files.
1408
+
1409
+ Bugfixes:
1410
+
1411
+ - Avoid deadlocks in harbor.
1412
+ - Correctly flush lame encoder.
1413
+ - Correct sequence operator when there is only one source.
1414
+ - Handle relative URLs in http playlists.
1415
+ - portaudio is now an active source.
1416
+ - Avoid jack I/O lowering the volume.
1417
+
1418
+ # 1.1.0 (04-03-2013)
1419
+
1420
+ ** This version brings some new features as well as correcting bugs. **
1421
+
1422
+ New:
1423
+
1424
+ - Add support for GStreamer decoding, processing and encoding (%gstreamer
1425
+ format, v4l webcam input is now implemented using GStreamer).
1426
+ - Add support for opus decoding and encoding.
1427
+ - Add support for the shine encoder, which can efficiently work on architectures
1428
+ without FPU.
1429
+ - Add support for automatically computing the duration of tracks in the
1430
+ "duration" metadata [LS-641]. It can be enabled with
1431
+ `set("request.metadata_decoders.duration",true)`
1432
+ - Add support for frei0r video effects.
1433
+ - Allow `%define`'d variables in encoding formats [LS-634], e.g.
1434
+ ```
1435
+ %define BITRATE 24
1436
+ %define STEREO true
1437
+ output.file(%mp3(bitrate = BITRATE, stereo = STEREO),"bla.mp3",s)
1438
+ ```
1439
+
1440
+ Enhancements:
1441
+
1442
+ - Taglib now reads all metadatas (even non-standard ones).
1443
+ - Add a mode to automatically reload a playlist when the file was changed
1444
+ [LS-363,LS-523]. For instance, `s = playlist("~/Music",reload_mode="watch")`.
1445
+ Also, add `file.watch` to call a callback when a file is changed, with
1446
+ inotify support when present.
1447
+ - Add support for FFMpeg as video converter, which you can use with
1448
+ `set("video.converter.preferred", "ffmpeg")`
1449
+ - Add `back_time` argument to blank operators [LS-609].
1450
+ - Add a metadata to override fade.final duration.
1451
+ - MIME is computed at most once when extracting replaygain.
1452
+ - Default samplerate converter is now "fast".
1453
+ - BPM detection (bpm) now uses a callback.
1454
+ - Add `clock.unify` to unify clocks of all sources from a list.
1455
+ - Add `source_url` metadata to `input.http` streams.
1456
+ - Improved error message when theora format is not supported.
1457
+ - Add list.filter function.
1458
+ - `video.add_image` can now take any image format as input.
1459
+ - Add `mux_stereo`.
1460
+ - Support for external decoders in streams.
1461
+ - Move bugtracker to https://github.com/savonet/liquidsoap/issues
1462
+
1463
+ Bugfixes:
1464
+
1465
+ - Configure is now compatible with OCaml >= 4.0 and removed support for OCaml <
1466
+ 3.11 [LS-625].
1467
+ - Fix random memory access / memory leak when decoding AAC/MP4 files [LS-647].
1468
+ - Correct resampling of wav files.
1469
+ - Use the length for data indicated in header for wav files.
1470
+ - `Argv.(0)` now returns the script name [LS-605].
1471
+ - Liquidsoap should now operate fine when compiled with -noassert [LS-578].
1472
+ - Better handling of inexistent MIDI channels.
1473
+ - Video decoder now correctly handles videos from Icecast.
1474
+ - Avoid visu.volume freezing Liquidsoap on shutdown.
1475
+ - Fix a memory leak when decoding both audio and video in ogg [LS-636].
1476
+ - More efficient handling of video converters, also fixes some crashes [LS-623].
1477
+ - Have the soundtouch operator preserve tags [LS-621].
1478
+ - Fix remaining time estimation in cross and `smart_cross`.
1479
+ - Avoid deadlocks in harbor and `input.http`.
1480
+ - Remove leftover files in configure [LS-567].
1481
+ - Handle wav files with padded fmt headers.
1482
+ - Handle end-of-stream when seeking mp3 with mad.
1483
+
1484
+ # 1.0.1 (04-07-2012)
1485
+
1486
+ ** This version brings bug fixes and minor enhancements over 1.0.0. **
1487
+
1488
+ Fixes:
1489
+
1490
+ - correct type for the "flush" parameter in `output.external()`
1491
+ thanks to Romaric Petion for pointing it out
1492
+ - fix bug where MP3 encoder would discard initial ID3v2 rendering
1493
+ - fix bug where `smart_cross()` would stop before the end of tracks,
1494
+ thanks to Edward Kimber for raising the issue
1495
+ - load libraries in --interactive [LS-618]
1496
+ - update examples, notably the installed radio.liq
1497
+ thanks to Emery Hemingway for noticing the problem
1498
+ - generalize the types of `input.http()` and `input.harbor()` to allow variable
1499
+ content kinds, and also allow video for harbor [LS-601]
1500
+ - `request.equeue()` now allows to remove requests from the primary queue
1501
+ - fix compilation of lame dynamic plugin.
1502
+
1503
+ New:
1504
+
1505
+ - new values for metadata fields does not override old one anymore;
1506
+ use setting `request.metadata_decoders.override` to restore old behavior
1507
+ - `stereo_mode` and `internal_quality` parameters for %mp3 encoder
1508
+ - enable mad decoder for MP1 and MP2 in addition to MP3, create aliased
1509
+ configuration keys "decoder.file_extensions/mime_types.mad"
1510
+ - support for CUE sheet playlists and metadata in M3U
1511
+ - setting "decoder.taglib.force_mpeg" to force taglib to consider files as MPEG
1512
+ - scripting builtins `getenv()`, `setenv()` and `environment()`
1513
+ - scripting builtin `source.fallible()`
1514
+ - harbor is now verb-oriented, supporting GET, POST, PUT, HEAD, DELETE, OPTIONS
1515
+ - load DSSI plugins from environment variables and using `dssi.register()`
1516
+ - also display the type of the whole expression when -i is passed
1517
+ - generalized custom path support for facilitating standalone distributions
1518
+ - and as usual, various improvements in the code, log and error messages, etc.
1519
+
1520
+ # 1.0.0 (08-10-2011)
1521
+
1522
+ Finally, the 1.0.0 release! It brings several important fixes, but
1523
+ also some nice novelties.
1524
+ The most outstanding difference concerns `output.icecast()`: its restart
1525
+ and `restart_delay` parameters are gone, replaced by a new `on_stop` handler
1526
+ which is called on every error (failed connection or disconnection) and
1527
+ returns the new restart delay. The `on_error` handler receives a string
1528
+ describing the error which enables user-friendly reporting, adaptative
1529
+ delays, etc.
1530
+ Note that `on_error` defaults to `fun(_)->3`. which is equivalent to having
1531
+ restart=true, restart_delay=3. in previous versions, NOT the same as the
1532
+ former restart=false default. As a result, liquidsoap won't fail to startup
1533
+ if an initial connection attempt fails.
1534
+
1535
+ Fixes:
1536
+
1537
+ - LS-532,527: avoid freeze after errors in streaming threads or source
1538
+ initialization routines
1539
+ - LS-542: race condition in `playlist*()` breaking randomness
1540
+ - LS-489: double expiration lead to illegal queue length and freeze of
1541
+ request-based sources
1542
+ - Avoid multiple simultaneous reloading in `playlist*()`,
1543
+ thanks to Fabio Costa for his help on this one!
1544
+ - Pass charset information to icecast server to avoid encoding bugs
1545
+ - LS-555: timeout for icecast connection attempts
1546
+ - LS-559: permanent stop after disconnection on Ogg streams
1547
+ - LS-565: efficient and crash-free error handling in `input.http/harbor()`
1548
+ when the input stream has an invalid number of channels
1549
+ - LS-431: proper handling of duration in `blank()` avoids abusive empty tracks
1550
+ - LS-556: rework conversion operators, optimizations used to be unsafe & broken
1551
+ - LS-574: silent MIDI synthesis operators
1552
+ - LS-396: `drop*()`'s types reflect that they don't support variable arities
1553
+ - LS-442: allow comments not terminated by newline at end of file
1554
+ New:
1555
+ - `on_error` handler in `output.icecast()`, see above
1556
+ - New msg param in %mp3 for marking frame headers, defaults to version string
1557
+ - `output.file()`: new `on_close` parameter, may be used to write exact duration
1558
+ - %mp3.vbr/abr for variable bitrate MP3, %mp3 is now a synonym of %mp3.cbr
1559
+ - MP3 encoders now support ID3v2 tags
1560
+ - `input.http()`: new "status" command
1561
+ - LS-556: `mux_mono()` for adding a single audio channel into a stream
1562
+ - `video.add_text()` using libgd (gd4o) for environments without X
1563
+ Dependency on graphics can be disabled (to work around erreneous detection)
1564
+ - script language: add infix operator mod (patch by Fabio Costa)
1565
+ - `delay()` now has an "initial" parameter
1566
+ - LS-557: "server.timeout" setting can now be disabled by setting it to -1
1567
+ - LS-532: `source.init()` for selective init with a way to handle errors,
1568
+ plus settings "clock.allow_streaming_errors" and "init.force_stat" (or
1569
+ --force-start on the command line) for easing dynamic uses of liquidsoap
1570
+ Enhancements:
1571
+ - Panic crash to avoid frozen liquidsoap after duppy crashes
1572
+ - Text-to-speech: festival and sox are now only runtime dependencies
1573
+ - LS-475,516: better support for dynamic URL change in `input.http()`
1574
+ - LS-484: display user-friendly error messages in interactive mode
1575
+ - LS-308: use seconds internally in request sources, avoid overflow and
1576
+ display more user-friendly debug messages
1577
+ - Cleanup `visu.volume()` and `video.vis_volume()`
1578
+ - LS-573: replace " " by "\_" in identifiers to make them valid in the server
1579
+ - Script syntax: unary minus now usable without parenthesis after semicolon
1580
+ - Two generic queues by default, to avoid deadlocks in advanced situations
1581
+ - Documentation, build & install system, etc.
1582
+
1583
+ # 1.0.0 beta3 (05-08-2011)
1584
+
1585
+ - Feature: Added `of_json` to parse json data. Depends
1586
+ on json-wheel.
1587
+ - Feature: Added file.exists and is_directory.
1588
+ - Feature: Added timeout options for:
1589
+ telnet, harbor (server), input.icecast
1590
+ - Enhancement: finer-grained timeout detection
1591
+ for `input.harbor` and `input.http`
1592
+ - Fix: deadlock when disconnecting harbor users
1593
+ through server/telnet command.
1594
+ - Fix: dynlink detection in native mode with old
1595
+ versions of ocaml
1596
+ - Fix: deadlock when an exception is raised during
1597
+ startup while the clock is owned by a source
1598
+ (e.g. `input.alsa`). See LS-527 for more details.
1599
+
1600
+ # 1.0.0 beta2.1 (07-07-2011)
1601
+
1602
+ - Fix: `playlist.safe()` was unusable in beta2, as a side effect of removing
1603
+ duplicate "timeout" parameter in `playlist()`.
1604
+ - Minor enhancements to documentation, settings and reference.
1605
+
1606
+ # 1.0.0 beta2 (04-07-2011)
1607
+
1608
+ This release introduces lots of fixes and cleanup, but also some new features.
1609
+ Major novelties: support for fast seeking and cue points, FLAC and improved
1610
+ AAC+ support, introduction of the liquidsoap yellowpages "flows",
1611
+ plugin support and improved messages for scripting errors
1612
+ Compatibility warning: `insert_metadata` has changed, and `clock.assign_new()`
1613
+ should be used instead of `clock()` to avoid some of the new static checks
1614
+
1615
+ Decoders:
1616
+
1617
+ - New support for seeking and fast computation of durations in most formats
1618
+ - New decoders: FLAC (native & Ogg) and images using Camlimages
1619
+ - Fixes in Ogg decoding: LS-515 (loss of data) and LS-537 (segfault).
1620
+ - Fix LS-337: periodical failures when decoding AAC(+) streams
1621
+ - AAC(+): use new ocaml-faad with builtin mp4ff, easier to build
1622
+ - New detection mechanism mixing extensions and MIME types (when available),
1623
+ with corresponding settings `decoder.file_extensions.<format>` and
1624
+ `decoder.mime_types.<format>`.
1625
+ - Decoder order can be user-defined thanks to new settings
1626
+ "decoder.file_decoders", "decoder.stream_decoders" and
1627
+ "decoder.metadata_decoders".
1628
+ - Indicate which decoder is used in the "decoder" metadata
1629
+ - More helpful log for various errors
1630
+ - Fix segfault with SdlImage image decoder
1631
+
1632
+ Encoders:
1633
+
1634
+ - New FLAC encoders %flac (native) and %ogg(%flac)
1635
+ - New AAC+ 2.0 and vo-aacenc
1636
+ - New settings to theora: keyframes make files much smaller!
1637
+ - New settings for WAV encoding: headerless, samplesize.
1638
+ - Fix segfaults with ocaml-aacplus
1639
+ - Enhancement LS-441: filter metadata before encoding,
1640
+ based on the "encoder.metadata.export" setting.
1641
+ - Rework infrastructure of encoded outputs to fit all formats, outputs
1642
+ and styles of metadata handling, file reopening (#386)
1643
+
1644
+ Harbor:
1645
+
1646
+ - New: `output.harbor()` which acts as a mini icecast server,
1647
+ accepting listeners directly. Encoding is shared among users,
1648
+ and is only performed when needed.
1649
+ - New: ability to register HTTP GET/POST handlers to create simpler
1650
+ web services, using `harbor.http.register/remove()`.
1651
+ - Make all settings local: port, user and password can be set independently
1652
+ for each `input.harbor()` source
1653
+ - New: "metadata_charset" and "icy_metadata_charset" in `input.harbor()`
1654
+ - Fix: race condition possibly leading to abusive "source taken" (LS-500)
1655
+
1656
+ Icecast:
1657
+
1658
+ - Add support for streaming native flac, only works when streaming to
1659
+ `input.harbor()`, not supported by actual Icecast servers
1660
+ - Fix bugs in ICY protocol support (header parsing, user name)
1661
+ - Use ICY metadata updates when streaming AAC(+)
1662
+ - New: "encoding" parameter for `output.icecast()`, used for recoding metadata
1663
+ Defaults to "latin1" with shoutcast servers
1664
+ - New: `icy.update_metadata()` function for manual updates
1665
+ - Enhance default "song" metadata, avoiding " - " when unnecessary (#467)
1666
+
1667
+ Input/output:
1668
+
1669
+ - New experimental `input.v4l/v4l2()` for webcams
1670
+ - New experimental `input/output.udp()` for unchecked UDP streaming,
1671
+ available with most formats (at your own risk)
1672
+ - Restore `output.pipe.external()`, now called `output.external()`
1673
+ - New parameters for most outputs and inputs (start, on_start,
1674
+ on_stop, fallible); cleanup and uniformize implementations (LS-365)
1675
+ - New ALSA settings alsa.alsa_buffer, alsa.buffer_length and alsa.periods
1676
+ Setting periods=0 allows to not attempt to set the number periods,
1677
+ which is impossible on some devices
1678
+ - New preference order in `input/output.preferred()`: pulseaudio, portaudio,
1679
+ oss, alsa, ao, dummy
1680
+
1681
+ Operators:
1682
+
1683
+ - New: support for cue points with `cue_cut()`
1684
+ - Change `insert.metadata()` which is now more script friendly,
1685
+ returning an insertion function rather than register a server
1686
+ command. The old functionality is available as `server.insert_metadata()`.
1687
+ - New: `rms()` operator for getting RMS of a stream, and `server.rms()` which
1688
+ makes this information available as a server command.
1689
+ - New: `track_sensitive` mode for blank detection operators
1690
+ - New: `playlist.reloadable()` for playing a list once, with a command
1691
+ for restarting it.
1692
+ - Remove `id.*()` which can be replaced by type annotations
1693
+
1694
+ Scripting API:
1695
+
1696
+ - New: OSC support through `osc.bool()`, `osc.float()` and `osc.float_pair()`
1697
+ - New: JSON export `json_of()`
1698
+ - New: `http.get()` and `http.post()`
1699
+ - New: `url.encode/decode()`, `base64.encode/decode()`
1700
+ - New: `string.recode()` for charset conversions using camomile
1701
+ - New: `notify_metadata()` and `osd_metadata()`, suitable for use with
1702
+ `on_track()` and `on_metadata()`
1703
+ - New: `request.metadata()` for getting a request's metadata
1704
+ - New: `string.length()`
1705
+ - Enhance `log_clocks()` with parameter for delaying startup
1706
+ - Enhance `get_clock_status()` with "uptime" reference time
1707
+
1708
+ Server interface:
1709
+
1710
+ - Print the playlist's URI when calling `<playlist>.uri` without an
1711
+ argument.
1712
+ - Enhance `<queue>.ignore` now works also in the primary queue
1713
+ - New command for changing the URL of an `input.http()`, ref #466. The
1714
+ command is `<id>.url` and it needs a restart (`<id>.stop`, then start)
1715
+ to take effect.
1716
+ - Fixed double registration of server commands which resulted in broken
1717
+ "help" command (LS-521)
1718
+
1719
+ Script language:
1720
+
1721
+ - Option "-i" doesn't show types for pervasives anymore
1722
+ - Pretty printing of types (LS-474) with indentation, also used
1723
+ in the documentation
1724
+ - Enhanced type errors (LS-459): no more traces, only the relevant
1725
+ part of types is displayed, plus a few special friendly messages.
1726
+ - Enhanced static checks (LS-123) thanks to the introduction of the
1727
+ `active_source` subtype, for unused variables and ignored values
1728
+ This should avoid common errors, help troubleshooting
1729
+ If needed, advanced users can work around errors using --check-lib
1730
+ and --errors-as-warnings
1731
+
1732
+ General:
1733
+
1734
+ - Do not attempt to install "daemon" files if user/group have not been
1735
+ set, unless forced using "make INSTALL_DAEMON= install"
1736
+ - Fix several core "source protocol" bugs, causing assert failures and
1737
+ other crashes: LS-460 (source becomes not ready without operator knowing)
1738
+ #403 (information about being ready is not precise enough)
1739
+ - Fix incorrect image accesses (LS-430) by introducing a safer VFrame API
1740
+ Applies to most video operators ( `video.fade()`, `video.text()`, effects...)
1741
+ - Cleanup resource (de)allocation, which is becoming critical with dynamic
1742
+ reconfigurations (e.g., dynamic output creation, `source.dynamic()`)
1743
+ Enforce that server commands are always deallocated (LS-495)
1744
+ Attempt to stop sources when initialization fails, so they cleanup as
1745
+ much as possible (LS-503)
1746
+ Avoid deadlocks upon crashes in IoRing-based operators
1747
+ Share code for stoppable feeding threads, use it in `input.harbor()`
1748
+ Avoid useless initialization of SDL systems
1749
+ - Dynamic loading of lame and aacplus libraries, making it possible to
1750
+ ship them as separate binary packages. This is particularly useless
1751
+ for non-free libraries and for those that depend on X (e.g., SDL)
1752
+ which is often undesirable on servers
1753
+ - Support for separate compilation of most optional features as plugins
1754
+ Use `--enable-<feature>-dynamic-plugin` in ./configure and
1755
+ --dynamic-plugins-dir in liquidsoap
1756
+ - Better Win32 support, more version checks, separate compilation of
1757
+ C files and compliance with Debian's OCaml standards
1758
+ - Externalize many audio and video functions in the new ocaml-mm library
1759
+ Factorize and optimize various conversions
1760
+ - Rewrite harbor and server code using the new Duppy monad,
1761
+ introducing camlp4 into the build system
1762
+ - New regression tests (make test)
1763
+ - More user-friendly exception printing
1764
+ - Avoid problems preventing backtrace printing
1765
+
1766
+ Miscellaneous:
1767
+
1768
+ - Update liguidsoap, make microphone input optional (LS-496)
1769
+ - Do not crash upon charset-recoding failures [LS-473]
1770
+ - Fix in `source.dynamic()`: missing source re-selection [LS-354]
1771
+ - Avoid deadlock on startup in daemon mode [LS-229]
1772
+ - Fixes in LADSPA and SDL causing early freezing of Frame parameters.
1773
+ - Fullscreen mode for `output.sdl()`
1774
+ - Fix: SIGPIPE used to cause crashes (LS-53,LS-287)
1775
+ - Fix: `video.volume()` could crash upon some end-of-track situationos
1776
+ - Fix: properly escape filenames in external file duration methods
1777
+ - Rework timeout management for various sockets (notably icecast & harbor)
1778
+ Set nodelay, remove `TCP_*TIMEOUT` [LS-508,LS-509]
1779
+
1780
+ # 1.0.0 beta1 (06-09-2010)
1781
+
1782
+ This beta version introduces two major new features: heterogeneous stream
1783
+ types and clocks.
1784
+
1785
+ New:
1786
+
1787
+ - Different sources can carry different types of content.
1788
+ - Encoding formats have been introduced to help infer stream content types.
1789
+ This brings static checking for bounds in encoding parameters.
1790
+ - Introduce conversions between stream contents (mono, stereo, drop
1791
+ audio, video, etc) and muxing.
1792
+ - Allow explicit type annotations in scripts.
1793
+ - Introduce clocks, cleanly allowing for the coexistence of different
1794
+ time flows, and avoiding inconsistencies that can result from it.
1795
+ Soundcard I/O and cross-based operators notably make use of it.
1796
+ - Remove root.sync, replaced by attaching a source s to clock(sync=false,s).
1797
+ - Enable dynamic source creation and `source.shutdown()`.
1798
+ - Extend and adapt MIDI and video operators.
1799
+ - Introduce purely metadata streams (audio=video=midi=0 channels) and
1800
+ metadata stream decoder.
1801
+ - Support WAV streams in `input.http/harbor()`.
1802
+ - Introduce static image decoder using SDL image.
1803
+ - Remove bound of request identifies (RID).
1804
+ - Experimental: `source.dynamic()` for advanced dangerous hacking.
1805
+ - Make path relative to script in `%include "PATH"`, and introduce
1806
+ `%include <...>` where path is relative to liquidsoap library directory.
1807
+ - Add `channels_matrix` parameter to `output.ao()`.
1808
+ - Add `on_(dis)connect` hooks in `input.harbor()`.
1809
+
1810
+ Cleanup and fixes:
1811
+
1812
+ - Lots of cleanup and fixes as with all major code rewriting.
1813
+ - Optimize video and stabilize it a little bit... still not perfect.
1814
+ - Rewrite stream and file decoding API, as well as file format detection.
1815
+ - Enhance shutdown and error message reporting, notably for icecast
1816
+ and request-based sources.
1817
+ - Avoid quasi-infinite loop in failed request resolving.
1818
+
1819
+ # 0.9.3 (04-09-2010)
1820
+
1821
+ This release is a bugfix of the latest snapshot (0.9.2).
1822
+ It will be the last bugfix before 1.0.
1823
+
1824
+ Bugs fixed:
1825
+
1826
+ - Add "audio/mpegurl" to the list of mime-type for basic playlist parsing.
1827
+ - Decode arguments passed to `input.harbor`.
1828
+ - Use Camomile framework to try to recode arguments and user/password
1829
+ passed to `input.harbor`.
1830
+ - Support Theora 1.1 API via ocaml-theora 0.2.0.
1831
+ - Fixed `input.lastfm`.
1832
+ - Fixed SDL output.
1833
+ - Allow magic file type detection to follow symlinks.
1834
+
1835
+ # 0.9.2 (29-10-2009)
1836
+
1837
+ This release is a SNAPSHOT of upcoming features. It also contains several
1838
+ important bugfixes. As a snapshot, it contains experimental or unpolished
1839
+ features, and also breaks compatibility with previous versions.
1840
+ You should in particular notice the two "New" items below:
1841
+
1842
+ - `random(strict=true)` is now called `rotate()`;
1843
+ - request sources (`playlists`, `request.*`) have a new queuing behavior,
1844
+ check the doc (request-sources.html) or revert to conservative=true.
1845
+
1846
+ Bugs fixed:
1847
+
1848
+ - Ogg encoder now muxes pages according to their ending time.
1849
+ - Support "ogg/audio" and "ogg/video" mime types for HTTP ogg streams.
1850
+ - Changed external encoder's "restart_encoder" to the more relevant
1851
+ "restart_on_new_track". Added optional "restart_after_delay"
1852
+ to restart the encoder after some delay. Also completely rewrite
1853
+ stop mechanism. Stop operation now waits for the encoding process
1854
+ to finish, allowing proper restart_on_new_track like for ogg encoded
1855
+ data.
1856
+ - Factorized buffered I/O code. Also added a blocking API, which avoids
1857
+ "no available frame" and "reader not ready" messages and audio glitches.
1858
+ It enforces that `root.sync` be deactivated for these sources, such that
1859
+ synchronization is done by the source. (#203)
1860
+ - Factorized file decoding code.
1861
+ - Fixed reversed order when parsing playlists using `playlist.parse()`.
1862
+ - Avoid bad crashes when resources lack, e.g. no more memory.
1863
+ - Tighten and enforce the inter-source protocol.
1864
+ - All outputs: fix the autostart server command. With the former code,
1865
+ a modification of the autostart parameter was only taken into account
1866
+ one start/stop cycle later.
1867
+ - `on_blank()`: fix a bug that prevented the first call to on_noise.
1868
+ - Fixed estimated remaining samples on ogg files, fixes issues with
1869
+ operators relying on this value, in particular `crossfade()` and
1870
+ request-based sources when operating in non-conservative mode.
1871
+ - Fixed socket descriptor leak in `input.http`. (#318)
1872
+ - Fixed deadlock at init when an exception was raised at wake_up
1873
+ phase. (#319)
1874
+ - Fix `delay()` which could sometimes incorrectly declare itself ready,
1875
+ and thus try to get some data from its unavailable input source.
1876
+ - Bug in queue duration estimation led to infinite feeding of the queue,
1877
+ until all request IDs are taken.
1878
+ - Several fixes enforcing clean (non-deadlocking) sleep/shutdown.
1879
+
1880
+ New:
1881
+
1882
+ - The operator `rotate()` replaces random(strict=true), and `random()`
1883
+ does not have a strict parameter anymore.
1884
+ - Switch to new behaviour in request-based sources.
1885
+ Use conservative=true to get to the old behaviour.
1886
+ - `on_blank()`: provide an `on_noise` handler.
1887
+ - `playlist*()`: add server commands for reloading the playlist and changing
1888
+ its URI.
1889
+ - Fallible outputs: all outputs now have a fallible mode, in which
1890
+ they accept fallible sources, and automatically start/stop when the child
1891
+ fails to stream.
1892
+ - EXPERIMENTAL ogg/dirac encoding support.
1893
+ - `output.*.aacplus()`: native outputs encoding in AAC+ using ocaml-aacplus.
1894
+ - Switched to a custom implementation of the various shout protocols.
1895
+ It notably allows arbitrary content-type settings which enables
1896
+ AAC+ streaming. Enabled wrappers for external encoders for AAC+ format
1897
+ aacplusenc (#220 and #136). Also added custom IRC, AIM and ICQ headers
1898
+ to shoutcast wrappers (#192).
1899
+ - Harbor now supports Shoutcast/ICY headers properly. This allows in
1900
+ particular the use of any supported data format for the source client.
1901
+ - Harbor sources now also consider "song" field when updating metadata.
1902
+ - Added built-in support for m4a audio files and metadata.
1903
+ Made external support optional through enable_faad.
1904
+ - Added optional resampling for output.external operators (#273).
1905
+ - Added optional host and port parameters for audioscrobbling
1906
+ submissions. Allows to use alternate systems, such as libre.fm
1907
+ of jamendo's compatibility API. Added nowplaying submission,
1908
+ and various wrappers, including a full submission process
1909
+ (now playing at beginning, submit some times before the end).
1910
+ - New variables in the script language: `liquidsoap.version` and
1911
+ `configure.{libdir,pidfile,logdir}`.
1912
+ - Added built-in support for replay_gain, through the replay_gain protocol
1913
+ (enabled by default) and the replay gain metadata resolver (to be enabled
1914
+ using `enable_replaygain_metadata()`). (#103 & #317)
1915
+ - Reverse DNS operations can be disabled using settings keys
1916
+ `server.telnet.reverse_dns` and `harbor.reverse_dns`.
1917
+
1918
+ Experimental:
1919
+
1920
+ - MIDI: file decoding, synthesis, virtual keyboard.
1921
+
1922
+ Removed:
1923
+
1924
+ - RTP input and output.
1925
+ - Removed decoders using ocaml-natty. Slow, unmaintained and superseded
1926
+ by the mplayer decoder.
1927
+
1928
+ # 0.9.1 (18-06-2009)
1929
+
1930
+ Bugs fixed:
1931
+
1932
+ - Fixed request task not ending properly for request-driven sources (playlist,
1933
+ request.queue, request.equeue). Fixes a problem reported when reloading
1934
+ an empty playlist multiple times. (#269)
1935
+ - Fixed math.h usage in rgb_c.c.
1936
+ - Fixed append operator. (#284)
1937
+ - Fixed OSS compilation for non-linux systems.
1938
+ - Disconnect idle harbor sources after timeout has expired.
1939
+ Thanks to Roman Savrulin for reporting and fixing !
1940
+ - Taglib metadata resolver is only used on files decoded
1941
+ by the MP3 decoder.
1942
+
1943
+ New:
1944
+
1945
+ - Get a node's striping status when stripping
1946
+ blank with `strip_blank` (#260).
1947
+ - `on_connect` function for `input.harbor` now receives the
1948
+ list of headers given by the connected source (#266).
1949
+ - Added `on_end` operator, to execute a handler when a track ends.
1950
+ - Added estimated remaining time in the queue length for request-driven
1951
+ sources (`request.{equeue,queue}`, `playlist`). This allows these sources
1952
+ to prepare less files in advance. In particular, primary queue may
1953
+ only contain the file currently played. Default behaviour has been
1954
+ set to the old behaviour, and a conservative option has
1955
+ been added to switch to the new behaviour. New behavivour
1956
+ will be the default for the next release.
1957
+ fixes #169, references #146
1958
+
1959
+ # 0.9.0 (01-03-2009)
1960
+
1961
+ Bugs fixed:
1962
+
1963
+ - Fixed byte swapping function.
1964
+ - Fixed unix server socket failure (#160).
1965
+ - Fixed mp3 audio glitches when decoding
1966
+ files with picture id3v2 tags using ocaml-mad (#162).
1967
+ - Fixed liquidsoap crash on weird telnet and harbor input (#164).
1968
+ - Fixed `request.queue()` not considering initial queue on wake-up (#196).
1969
+ - Fixed source leak in `append()`.
1970
+ - Fixed `after_output` propagation in the transitions of switches (#208).
1971
+ - Fixed compilation for ocaml 3.11 (#216).
1972
+ - Fixed (again) Vorbis mono output (#211).
1973
+ - Avoid crashing on broken symlinks when parsing directories (#154).
1974
+ - Use random temporary file in liGuidsoap.
1975
+ - Fixed liGuidsoap to use the (not so) new metadata field initial_uri.
1976
+ - Fix bugs in the life cycle (sleep/wake_up) of queued request sources,
1977
+ which made `say_metadata` unfunctional.
1978
+ - Remove buggy unbuffered `{input,output}.jack`. (#231)
1979
+ - Fixed audio information sent to icecast. (#226)
1980
+ - Fixed global reset starting inactive sources. (#227)
1981
+ - Fixed shoutcast source initial answer in harbor. (#254)
1982
+ - Fixed frame and metadata duplication in cross operators. (#257)
1983
+ - Fixed several sources (outputs, external streams) that were not going
1984
+ to sleep correctly.
1985
+
1986
+ Changes:
1987
+
1988
+ - Warning: `interactive_float()` is now `interactive.float()`.
1989
+
1990
+ New:
1991
+
1992
+ - Compatible with OCaml 3.09.
1993
+ - Faster shutdown.
1994
+ - Rewrote ogg decoding, for files and streams.
1995
+ - Support for ogg skeletons, currently only used for theora.
1996
+ - Cleanup icecast class hierarchy and restart mechanism, especially
1997
+ with respect to the encoder.
1998
+ - Support for breaks and metadata in generators.
1999
+ As a result, `input.http()` and `input.harbor()` now fully support them.
2000
+ See new_track_on_metadata parameters there.
2001
+ - Switch operators (fallback,random and switch) can now replay the metadata
2002
+ of a source that has been left in the middle of a track.
2003
+ - New `force_mime` parameter for `input.http()`.
2004
+ - New `insert_missing` parameter for `append()`.
2005
+ - Multi-line strings in liq scripts, with a caml-like syntax.
2006
+ - Slight modification of the scripting syntax, handling unary minus.
2007
+ - Added `user_agent` parameter for `input.http` and `input.lastfm`
2008
+ - Added speex support for files and HTTP streams.
2009
+ - Added EXPERIMENTAL support for AU, AIFF and NSV mp3 audio files
2010
+ using ocaml-natty.
2011
+ - Added "prefix" parameter to the playlist operators. Allows to prefix
2012
+ each uri in order to force resolution through a specific protocol,
2013
+ like replaygain: for instance. (#166)
2014
+ - Support for external processes as audio encoder:
2015
+ - Added output.icecast.lame to output to icecast using the lame binary.
2016
+ - Added output.icecast.flac to output to icecast using the flac binary.
2017
+ - Full generic support awaits some changes in libshout.
2018
+ - Support for external processes as audio stream decoder:
2019
+ - Added `input.mplayer` to stream data coming from mplayer.
2020
+ - Support for external processes as audio file decoder:
2021
+ - Added support for flac audio files using the flac binary.
2022
+ - Added support for m4a files using the faad binary.
2023
+ - Added optional support for mplayer, enabled with `enable_mplayer()`.
2024
+ - Support for external metadata decoders.
2025
+ - Support for generic authentication function in harbor,
2026
+ also available for ICY (shoutcast) clients.
2027
+ - Added optional support for the samplerate library,
2028
+ and dynamic configuration of resampling routine.
2029
+ - Added `lag()` operator, which delays a stream by a constant time.
2030
+ - Initial support for PulseAudio.
2031
+ - Added experimental support for `{input,output}.marshal`, allowing
2032
+ raw communication between various liquidsoap instances.
2033
+ - Added optional alternatives to store buffered audio data:
2034
+ - raw: in memory, s16le format
2035
+ - disk: on disk, several big files
2036
+ - disk_manyfiles: on disk, a lot of small files
2037
+ See documentation for more details.
2038
+ - Added EXPERIMENTAL video support:
2039
+
2040
+ - Support for ogg/theora file input.
2041
+ - Support for ogg/theora file and icecast output
2042
+ - Support for SDL output.
2043
+ - Optional support for ocaml-gavl as video converter.
2044
+ - Support for video in _some_ existing operators, including switches, `add()`,
2045
+ metadata/track manipulations.
2046
+ - Added operators: `video.fade.*`, `video.fill`, `video.greyscale`, `video.image`,
2047
+ `video.invert`, `video.lomo`, `video.noise`, `video.opacity`, `video.opacity.blur`,
2048
+ `video.rotate`, `video.scale`, `video.sepia`, `video.text`, `video.tile`,
2049
+ `video.transparent`, `video.volume`.
2050
+
2051
+ # 0.3.8.1 (11-08-2008)
2052
+
2053
+ - Fixed metadata propagation during default transition
2054
+ in smart_crossfade
2055
+ - Changed transition evaluation order in smart_crossfade
2056
+ - Fixed transition function in smart_crossfade
2057
+
2058
+ # 0.3.8 (30-07-2008)
2059
+
2060
+ Bugs fixed:
2061
+
2062
+ - Vorbis mono output is now working
2063
+ - Fixed parameter parameter description
2064
+ in the documentation
2065
+ - Propagate new delay in add_timeout
2066
+ - Fixed inter-thread mutex lock/unlock in playlist.ml
2067
+ - Fixed "next" playlist command
2068
+ - Fixed race conditions in request_source.ml feeding task
2069
+ - cross/smartcross: raise the default for inhibition as
2070
+ setting it to exactly duration is not enough
2071
+ - Don't fail when $HOME is not set
2072
+ - Fixed metadata update in `input.harbor` with icecast2 source protocol
2073
+ - Fixed shutdown function. Fixes #153
2074
+ - Fixed `input.oss`. Liquidsoap now works with OSS4 ! Fixes #158
2075
+
2076
+ New:
2077
+
2078
+ - Added a hook to execute a function when playlist.once ends
2079
+ - Enhanced smart_crossfade
2080
+ - Added string.case and string.capitalize
2081
+ - New "exec_at" operator, to execute a function depending on a given predicate
2082
+ - Added script example in the documentation to listen to radio Nova and get
2083
+ the metadata from a web page.
2084
+ - Changed parameters name in fallback.skip to reflect who are the fallback
2085
+ and input source.
2086
+ - Added a dump file parameter to `input.harbor`, for debugging purpose.
2087
+ - Added an auth function parameter to `input.harbor` for custom
2088
+ authentifications. Fixes #157
2089
+ - Added "primary_queue" and "secondary_queue" commands to request.queue and
2090
+ request.equeue sources. Also set the metadata "queue" to either "primary"
2091
+ or "secondary" for each request in the queue. Documented it too.
2092
+ - Insert latest metadata for a node of a switch source when switching
2093
+ back to it in a middle of a track.
2094
+ - Added a 'conservative' parameter to cross, smilar to the one in smartcross.
2095
+
2096
+ Internal:
2097
+
2098
+ - Enhanced liqi documentation parser to build the website.
2099
+
2100
+ # 0.3.7 (03-06-2008)
2101
+
2102
+ Bugs fixed:
2103
+
2104
+ - Now works on FreeBSD and hopefully other unices that are stricter than
2105
+ Linux about Mutex usage.
2106
+ - `input.http()` now has a `bind_address` parameter.
2107
+ - Harbor socket now has a timeout for lost connections.
2108
+ - `smartcross()` is now more compliant with the inter-sources protocol,
2109
+ fixes several "get frame didn't change the buffer" bugs.
2110
+ - Ogg packeting bugs.
2111
+ - Buffering policy in `input.http/harbor()`.
2112
+ - No "." in IDs and labels.
2113
+ - Resources: FD leaks, useless threads (threads leaks?) in `input.http()`.
2114
+ - `fade.out()` used to run into infinite loops when the delay was 0.
2115
+
2116
+ New:
2117
+
2118
+ - New documentation system and website.
2119
+ - Self-documenting server with a more helpful "help" command.
2120
+ - Moved to duppy: less threads, lighter load, and an configurable scheduler.
2121
+ - Moved to Taglib for more reliable access to MP3 metadata.
2122
+ - MIME types, notably for playlists and MP3 files.
2123
+ - New Jack support. The old one has been renamed to `in/output.jack.legacy()`.
2124
+ - Harbor: per-mount passwords and the stop command to kick a source client.
2125
+ - Official Last.FM client.
2126
+ - Metadata is no more punctual but interval-based, which suppresses some
2127
+ surprising behaviours.
2128
+ - Perfected daemon behaviour.
2129
+ - All `output.file.*()` now have the features that used to be only in
2130
+ `output.file.vorbis()`, notable re-opening. Added %w to the strftime-like
2131
+ format codes allowed in their filename parameter.
2132
+ - Add `clear_metadata()` and `map_metadata()`. Now, `rewrite_metadata()` is a simple
2133
+ specialization of `map_metadata()`, written in utils.liq.
2134
+ - Dynamic amplification factor in `amplify()`, e.g. useful for replay gain.
2135
+ - Lots of new functions in the scripting API: for lists, requests, system
2136
+ interaction, shutdown, command-line parsing, scripted server commands, etc.
2137
+
2138
+ As always:
2139
+
2140
+ - code cleanup, style, etc.
2141
+
2142
+ # 0.3.6 (17-12-2007)
2143
+
2144
+ Bugfix release:
2145
+
2146
+ - Close Http socket
2147
+ - Add http socket timeout
2148
+ - Close playlist file after reading its content
2149
+ - Fix http redirect support for lastfm files
2150
+ - Fix file open leak in camomile support
2151
+ - Fix playlist uri ending with "/"
2152
+
2153
+ # 0.3.5 (08-11-2007)
2154
+
2155
+ Bugfix release:
2156
+
2157
+ - Fixed #57: scpls and mpegurl playlist parsing
2158
+ - Fixed #46: Late cross-scripts bindings
2159
+
2160
+ # 0.3.4 (25-09-2007)
2161
+
2162
+ Notation: "-" stands for a change, "+" for an addition.
2163
+
2164
+ - Language
2165
+ - Support for polymorphism, subtyping and basic ad-hoc polymorphism,
2166
+ which allows a much simpler API, notably for maths and serialization.
2167
+ * Added `interactive_*()` for mutable values.
2168
+ - The right syntax for settings is now set("var", value) and can be used
2169
+ anywhere in the scripts.
2170
+ - The volume parameters of most operators are now in dB.
2171
+ - Many builtin functions added.
2172
+ - Nicer type error messages.
2173
+ - Sources
2174
+ - Added `input.lastfm()` to relay last.fm streams.
2175
+ - Added `input.harbor()` to received Icecast2 source streams.
2176
+ - Added `noise()` to generate white noise
2177
+ * Reimplemented playlist support, added various xml and text formats.
2178
+ * Added mpd protocol to find files using mpd.
2179
+ - Operators
2180
+ - New effects: `compress()`, `flanger()`, `pan()`.
2181
+ - New filters: `filter.fir.*()`, `filter.iir.*()`, `filter.biquad.*()`, `comb()`.
2182
+ - Added support for LADSPA effects.
2183
+ - Added `eat_blank()` to remove blanks.
2184
+ - Outputs
2185
+ - Added non-default restart option for `output.icecast.*()`.
2186
+ - Added the possibility to tweak some settings at runtime.
2187
+ - Split `output.icecast.vorbis()` into `output.icecast.vorbis.*()` to distinguish
2188
+ between encoding modes -- and similarly for output.file.vorbis and mp3.
2189
+ - Better handling of Icecast disconnections.
2190
+ - IO
2191
+ - Added portaudio support.
2192
+ * Jack support is now somewhat working.
2193
+ - As usual, lots of bug fixes, careful polishing & much more...
2194
+
2195
+ # 0.3.3 (06-06-2007)
2196
+
2197
+ - Major cleanup of the core stream representation; moved to float arrays,
2198
+ removing several back-and-forth conversions and enhancing the perfs a lot;
2199
+ reviewed all sources and operators, made many minor enhancements btw.
2200
+ - Lots of sound processing operators: compand, compress, normalize,
2201
+ pitch, bpm, soundtouch, saw, square, etc. Add more shapes to `fade.*()`.
2202
+ - New track processing operators: insert_metadata, on_track.
2203
+ - Smart cross: allows to select a transition based on the volumes around the
2204
+ end-of-track.
2205
+ - Support for AAC encoding/decoding.
2206
+ - Several fixes to output.icecast.mp3 in order to support shoutcast servers.
2207
+ - Automatic format recognition for `input.http()`, support for playlists.
2208
+ - OSS I/O.
2209
+ - Unbuffered ALSA I/O for low latency.
2210
+ - Server interface via UNIX domain sockets.
2211
+ - Better output.file.vorbis with support for re-opening the file, appending,
2212
+ interpolate strftime format codes, etc.
2213
+ - Add pre-processing and math primitives to the language, new `_[_]` notation for
2214
+ `assoc()`, ruby-style anti-quotation `("..#{..}..")`, `add_timeout()`, `execute()`,
2215
+ `log()`...
2216
+ - Ability to tweak the internal PCM stream format.
2217
+ - Classify sources and operators in categories for more structured doc.
2218
+ - Started a few visualization operators, text and graphics based.
2219
+ - Several bug fixes: request leaks, sine frequency, switch, etc.
2220
+
2221
+ # 0.3.2 (16-03-2007)
2222
+
2223
+ - New portable output to speakers using `libao()`.
2224
+ - Updated liGuidsoap to use it until ALSA gets enhanced.
2225
+ - Implemented a decent estimation of the remaining time in a track.
2226
+ - Added the `cross()` operator allowing cross-fading.
2227
+ - Generalized `say_metadata()` into `append()` and `prepend()`.
2228
+ - Per-track settings for `cross()`, `fade.*()`, `prepend()` and `append()`
2229
+ using requests' metadatas.
2230
+ - Implemented `input.http.mp3()`, including support for icy metadata.
2231
+ - New `pipe()` operator which allows one to filter the raw audio through an
2232
+ external program. However, sox and other common tools aren't suitable for that
2233
+ because they don't flush their output often enough.
2234
+ - New `on_blank()` operator for calling a callback on excessive blanks.
2235
+ - Restart outputs on insane latencies.
2236
+ - Type checkings for settings.
2237
+ - Setting for not starting the internal telnet server.
2238
+ - Now handles old and new versions of Camomile correctly.
2239
+ - Internal fixes and polishing (switches' cached selection, empty tracks..)
2240
+
2241
+ # 0.3.1 (17-11-2006)
2242
+
2243
+ - More standards-compliant tarball
2244
+ - Generate doc with locally built liquidsoap
2245
+ - Try to cope with ill-formed mp3
2246
+ - Updated for newer versions of Camomile
2247
+ - So-called "strict" random-mode
2248
+
2249
+ # 0.3.0 (27-08-2006)
2250
+
2251
+ - Many minor and major fixes at every level!
2252
+ - Conversion of metadata to UTF8.
2253
+ - Got rid of too many threads by scheduling all download tasks
2254
+ in a single thread, and handling all of the server's clients
2255
+ in another single thread.
2256
+ - Simplified the time interval syntax and integrated it to the script language.
2257
+ - New protocol: Wget for FTP, HTTP and HTTPS.
2258
+ - Ability to define a new protocol from the script,
2259
+ typically using an external app/script for resolution, such as bubble.
2260
+ - Ability to use an external app/script for dynamically creating requests.
2261
+ - New `on_metadata` operator for performing arbitrary actions (typically
2262
+ a call to an external script) when metadata packets occur in a stream.
2263
+ - MP3 encoding, to file or shout.
2264
+ - API renamings and simplification.
2265
+ - Supports transition, as functions of type (source,source) -> source
2266
+ in all switching operators: schedule, random, fallback.
2267
+ - Restart icecast2 outputs on failures.
2268
+ - Major changes to the scripting language which is more uniform and flexible,
2269
+ has functions, a helpful (?) type inference, and a simple Ruby-like syntax.
2270
+ - Timing constraints and synchronization are managed by Root
2271
+ in a centralized way, no more by the many outputs which need it.
2272
+ - Audio decoding is no more based on file extensions,
2273
+ but on the existence of a valid decoder.
2274
+ - Added the equeue operators which allows interactive building of playlists,
2275
+ supporting insertion and moving of queued requests -- queue only allows
2276
+ you to push requests and cancel queued requests.
2277
+ - A Python-Gtk GUI for controlling operators, or more specifically as a console
2278
+ for creating your live show -- to be updated, still unstable.
2279
+ - Alsa input and output.
2280
+ - Blank detection, automatically skips on too long blanks, or strip them.
2281
+ - Http ogg/vorbis relay, the way to relay live shows.
2282
+ - Interactive mixer.
2283
+ - The request system was mostly rewritten to really fulfill its specification.
2284
+ - The server is no more associated to the queue operator but is now something
2285
+ external, in which all operators can plug commands. This much more logical
2286
+ design lead to many more interactive controls. The syntax of command outputs
2287
+ was also simplified for easier automated processing.
2288
+ - Dynamic loading of plugins.
2289
+ - Outputs are now operators. It makes it possible to output different streams
2290
+ in a single instance of Liquidsoap, which RadioPi needed. As a consequence
2291
+ we removed the restriction that one source must have at most one father,
2292
+ without any extra burden for the user.
2293
+
2294
+ # 0.2.0 (20-04-2005)
2295
+
2296
+ - Proper initial release.
2297
+
2298
+ # 0.1.0 (2004)
2299
+
2300
+ - Release for academic demonstration, not functional.