Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

The plugin fails to detect introductions, causing the "Detect Introductions" task to abruptly terminate without an error #168

Open
rotaruandrei93 opened this issue May 19, 2023 · 19 comments
Labels
bug Something isn't working

Comments

@rotaruandrei93
Copy link

rotaruandrei93 commented May 19, 2023

Describe the bug

Steps to reproduce:

  1. Install the latest version of Jellyfin for Windows.
  2. Install jellyfin-ffmpeg.
  3. Install the intro-skipper plugin.
  4. Replace the jellyfin-web folder contents with the version provided on GitHub.

Expected behavior:

  • When running the scheduled task (manually or automatically) to detect and skip introductions, the task should execute successfully.

Actual behavior:

  • Upon running the scheduled task, it abruptly finishes within 1 second, without displaying a (Failed) status or any error in the logs. The skip-intro button and auto-skip features do not function.

Notes

  • The libraries are separated into Movies and Shows, I even tried to specify scanning only the Shows one

task

Operating system

Windows 11 Pro 22H2

Jellyfin installation method

Windows Installer

Container image and tag

No response

Support Bundle

  • Jellyfin version: 10.8.9
  • Plugin version: 0.1.7
  • Queue contents: 17 episodes, 17 seasons
  • FFmpeg: okay

FFmpeg version:

ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12-win32 (GCC)
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lfftw3f -lstdc++' --extra-cflags=-DCHROMAPRINT_NODLL --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --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

No response

@rotaruandrei93 rotaruandrei93 added the bug Something isn't working label May 19, 2023
@chris2677
Copy link

I'm having the same problem on Windows 11 22h2

@pavichokche
Copy link

pavichokche commented Jun 2, 2023

Same problem, Windows 10 Pro 22H2, AMD 5600G.

  • Jellyfin version: 10.8.10
  • Plugin version: 0.1.7
  • Queue contents: 0 episodes, 0 seasons
  • FFmpeg: okay

FFmpeg version:

ffmpeg version 5.1.3-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 12-win32 (GCC)
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lfftw3f -lstdc++' --extra-cflags=-DCHROMAPRINT_NODLL --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --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

@nathangur
Copy link

Same problem on a rpi4. No errors, no problems,
Jellyfin 10.8.10
Plugin version 0.1.7

@Vextryyn
Copy link

Same issue, gets to between 7 and 9% then hangs for 10 seconds then says complete, no intros skip. tried adjusting EDL section, Modify introduction requirements and advanced. cleared cache, reinstalled then restarted

  • Jellyfin version: 10.8.10
  • Plugin version: 0.1.7
  • Queue contents: 2621 episodes, 179 seasons
  • FFmpeg: okay

FFmpeg version:

ffmpeg version 6.0-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12-win32 (GCC)
configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

@Vextryyn
Copy link

Found a solution. I changed parallelism to 3 and it actually scanned my whole library and next to each episode is the edl files it wasn't generating before

@chris2677
Copy link

chris2677 commented Jul 13, 2023 via email

@Vextryyn
Copy link

Vextryyn commented Jul 14, 2023

Do you have any instructions on how to do this, I haven't a clue of what you just said.

On Tue., Jul. 11, 2023, 11:37 a.m. Vextryyn, @.> wrote: Found a solution. I changed parallelism to 3 and it actually scanned my whole library and next to each episode is the edl files it wasn't generating before — Reply to this email directly, view it on GitHub <#168 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APDORD7TGSUVGVGJ6L3H4E3XPWMM5ANCNFSM6AAAAAAYHXG4E4 . You are receiving this because you commented.Message ID: @.>
image

Think my image is there, go to plugins and under my plugins click intro skipper. there is no hidden menu for it, nothing special.
I have extras but that didnt affect the scanning for me.

Edit: one more note, i need to refresh my page after saving to see my changes, sometimes 2 or 3 times and on the rare occasion i just need to restart server then referesh

@chris2677
Copy link

chris2677 commented Jul 14, 2023 via email

@pavichokche
Copy link

For me changing paralellism to 3 didn't help, nor 2. I get an instant failure as soon as I manually run the scheduled task. The plugin is still working, for older episodes which were already processed.

@Vextryyn
Copy link

Vextryyn commented Jul 18, 2023

For me changing paralellism to 3 didn't help, nor 2. I get an instant failure as soon as I manually run the scheduled task. The plugin is still working, for older episodes which were already processed.

Ok so I got that too, I restarted, rescanned then ran intro detector.

One more thing I did you can try, but wasn't working for me before I touched paralell, was adding it to the end of the ini before jellyscrub

