nicknsy / jellyscrub

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

It just not working (Self-hosted - Script on index.html) #91

Closed tr1p0p closed 1 year ago

tr1p0p commented 1 year ago

So, it's been a week it install this extension but i thin it just... doesn't do nothing ?

BIF is generated, i followed instruction, edit index.html, nothing.

I have a selfhosted jellyfin install with yunohost on a x86_64 computer, i don't know why it's just not working, logs show still error on script injection despite the fact it's in index.html.

Don't show nothing about this on logs, on dev log on my browser. So it's pretty confusing.

Any help on this ? Is this issue with my installation ?

nicknsy commented 1 year ago

They plugin will not log an error if it finds the script injected in the index.html, so it sounds like it was not correctly put in.

Could you paste the part where you injected the script as well as the some of the surrounding html? Could you also post the error logged by jellyscrub?

tr1p0p commented 1 year ago

Well i just edit with nano the index.html from /usr/share/jellyfin/web folder. I could give you the index.html file here but it's not very hard to just put a line on a .html files so it's weird.

It's also talk about permission error.

Here logs around this, and index.html code :

index.html

<body>
<div class="backdropContainer"/>
<div class="backgroundContainer"/>
<div class="mainDrawer hide">
<div class="mainDrawer-scrollContainer scrollContainer focuscontainer-y"/>
</div>
<div class="skinHeader focuscontainer-x"/>
<div class="mainAnimatedPages skinBody">
<div class="splashLogo"/>
</div>
<div class="mainDrawerHandle"/>
<script plugin="Jellyscrub" version="1.0.0.0" src="/Trickplay/ClientScript"/>
</body>
</html>

logs :

Hum, it don't find log around jellyscrub anymore...

nicknsy commented 1 year ago

If you access jellyfin from an incognito window or if you follow the last step in the README to use jellyscrub on the desktop client does anything change?

tr1p0p commented 1 year ago

Hum, so i confirm it work with jellyfin media player. So it's on my self-hosted server side, i guess. Weird.

I close then it's not on your side, thanks for the help, and this extension.

cdgiguere commented 1 year ago

@tr1p0p did you find a solution for this? I am having the same issue. Getting the permissions error in logs even though I put the script block in the same place. If I open an incognito browser the plugin works great, but no matter how many times I clear the site data it won't work on non-incognito FireFox.