intro-skipper icon indicating copy to clipboard operation
intro-skipper copied to clipboard

[Bug]: Scheduled tasks fail instantly and the most files faild but a few files succeed

Open Angelholl opened this issue 1 year ago • 13 comments

Self service debugging

  • [X] Jellyfin is updated and my permissions are correct (or I did not use Docker)

Describe the bug

I strictly followed the instructions and prompts to check the plugin, but there are still scheduled tasks that fail immediately. However, when I was cleaning my episodes, I found that a very small portion had successful, and these successful episodes were not much different from others

Jellyfin install method

windows

Container image/tag or Jellyfin version

jellyfin:10.9.9

Operating System

windows 10

IMDb ID of that TV Series

No response

Support Bundle

* Jellyfin version: 10.9.9
* Plugin version: 0.2.0+92aa5fef8806
* Queue contents: 329 episodes, 65 seasons
* Warnings: `None`
* FFmpeg: `okay`

FFmpeg version:

ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13-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


### Jellyfin logs

```shell
[2024-08-16 04:04:09.108 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Analysis settings have been changed to: 25% / 7m and a minimum of 15s
[2024-08-16 04:04:09.129 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "待整理"
[2024-08-16 04:04:09.133 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "日本"
[2024-08-16 04:04:09.145 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "自拍"
[2024-08-16 04:04:09.173 +08:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Clean Intro Skipper Cache" Completed after 0 minute(s) and 0 seconds
[2024-08-16 04:04:09.780 +08:00] [INF] [21] ConfusedPolarBear.Plugin.IntroSkipper.DetectCreditsTask: Scheduled Task is starting
[2024-08-16 04:04:09.946 +08:00] [INF] [21] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Analysis settings have been changed to: 25% / 7m and a minimum of 15s
[2024-08-16 04:04:09.964 +08:00] [INF] [21] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "待整理"
[2024-08-16 04:04:09.968 +08:00] [INF] [21] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "日本"
[2024-08-16 04:04:09.979 +08:00] [INF] [21] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "自拍"
[2024-08-16 04:04:10.000 +08:00] [INF] [21] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Detect Credits" Completed after 0 minute(s) and 0 seconds
[2024-08-16 04:04:10.389 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.DetectIntrosTask: Scheduled Task is starting
[2024-08-16 04:04:10.613 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Analysis settings have been changed to: 25% / 7m and a minimum of 15s
[2024-08-16 04:04:10.630 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "待整理"
[2024-08-16 04:04:10.634 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "日本"
[2024-08-16 04:04:10.645 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "自拍"
[2024-08-16 04:04:10.666 +08:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Detect Intros" Completed after 0 minute(s) and 0 seconds
[2024-08-16 04:04:11.021 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.DetectIntrosCreditsTask: Scheduled Task is starting
[2024-08-16 04:04:11.615 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Analysis settings have been changed to: 25% / 7m and a minimum of 15s
[2024-08-16 04:04:11.638 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "待整理"
[2024-08-16 04:04:11.642 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "日本"
[2024-08-16 04:04:11.653 +08:00] [INF] [23] ConfusedPolarBear.Plugin.IntroSkipper.QueueManager: Running enqueue of items in library "自拍"
[2024-08-16 04:04:11.673 +08:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Detect Intros and Credits" Completed after 0 minute(s) and 0 seconds
[2024-08-16 04:04:29.671 +08:00] [INF] [26] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds
[2024-08-16 04:04:59.672 +08:00] [INF] [23] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Webhook Item Added Notifier" Completed after 0 minute(s) and 0 seconds

Angelholl avatar Aug 15 '24 20:08 Angelholl

Does it still fail if you change the library name to English?

AbandonedCart avatar Aug 15 '24 21:08 AbandonedCart

Does it still fail if you change the library name to English?

yes,first i change the name that use english,then i restart jellyfin, but its no effect at all

Angelholl avatar Aug 16 '24 13:08 Angelholl

Alright. I had a feeling it wouldn't change anything because the logs handled it without issue.

AbandonedCart avatar Aug 16 '24 14:08 AbandonedCart

Is this still an issue in the latest version?

AbandonedCart avatar Oct 06 '24 13:10 AbandonedCart

There is a similar problem for me, it fails but than I run the scan agian and it fails but less episodes failed and I scan agian and again until it does not failed, I can do a screen recording for this, I don't know if it's the same problem as his

dredstone1 avatar Oct 06 '24 14:10 dredstone1

Probably not worth recording, since all that does is confirm your explanation is true.

AbandonedCart avatar Oct 06 '24 14:10 AbandonedCart

please reopen when it still happens

jumoog avatar Oct 06 '24 20:10 jumoog

Is this still an issue in the latest version?

The situation has not improved yet, and I am now forced to manually edit using other software in my free time

Angelholl avatar Oct 07 '24 04:10 Angelholl

The situation has not improved yet, and I am now forced to manually edit using other software in my free time

To be fair, we are all doing this in our free time. Considering the amount of changes the code have gone through, it may be worth posting a fresh log.

AbandonedCart avatar Oct 07 '24 10:10 AbandonedCart

Is the option Display specials within seasons they aired in unchecked under Library -> Display?

rlauuzo avatar Oct 07 '24 11:10 rlauuzo

Is the option Display specials within seasons they aired in unchecked under Library -> Display?

Go to Dashboard -> Libraries -> Display - i just find an option titled "Show special episodes airing mid-season," I tried again and spent 13 hours unable to complete the task because the progress bar remained at 9%. I don't know if this is because I've been organizing my movie list lately, but this is good news because I won't have to finish it in 1 minute anymore

Angelholl avatar Oct 08 '24 15:10 Angelholl

If you have a lot of shows (especially without chapter markers), it will take a lot of time.

AbandonedCart avatar Oct 08 '24 15:10 AbandonedCart

如果您有很多节目(尤其是没有章节标记),则会花费大量时间。

I think so too, but it involves several T resources that need to be reorganized, classified, transcoded, compiled, and compressed. Recently, I cannot fully try to wait for it to finish scanning. But thank everyone who are still paying attention to the bug I submitted

Angelholl avatar Oct 08 '24 16:10 Angelholl