<script plugin="introskipper" version=0.1.7> (that's close but not at my PC to get exact. Plugin is folder name then version is the skipper ver.) One more note: parallelism is just how many episodes it scans at a time, I think there is an error in the math logic

@DexLuther
Copy link

I find that this happens when I try to erase timestamps or run the scheduled task from within Jellyfin Media Player (on Windows 10). I also have issues scrolling through shows under the advanced menu.

It works perfectly if I do any of this through Firefox though.

@pavichokche
Copy link

pavichokche commented Sep 5, 2023

I think I have resolved the issue of not being able to scan anymore - I think when the source for your libraries changes Introskipper loses track somehow, even if the same directory is restored. That's the only explanation I can give, because I know that I had to mess around with the storage that my libraries' content is stored on.

Anyway, by simply re-creating my libraries (creating an identical library with a new name, assigning that to the appropriate users, deleting the old library and giving the new one the same name as the original) and then pointing Introskipper to the new library works. It's now scanning and working properly :D

@Cifer9516
Copy link

Cifer9516 commented Sep 14, 2023

Not working no matter what. Instantly fails just like OP posted
Jellyfin 10.8.10-2
Arch-linux
ffmpeg 6

update.
ffmpeg 5 doesn't work either. Older versions of intro-skipper same issue as well.

@pavichokche
Copy link

Not working no matter what. Instantly fails just like OP posted Jellyfin 10.8.10-2 Arch-linux ffmpeg 6

Did you try to create a brand new library (not mixed type), wait for it to finish scanning, and then have intro skipper analyze it ONLY, none of your other existing ones? This has worked for me 100% with two brand new libraries (identical two of my existing ones).

In my process I also blew away the existing data introskipper had collected and uninstalled/reinstalled it, that might be needed to sidestep any possibly corrupted files.

@Cifer9516
Copy link

Cifer9516 commented Sep 14, 2023

Not working no matter what. Instantly fails just like OP posted Jellyfin 10.8.10-2 Arch-linux ffmpeg 6

Did you try to create a brand new library (not mixed type), wait for it to finish scanning, and then have intro skipper analyze it ONLY, none of your other existing ones? This has worked for me 100% with two brand new libraries (identical two of my existing ones).

In my process I also blew away the existing data introskipper had collected and uninstalled/reinstalled it, that might be needed to sidestep any possibly corrupted files.

My libraries are separated and well tagged. But ill try full library rescan and update this comment. I have tried pointing plugin to my Shows folder with no result

edit
Done a full scan of my library, same issue.
Moved whole library elsewhere, created new shows folder with 1 show in it, fully tagged and english named. Same issue.

@pavichokche
Copy link

pavichokche commented Sep 14, 2023

edit Done a full scan of my library, same issue. Moved whole library elsewhere, created new shows folder with 1 show in it, fully tagged and english named. Same issue.

Did you fully uninstall the plugin at any point yet, and afterwards ONLY have it analyze this new library? You can back up its plugin data folder and put it back after.

@Cifer9516
Copy link

Cifer9516 commented Sep 14, 2023

edit Done a full scan of my library, same issue. Moved whole library elsewhere, created new shows folder with 1 show in it, fully tagged and english named. Same issue.

Did you fully uninstall the plugin at any point yet, and afterwards ONLY have it analyze this new library? You can back up its plugin data folder and put it back after.

Removed plugin associated files from /var/lib/jellyfin/plugins/configurations after deletion and installed it again, still instantly fails
Maybe there is a permission problem of some kind? Ill investigate that next

@pavichokche
Copy link

pavichokche commented Sep 14, 2023

edit Done a full scan of my library, same issue. Moved whole library elsewhere, created new shows folder with 1 show in it, fully tagged and english named. Same issue.

Did you fully uninstall the plugin at any point yet, and afterwards ONLY have it analyze this new library? You can back up its plugin data folder and put it back after.

Removed plugin associated files from /var/lib/jellyfin/plugins/configurations after deletion and installed it again, till instantly fails Maybe there is a permission problem of some kind? Ill investigate that next

Right, so I think I did this same process first and was baffled that fully resetting the plugin causes it to keep failing the same way. That's why I decided to look at my libraries instead, since that was the only remaining part in common with the old installation of the plugin. I made a brand new library to point the newly installed plugin to, and only to this new one. At that point it started working successfully for me...I'm on Windows but I'm fairly certain this bug isn't OS-based. If there is a permission of some kind that it's lacking, for me it was resolved by creating a new library, even if it ended up being a carbon copy of the old library which was causing it to fail.

@Cifer9516
Copy link

Cifer9516 commented Sep 21, 2023

so... turns out the issue was wrong address to an ffmpeg location mostly because i was inattentive during server setup :P
Arch Linux correct path /usr/lib/jellyfin-ffmpeg/ffmpeg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants