From 0688e880f55e77cda6e47ee7d62face006075281 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Sat, 27 Sep 2025 10:20:33 -0700 Subject: [PATCH 1/5] Added yt=dlp for arm64 --- docker/dev.Dockerfile | 6 +++++- docker/selfhosted.Dockerfile | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docker/dev.Dockerfile b/docker/dev.Dockerfile index 8ceadee..04a3e13 100644 --- a/docker/dev.Dockerfile +++ b/docker/dev.Dockerfile @@ -35,7 +35,11 @@ RUN curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh && \ # Install Deno - required for YouTube downloads (See yt-dlp#14404) curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh -s -- -y --no-modify-path && \ # Download and update YT-DLP - curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \ + export YT_DLP_DOWNLOAD=$(case ${TARGETPLATFORM:-linux/amd64} in \ + "linux/amd64") echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux" ;; \ + "linux/arm64") echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64" ;; \ + *) echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux" ;; esac) && \ + curl -L ${YT_DLP_DOWNLOAD} -o /usr/local/bin/yt-dlp && \ chmod a+rx /usr/local/bin/yt-dlp && \ yt-dlp -U && \ # Install Apprise diff --git a/docker/selfhosted.Dockerfile b/docker/selfhosted.Dockerfile index 0bbc0d0..ed0bb0b 100644 --- a/docker/selfhosted.Dockerfile +++ b/docker/selfhosted.Dockerfile @@ -104,7 +104,11 @@ RUN apt-get update -y && \ export PIPX_BIN_DIR=/usr/local/bin && \ pipx install apprise && \ # yt-dlp - curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux -o /usr/local/bin/yt-dlp && \ + export YT_DLP_DOWNLOAD=$(case ${TARGETPLATFORM:-linux/amd64} in \ + "linux/amd64") echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux" ;; \ + "linux/arm64") echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64" ;; \ + *) echo "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux" ;; esac) && \ + curl -L ${YT_DLP_DOWNLOAD} -o /usr/local/bin/yt-dlp && \ chmod a+rx /usr/local/bin/yt-dlp && \ yt-dlp -U && \ # Set the locale From 163e8eb8ccef84c3f71f274634a61820562f34be Mon Sep 17 00:00:00 2001 From: Googleplex Date: Sun, 28 Sep 2025 12:31:17 +0800 Subject: [PATCH 2/5] Update selfhosted.Dockerfile (#802) --- docker/selfhosted.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/selfhosted.Dockerfile b/docker/selfhosted.Dockerfile index ed0bb0b..17f7af7 100644 --- a/docker/selfhosted.Dockerfile +++ b/docker/selfhosted.Dockerfile @@ -73,6 +73,7 @@ RUN mix release FROM ${RUNNER_IMAGE} +ARG TARGETPLATFORM ARG PORT=8945 COPY --from=builder ./usr/local/bin/ffmpeg /usr/bin/ffmpeg From d38c26f6fde498c889516ed7ccc9b6411b7d99a5 Mon Sep 17 00:00:00 2001 From: Edward Horsey <58594573+edwardhorsey@users.noreply.github.com> Date: Tue, 16 Dec 2025 17:28:51 +0000 Subject: [PATCH 3/5] Enable overflow scroll for tables inside tabs (#822) --- .../components/custom_components/tab_components.ex | 2 +- .../controllers/sources/source_html/media_item_table_live.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pinchflat_web/components/custom_components/tab_components.ex b/lib/pinchflat_web/components/custom_components/tab_components.ex index baade53..e566b58 100644 --- a/lib/pinchflat_web/components/custom_components/tab_components.ex +++ b/lib/pinchflat_web/components/custom_components/tab_components.ex @@ -41,7 +41,7 @@ defmodule PinchflatWeb.CustomComponents.TabComponents do {render_slot(@tab_append)} -
+
{render_slot(tab)}
diff --git a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex index 604ee49..de4c7ab 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex +++ b/lib/pinchflat_web/controllers/sources/source_html/media_item_table_live.ex @@ -23,7 +23,7 @@ defmodule PinchflatWeb.Sources.MediaItemTableLive do
<.icon_button icon_name="hero-arrow-path" class="h-10 w-10" phx-click="reload_page" tooltip="Refresh" /> - + Showing <.localized_number number={length(@records)} /> of <.localized_number number={@filtered_record_count} /> From 6cb715c1d0c0873d7f3fc060ba34bec837c5fe6e Mon Sep 17 00:00:00 2001 From: Daniel Da Cunha Date: Wed, 17 Dec 2025 01:29:32 +0800 Subject: [PATCH 4/5] Move Active Tasks to tab in Media History section (#836) Consolidate the home page UI by moving Active Tasks from a separate section into a third tab alongside Downloaded and Pending tabs. Co-authored-by: Daniel --- .../controllers/pages/page_html/home.html.heex | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/pinchflat_web/controllers/pages/page_html/home.html.heex b/lib/pinchflat_web/controllers/pages/page_html/home.html.heex index 1579c31..6d3b36f 100644 --- a/lib/pinchflat_web/controllers/pages/page_html/home.html.heex +++ b/lib/pinchflat_web/controllers/pages/page_html/home.html.heex @@ -56,12 +56,8 @@ session: %{"media_state" => "pending"} )} + <:tab title="Active Tasks" id="active-tasks"> + {live_render(@conn, Pinchflat.Pages.JobTableLive)} +
- -
- Active Tasks -
- {live_render(@conn, Pinchflat.Pages.JobTableLive)} -
-
From 67d8bd5598f4461c5435bcc66fc8d02b00c607cb Mon Sep 17 00:00:00 2001 From: Felix Jancso-Szabo Date: Tue, 16 Dec 2025 12:30:00 -0500 Subject: [PATCH 5/5] Fix spelling of 'Unaffected' in help texts (#838) Noticed this while setting up pinchflat, figured I'd submit a fix. --- .../media_profile_html/media_profile_form.html.heex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex index fb83857..618cc7a 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex @@ -100,7 +100,7 @@ field={f[:embed_subs]} type="toggle" label="Embed Subtitles" - help="Downloads and embeds subtitles in the media file itself, if supported. Uneffected by 'Download Subtitles'" + help="Downloads and embeds subtitles in the media file itself, if supported. Unaffected by 'Download Subtitles'" x-init="$watch('selectedPreset', p => p && (enabled = presets[p]))" /> @@ -154,7 +154,7 @@ field={f[:embed_thumbnail]} type="toggle" label="Embed Thumbnail" - help="Downloads and embeds thumbnail in the media file itself, if supported. Uneffected by 'Download Thumbnail' (recommended)" + help="Downloads and embeds thumbnail in the media file itself, if supported. Unaffected by 'Download Thumbnail' (recommended)" x-init="$watch('selectedPreset', p => p && (enabled = presets[p]))" /> @@ -178,7 +178,7 @@ field={f[:embed_metadata]} type="toggle" label="Embed Metadata" - help="Downloads and embeds metadata in the media file itself, if supported. Uneffected by 'Download Metadata' (recommended)" + help="Downloads and embeds metadata in the media file itself, if supported. Unaffected by 'Download Metadata' (recommended)" x-init="$watch('selectedPreset', p => p && (enabled = presets[p]))" />