From dc61a6e7a5e3f37726054938296ef8114372bbc9 Mon Sep 17 00:00:00 2001 From: noarkhh Date: Wed, 28 Aug 2024 11:49:06 +0200 Subject: [PATCH] Satisfy credo --- lib/boombox/hls.ex | 14 ++++++++------ mix.lock | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/boombox/hls.ex b/lib/boombox/hls.ex index d96ea7e..5667a28 100644 --- a/lib/boombox/hls.ex +++ b/lib/boombox/hls.ex @@ -1,7 +1,15 @@ defmodule Boombox.HLS do @moduledoc false + import Membrane.ChildrenSpec + + require Membrane.Pad, as: Pad + + alias Boombox.Pipeline.Ready + alias Membrane.{HTTPAdaptiveStream, Time} + defmodule Uploader do + @moduledoc false use GenServer require Logger @@ -63,12 +71,6 @@ defmodule Boombox.HLS do end end - import Membrane.ChildrenSpec - - require Membrane.Pad, as: Pad - alias Boombox.Pipeline.Ready - alias Membrane.{HTTPAdaptiveStream, Time} - @spec link_output( Boombox.Pipeline.storage_type(), Path.t(), diff --git a/mix.lock b/mix.lock index 32397e7..1b4396f 100644 --- a/mix.lock +++ b/mix.lock @@ -52,7 +52,7 @@ "membrane_h265_format": {:hex, :membrane_h265_format, "0.2.0", "1903c072cf7b0980c4d0c117ab61a2cd33e88782b696290de29570a7fab34819", [:mix], [], "hexpm", "6df418bdf242c0d9f7dbf2e5aea4c2d182e34ac9ad5a8b8cef2610c290002e83"}, "membrane_h26x_plugin": {:hex, :membrane_h26x_plugin, "0.10.2", "caf2790d8c107df35f8d456b45f4e09fb9c56ce6c7669a3a03f7d59972e6ed82", [:mix], [{:bunch, "~> 1.4", [hex: :bunch, repo: "hexpm", optional: false]}, {:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:membrane_h264_format, "~> 0.6.0", [hex: :membrane_h264_format, repo: "hexpm", optional: false]}, {:membrane_h265_format, "~> 0.2.0", [hex: :membrane_h265_format, repo: "hexpm", optional: false]}], "hexpm", "becf1ac4a589adecd850137ccd61a33058f686083a514a7e39fcd721bcf9fb2e"}, "membrane_hackney_plugin": {:hex, :membrane_hackney_plugin, "0.11.0", "54b368333a23394e7cac2f4d6b701bf8c5ee6614670a31f4ebe009b5e691a5c1", [:mix], [{:hackney, "~> 1.16", [hex: :hackney, repo: "hexpm", optional: false]}, {:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:mockery, "~> 2.3", [hex: :mockery, repo: "hexpm", optional: false]}], "hexpm", "2b28fd1be3c889d5824d7d985598386c7673828c88f49a91221df3626af8a998"}, - "membrane_http_adaptive_stream_plugin": {:git, "https://github.com/membraneframework/membrane_http_adaptive_stream_plugin.git", "b898890bf870aafa03e40d5faae6ab88de0500a6", [branch: "fix-linking"]}, + "membrane_http_adaptive_stream_plugin": {:git, "https://github.com/membraneframework/membrane_http_adaptive_stream_plugin.git", "49e6f1a4e23b2e7e508df9e43f1c6c4e61204680", [branch: "fix-genserver-storage"]}, "membrane_mp4_format": {:hex, :membrane_mp4_format, "0.8.0", "8c6e7d68829228117d333b4fbb030e7be829aab49dd8cb047fdc664db1812e6a", [:mix], [], "hexpm", "148dea678a1f82ccfd44dbde6f936d2f21255f496cb45a22cc6eec427f025522"}, "membrane_mp4_plugin": {:hex, :membrane_mp4_plugin, "0.35.2", "cbedb5272ef1c8f7d9cd3c44f820a90306469b1dc84b8db30ff55bb6195b7cb2", [:mix], [{:bunch, "~> 1.5", [hex: :bunch, repo: "hexpm", optional: false]}, {:membrane_aac_format, "~> 0.8.0", [hex: :membrane_aac_format, repo: "hexpm", optional: false]}, {:membrane_cmaf_format, "~> 0.7.0", [hex: :membrane_cmaf_format, repo: "hexpm", optional: false]}, {:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:membrane_file_plugin, "~> 0.17.0", [hex: :membrane_file_plugin, repo: "hexpm", optional: false]}, {:membrane_h264_format, "~> 0.6.1", [hex: :membrane_h264_format, repo: "hexpm", optional: false]}, {:membrane_h265_format, "~> 0.2.0", [hex: :membrane_h265_format, repo: "hexpm", optional: false]}, {:membrane_mp4_format, "~> 0.8.0", [hex: :membrane_mp4_format, repo: "hexpm", optional: false]}, {:membrane_opus_format, "~> 0.3.0", [hex: :membrane_opus_format, repo: "hexpm", optional: false]}, {:membrane_timestamp_queue, "~> 0.2.1", [hex: :membrane_timestamp_queue, repo: "hexpm", optional: false]}], "hexpm", "8afd4e7779a742dd56c23f1f23053933d1b0b34d397ad368a2f56f995edb2fe0"}, "membrane_opus_format": {:hex, :membrane_opus_format, "0.3.0", "3804d9916058b7cfa2baa0131a644d8186198d64f52d592ae09e0942513cb4c2", [:mix], [], "hexpm", "8fc89c97be50de23ded15f2050fe603dcce732566fe6fdd15a2de01cb6b81afe"},