ConfusedPolarBear / intro-skipper

Fingerprint audio to automatically detect and skip intro sequences in Jellyfin
GNU General Public License v3.0
984 stars 363 forks source link

Breaking Jellyscrub #173

Closed fedonr closed 1 year ago

fedonr commented 1 year ago

Describe the bug

Jellyscrub injection error after adding intoskipper, using the modified web interface as instructed here : https://github.com/ConfusedPolarBear/intro-skipper/blob/master/docs/web_interface.md

Operating system

Debain 11

Jellyfin installation method

Docker (Linux server)

Container image and tag

lscr.io/linuxserver/jellyfin:latest

Support Bundle

FFmpeg version:

ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11 (Ubuntu 11.3.0-1ubuntu1~22.04)
configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-libs=-lfftw3f --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libsvtav1 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-opencl --enable-vaapi --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil      57. 28.100 / 57. 28.100
libavcodec     59. 37.100 / 59. 37.100
libavformat    59. 27.100 / 59. 27.100
libavdevice    59.  7.100 / 59.  7.100
libavfilter     8. 44.100 /  8. 44.100
libswscale      6.  7.100 /  6.  7.100
libswresample   4.  7.100 /  4.  7.100
libpostproc    56.  6.100 / 56.  6.100

Jellyfin logs

[04:19:43] [INF] [1] Nick.Plugin.Jellyscrub.JellyscrubPlugin: Attempting to inject trickplay script code in /usr/share/jellyfin/web/index.html
[04:19:43] [ERR] [1] Nick.Plugin.Jellyscrub.JellyscrubPlugin: Encountered exception while writing to /usr/share/jellyfin/web/index.html: System.IO.IOException: Read-only file system : '/usr/share/jellyfin/web/index.html'
ConfusedPolarBear commented 1 year ago

Change the web interface mount from read-only (:ro) to read-write (:rw).

fedonr commented 1 year ago

Thanks a lot, I thought of it as it was an issue due to read only, but thought of asking it here anyway, as I was skeptical changing it to :rw would make container's default web interface to overwrite files in Dist.

Thank you for the revert, would do that right away.