nicknsy / jellyscrub

Smooth mouse-over video scrubbing previews for Jellyfin.
MIT License
660 stars 25 forks source link

I can't seem to get this to work #139

Closed sheamaus closed 5 months ago

sheamaus commented 5 months ago

I've been having some trouble getting this to work with my set up. I've got Jellyfin running in Docker and I've tried both without any User ID and with (second one I tried because my other Docker apps use them and download the media.)

Here's an output from the log file without any ID set in Docker...

[2024-02-18 00:35:04.420 +00:00] [INF] [23] Nick.Plugin.Jellyscrub.Drawing.VideoProcessor: Creating trickplay files at 320 width, for "/Media/Movies/Dungeons and Dragons Honor Among Thieves (2023) [imdbid-tt2906216]/Dungeons and Dragons Honor Among Thieves (2023) [imdbid-tt2906216] - [Bluray-1080p][DTS 5.1][8bit][x264]-MgB.mkv" [ID: 01c313f2-1f7f-86a3-3778-a2d71bbfe2c2] [2024-02-18 00:35:04.427 +00:00] [INF] [23] Nick.Plugin.Jellyscrub.Drawing.OldMediaEncoder: /usr/lib/jellyfin-ffmpeg/ffmpeg -loglevel error -init_hw_device vaapi=va:,kernel_driver=i915,driver=iHD -init_hw_device qsv=qs@va -filter_hw_device qs -hwaccel vaapi -hwaccel_output_format vaapi -autorotate 0 -i file:"/Media/Movies/Dungeons and Dragons Honor Among Thieves (2023) [imdbid-tt2906216]/Dungeons and Dragons Honor Among Thieves (2023) [imdbid-tt2906216] - [Bluray-1080p][DTS 5.1][8bit][x264]-MgB.mkv" -autoscale 0 -an -sn -vf "fps=1/10,setparams=color_primaries=bt709:color_trc=bt709:colorspace=bt709,scale_vaapi=w=320:h=134:format=nv12:extra_hw_frames=24,hwmap=derive_device=qsv,format=qsv" -threads 0 -c:v mjpeg_qsv -f image2 "/cache/temp/c370776b464144cc877f4740a0c2ae61/img_%08d.jpg" [2024-02-18 00:35:04.437 +00:00] [INF] [23] Nick.Plugin.Jellyscrub.Drawing.OldMediaEncoder: Setting generation process priority to BelowNormal [2024-02-18 00:35:04.441 +00:00] [WRN] [23] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.5.60:8096/Trickplay/01c313f21f7f86a33778a2d71bbfe2c2/GetManifest" to "192.168.5.164" in 0:00:01.3399815 with Status Code 503 [2024-02-18 00:35:04.464 +00:00] [WRN] [26] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.5.60:8096/Sessions/Playing" to "192.168.5.164" in 0:00:01.3827348 with Status Code 204 [2024-02-18 00:35:06.664 +00:00] [WRN] [27] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.5.60:8096/Sessions/Playing/Progress" to "192.168.5.164" in 0:00:02.227807 with Status Code 204 [2024-02-18 00:35:08.314 +00:00] [INF] [20] Jellyfin.Api.Helpers.TranscodingJobHelper: Stopping ffmpeg process with q command for "/config/transcodes/a36dd28ece98d745337416948692924d.m3u8" [2024-02-18 00:35:08.349 +00:00] [INF] [20] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 0 [2024-02-18 00:35:08.350 +00:00] [INF] [20] Jellyfin.Api.Helpers.TranscodingJobHelper: Deleting partial stream file(s) "/config/transcodes/a36dd28ece98d745337416948692924d.m3u8" [2024-02-18 00:35:09.914 +00:00] [INF] [8] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.8.13" playing "Dungeons & Dragons: Honor Among Thieves". Stopped at "4984" ms [2024-02-18 00:35:11.190 +00:00] [WRN] [8] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://192.168.5.60:8096/Sessions/Playing/Stopped" to "192.168.5.164" in 0:00:02.888009 with Status Code 204

nicknsy commented 5 months ago

What issues are you having specifically? The log you provided does not have any errors as far as I can see.

sheamaus commented 5 months ago

Thanks for your reply.

The problem I’m having is that there’s no previews showing when scrubbing, just the normal time stamp. I tried this in chrome and also Firefox to check if it was specific to the browser.

On 18 Feb 2024, at 01:03, Nick @.***> wrote:



What issues are you having specifically? The log you provided does not have any errors as far as I can see.

— Reply to this email directly, view it on GitHubhttps://github.com/nicknsy/jellyscrub/issues/139#issuecomment-1950682883, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3M3LWFEE24W4PZXRZZQXM3YUFHNRAVCNFSM6AAAAABDNWTIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGY4DEOBYGM. You are receiving this because you authored the thread.Message ID: @.***>

Catsrules commented 5 months ago

An easy way I have found to see if the script actually got added is viewing the webpage source of your Jellyfin server using your web browser.

This

It will be at the very end of the file if it got added.

I have also had issues with browser cache keeping the old version so you need to use crtl+F5 to force a reload.

You can also browse in the Jellyfin docker itself

It should be located here

/usr/share/jellyfin/web/index.html

sheamaus commented 5 months ago

I had ctrl + f5’d, and Firefox had never visited the jellyfish page before so I didn’t think that would be the issue.

The matter has managed to resolve itself overnight somehow and the plugin is now working as expected.

Thanks for your time!

On 18 Feb 2024, at 12:24, Catsrules @.***> wrote:



An easy way I have found to see if the script actually got add is viewing the webpage source of your Jellyfin server using your web browser.

This

It will be at the very end of the file if it got added.

I have also had issues with browser cache keeping the old version so you need to use crtl+F5 to force a reload.

You can also browse in the Jellyfin docker itself

It should be located here

/usr/share/jellyfin/web/index.html

— Reply to this email directly, view it on GitHubhttps://github.com/nicknsy/jellyscrub/issues/139#issuecomment-1951284868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3M3LWBSEGM5JNXLF5TAVGDYUHXIXAVCNFSM6AAAAABDNWTIC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRGI4DIOBWHA. You are receiving this because you authored the thread.Message ID: @.***>