intro-skipper/docs/web_interface.md

45 lines
2.5 KiB
Markdown
Raw Normal View History

2022-06-16 21:00:57 -05:00
# Using the modified web interface
2022-06-16 21:06:58 -05:00
If you run Jellyfin as a container, there are two different ways to use the modified web interface:
1. Mounting the new web interface to your existing Jellyfin container, or
2022-06-16 21:00:57 -05:00
2. Switching container images
If you do not run Jellyfin as a container, you can follow the [native installation](native.md) instructions.
## Method 1: mounting the new web interface
2022-08-30 20:30:12 -05:00
1. Download and extract the latest modified web interface from [GitHub actions](https://github.com/ConfusedPolarBear/intro-skipper/actions/workflows/container.yml)
1. Click the most recent action run
2. In the Artifacts section, click the `jellyfin-web-VERSION+COMMIT.tar.gz` link to download a pre-compiled copy of the web interface. This link will only work if you are signed into GitHub.
2022-06-16 21:00:57 -05:00
2. Extract the archive somewhere on your server and make note of the full path to the `dist` folder
2022-11-28 01:08:56 -06:00
3. Mount the `dist` folder to your container as `/jellyfin/jellyfin-web` if using the official container, or `/usr/share/jellyfin/web` if using the linuxserver container. Example docker-compose snippet:
2022-06-16 21:00:57 -05:00
```yaml
services:
jellyfin:
ports:
- '8096:8096'
volumes:
# change `:ro` to `:rw` if you are using a plugin that modifies Jellyfin's web interface from inside the container (such as Jellyscrub)
2022-07-12 01:16:41 -05:00
- '/full/path/to/extracted/dist:/jellyfin/jellyfin-web:ro' # <== add this line if using the official container
- '/full/path/to/extracted/dist:/usr/share/jellyfin/web:ro' # <== add this line if using the linuxserver container
2022-06-16 21:00:57 -05:00
- '/config:/config'
- '/media:/media:ro'
image: 'jellyfin/jellyfin:10.8.0'
```
Make sure to clear the browser's cached version of the web interface before testing the skip button.
### Instructions for Unraid users only
In the Docker tab, click on the Jellyfin container, then click on "Edit" and enable the advanced view. Under "Extra Parameters", add one of the following:
2023-06-08 00:50:51 -05:00
* If using the `jellyfin/jellyfin` container: `--volume /full/path/to/extracted/dist:/jellyfin/jellyfin-web:ro`
* If using the `linuxserver/jellyfin` container: `--volume /full/path/to/extracted/dist:/usr/share/jellyfin/web:ro`
2022-06-16 21:00:57 -05:00
## Method 2: switching container images
1. Run the `ghcr.io/confusedpolarbear/jellyfin-intro-skipper` container just as you would any other Jellyfin container
1. If you reuse the configuration data from another container, **make sure to create a backup first**.
The Dockerfile which builds this container can be viewed [here](../docker/Dockerfile).