Comments (8)
Find index.html
in C:\Program Files\Jellyfin\Server\jellyfin-web
and modify the permissions for your user to Full Control. Then restart Jellyfin.
from intro-skipper.
It worked! Thank you so much!
from intro-skipper.
@AbandonedCart
That fixed it. Now the logs shows that index.html
has been updated correctly
[2024-08-04 12:07:41.570 -07:00] [INF] [1] Namo.Plugin.InPlayerEpisodePreview.InPlayerEpisodePreviewPlugin: Found client script injected in "C:\Program Files\Jellyfin\Server\jellyfin-web\index.html"
[2024-08-04 12:07:41.573 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "InPlayerEpisodePreview" "1.2.1.0"
[2024-08-04 12:07:41.742 -07:00] [INF] [1] ConfusedPolarBear.Plugin.IntroSkipper.Plugin: Skip button already added
[2024-08-04 12:07:41.984 -07:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Intro Skipper" "0.2.0.12"
The skip button still does not show up, but I can look into debugging further and go through the other issues on github to figure out what the problem is.
Thanks for the help!
from intro-skipper.
Hey Guys,
I am running the Jellyfin server on my personal computer on Windows 10.
I tried the solution that 'rlauuzo' mentioned and it still doesn't work for me. I still get the permission error in the logs
[2024-08-03 13:04:11.302 -07:00] [ERR] [1] ConfusedPolarBear.Plugin.IntroSkipper.Plugin: Failed to add skip button to web interface. Try "changing the permissions of C:\Program Files\Jellyfin\Server\jellyfin-web\index.html" and restarting the server. Error: "System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Jellyfin\Server\jellyfin-web\index.html' is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at System.IO.File.WriteToFile(String path, FileMode mode, String contents, Encoding encoding)
at ConfusedPolarBear.Plugin.IntroSkipper.Plugin.InjectSkipButton(String indexPath)
at ConfusedPolarBear.Plugin.IntroSkipper.Plugin..ctor(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer, IServerConfigurationManager serverConfiguration, ILibraryManager libraryManager, IItemRepository itemRepository, ILogger`1 logger)"
This is the permission page for index.html
To make sure I didn't miss anything, I provided full control to all groups.
I even tried adding
<script src="configurationpage?name=skip-intro-button.js"></script>
directly to the index.html file and it didn't work.
Does anyone know what I am doing wrong?
P.S solving this index.html
permissions issue will also resolve another issue with regards to this plugin (https://github.com/Namo2/InPlayerEpisodePreview) as well. Any help is appreciated.
from intro-skipper.
Have you restarted Jellyfin after changing the permissions?
from intro-skipper.
I did restart the Jellyfin server instance after changing the permissions. the logs were from the new instance. I should've mentioned that. My apologies.
It still doesn't work. :/
from intro-skipper.
I'm not sure what else could be causing the issue. Maybe try rebooting Windows and see if that resolves it?
from intro-skipper.
Did you only change permissions to the index and not the entire folder?
You need the permission applied to the entire web folder or the index change will get cancelled out.
from intro-skipper.
Related Issues (20)
- [Bug]: Keeping one thread alive and slowing down Jellyfin HOT 23
- [Feature Request]: Scan every episodes instead of whole seasons HOT 2
- [Feature request] automatic skip only when the client does not support the use of the skip button HOT 31
- [Bug]: Unable to add skip intro button to work on jellyfin 10.9.7 HOT 2
- [Bug]: Intro-Skipper Not Queueing Entire Library HOT 12
- [Bug]: Intro Skip sometimes overwrites video starting part of the way through HOT 10
- [Bug]: Web Player crashes when starting HOT 8
- [Bug]: "Next up" display overlaps "Next" button in jellyfin web HOT 1
- Add option to delay credit skip HOT 9
- [Feature Request] Bring improvements to desktop client HOT 1
- improve option page HOT 5
- [Bug]: Manual Fingerprint Editor doesnโt load Seasons HOT 5
- Choose another location for edl files HOT 5
- [Bug]: Skip Button Not Apearing and Auto Skip Not Working HOT 7
- [Bug]: Manage Fingerprints only shows 1 season (Season -1) HOT 6
- [Bug]: Skip credits incorrectly detects part of the show HOT 14
- [Bug]: Cannot inject skip button in NixOS/nixpkgs HOT 3
- [Bug]: Plugin not showing in catalog HOT 3
- [Bug]: Support Bundle shows "Error Processing Request" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intro-skipper.