Open Don-Chris opened 2 weeks ago
The temporary fix didn't have any effect for me, the bug is still there.
Temporary fix didn't have any effect for me either.
The bug is probably located in commit 0c57c6d2eac9a806e7aa6be95d99a260f23adb98 not 1976274513795f0c6ac6bee50ebb9d8982af57bc. I already used an external web-client before 1.10, so I don't think that's the problem. Unless the problem didn't occur in version 1.10? I haven't tested it.
Also the skip intro (in 1.9.1) already worked with the jumoog version. Of course, using the fix from commit bc0ec5a099a7d78c467211ce438e0165a1de71c1 which was never officially "released".
Could someone test whether this build solves the problems? although not related to the error you had in the debug, it solved the problem you described, which also happened to me. https://github.com/Uncle-Tio/jmp-fork/actions/runs/9702138999/artifacts/1646047794 I also rolled back mpv, but that was to solve another issue with the subtitles.
I tested it out, and unfortunately the issue still persists.
It's still working for me and a friend, can you check if the file C:\Program Files\Jellyfin\Jellyfin Media Player\web-client\extension\skipIntroPlugin.js
has actually changed? should be 244-245 lines, if you want to compare or replace manually: https://github.com/Uncle-Tio/jmp-fork/blob/fix-skipintro/native/skipIntroPlugin.js
I'm running Jellyfin 10.9.7 + Intro Skipper 0.2.0.9
Describe the bug
Since the update of JMP from v1.10.1 to v.11.1, the Skip Intro Button is only shown in the first video stream after starting JMP. After stopping the stream and restarting the same video, the Skip Intro Button is not shown. Additionally, the skip Intro Button is always shown correctly in the browser. Since not a lot changed between these versions, the bug is probably located in commit 1976274.
To Reproduce
Expected behavior
The Skip Intro Button should be shown everytime a new video stream is started.
Desktop
Additional context
Log of the program with v1.10.1 : https://pastebin.com/A1eyec5R Log of the program with v1.11.1: https://pastebin.com/TdfF7K59 Log while debugging with edge/chrome in v1.11.1: https://pastebin.com/eD6du7e8
Debugging
Error in web-debug:
The first time a video stream is started the code in
skipIntroPlugin.js
in line 174 results in an undefined "skipIntroConfig" object. However, this time, the skip intro button can be seen. The next time, when a video stream is started, this object is valid, however the skip intro button can't be seen. It looks like the functioninjectSkipIntroHtml()
returns an undefinedskipIntroConfig
object the first time it is called, and is defined after the second time.line 173-174:
line 126 somehow returns an undefined object the first time the function
injectSkipIntroHtml()
is called:Temporary Fix
Manually overriding the lines 174 and 177 fixes the issue: