From 743566efb1b21e07d7e6b112a377d5c694a1adb3 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Fri, 3 Oct 2025 00:08:36 +0300 Subject: [PATCH 1/5] Fixes issue with simple view and background toggle due to sharing same ID. ref #431 --- ui/app/components/Settings.vue | 4 ++-- ui/app/pages/console.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/components/Settings.vue b/ui/app/components/Settings.vue index 54c671cf..312f176b 100644 --- a/ui/app/components/Settings.vue +++ b/ui/app/components/Settings.vue @@ -19,8 +19,8 @@
- -
diff --git a/ui/app/pages/console.vue b/ui/app/pages/console.vue index 14293ba0..efbf7722 100644 --- a/ui/app/pages/console.vue +++ b/ui/app/pages/console.vue @@ -25,7 +25,7 @@ - Console Output + Output

From 3072a5e66b5bbfe57b369d74aec0e1aee01d9026 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sat, 4 Oct 2025 21:51:24 +0300 Subject: [PATCH 2/5] Add locales to final image. --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0132a114..c3db1072 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,9 +51,12 @@ RUN mkdir /config /downloads && ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime ARCH="$(dpkg --print-architecture)" && \ EXTRA_PACKAGES="" && \ if [ "$ARCH" = "amd64" ]; then EXTRA_PACKAGES="intel-media-va-driver i965-va-driver libmfx-gen1.2"; fi && \ - apt-get install -y --no-install-recommends \ + apt-get install -y --no-install-recommends locales \ bash mkvtoolnix patch aria2 curl ca-certificates xz-utils git sqlite3 tzdata file libmagic1 vainfo ${EXTRA_PACKAGES} \ && useradd -u ${USER_ID:-1000} -U -d /app -s /bin/bash app \ + sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + dpkg-reconfigure --frontend=noninteractive locales && \ + update-locale LANG=en_US.UTF-8 \ && rm -rf /var/lib/apt/lists/* COPY entrypoint.sh / @@ -70,6 +73,9 @@ COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno COPY --chown=app:app ./healthcheck.sh /usr/local/bin/healthcheck ENV PATH="/opt/python/bin:$PATH" +ENV LANG=en_US.UTF-8 +ENV LANGUAGE=en_US:en +ENV LC_ALL=en_US.UTF-8 RUN chown -R app:app /config /downloads && \ chmod +x /usr/local/bin/healthcheck /usr/bin/mp4box /usr/bin/ffmpeg /usr/bin/ffprobe /usr/bin/deno From 74103f3e56afab9dd4de10fe9c2f03282d831df7 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sat, 4 Oct 2025 21:54:24 +0300 Subject: [PATCH 3/5] fix --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c3db1072..51028cce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ RUN mkdir /config /downloads && ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime if [ "$ARCH" = "amd64" ]; then EXTRA_PACKAGES="intel-media-va-driver i965-va-driver libmfx-gen1.2"; fi && \ apt-get install -y --no-install-recommends locales \ bash mkvtoolnix patch aria2 curl ca-certificates xz-utils git sqlite3 tzdata file libmagic1 vainfo ${EXTRA_PACKAGES} \ - && useradd -u ${USER_ID:-1000} -U -d /app -s /bin/bash app \ + && useradd -u ${USER_ID:-1000} -U -d /app -s /bin/bash app && \ sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ dpkg-reconfigure --frontend=noninteractive locales && \ update-locale LANG=en_US.UTF-8 \ From d51ca37ace065e59cb6e1c98efca7ed10816e1d1 Mon Sep 17 00:00:00 2001 From: arabcoders Date: Sun, 5 Oct 2025 18:37:37 +0300 Subject: [PATCH 4/5] added the ability to reconnect --- ui/app/components/Connection.vue | 16 +++++++++++++ ui/app/components/Simple.vue | 17 +++++++++++-- ui/app/layouts/default.vue | 22 +++++++++++++++-- ui/app/stores/SocketStore.ts | 41 ++++++++++++++++++++++++++++---- 4 files changed, 88 insertions(+), 8 deletions(-) create mode 100644 ui/app/components/Connection.vue diff --git a/ui/app/components/Connection.vue b/ui/app/components/Connection.vue new file mode 100644 index 00000000..0e5ac902 --- /dev/null +++ b/ui/app/components/Connection.vue @@ -0,0 +1,16 @@ + + + diff --git a/ui/app/components/Simple.vue b/ui/app/components/Simple.vue index b90805cc..a24e7dc9 100644 --- a/ui/app/components/Simple.vue +++ b/ui/app/components/Simple.vue @@ -6,8 +6,9 @@

@@ -542,6 +543,18 @@ const showMessage = (item: StoreItem) => { } return (item.msg?.length || 0) > 0 } + +const connectionStatusColor = computed(() => { + switch (socketStore.connectionStatus) { + case 'connected': + return 'has-text-success' + case 'connecting': + return 'has-text-warning fa-spin' + case 'disconnected': + default: + return 'has-text-danger' + } +})