When the script is being injected into the webinterface jellyscrub won't work anymore, since both scripts try to declare the same variables in the global scope.
Since intro-skipper is injected into <head> and thus executed before jellyscrub, which is injected into <body>, jellyscrub will fail with
Uncaught SyntaxError: redeclaration of let originalFetch
<anonymous> https://jf.example.org/Trickplay/ClientScript:1
Both scripts are being injected via nginx's sub_filter module.
The nginx config look like this
Describe the bug
When the script is being injected into the webinterface jellyscrub won't work anymore, since both scripts try to declare the same variables in the global scope.
Since intro-skipper is injected into
<head>
and thus executed before jellyscrub, which is injected into<body>
, jellyscrub will fail withBoth scripts are being injected via nginx's sub_filter module. The nginx config look like this
Operating system
Ubuntu 22.04.1 LTS
Jellyfin installation method
Docker
Container image and tag
linuxserver/jellyfin:latest
Support Bundle
UnableToAddSkipButton
okay
FFmpeg version:
Jellyfin logs
No response