diff --git a/Shokofin/Pages/Scripts/Common.js b/Shokofin/Pages/Scripts/Common.js index 1e316385..28c10321 100644 --- a/Shokofin/Pages/Scripts/Common.js +++ b/Shokofin/Pages/Scripts/Common.js @@ -973,9 +973,8 @@ function onLinkRedirectClick(event) { * @returns {void} Void. */ function overrideLink(target) { - const href = target.getAttribute("href"); - target.dataset.href = href; - target.href = location.href.split("#")[0] + "#" + getConfigurationPageUrl(href); + const page = target.dataset.page; + target.href = location.href.split("#")[0] + "#" + getConfigurationPageUrl(page); target.addEventListener("click", onLinkRedirectClick); } diff --git a/Shokofin/Pages/Scripts/Settings.js b/Shokofin/Pages/Scripts/Settings.js index 75e7a498..aab2e7e8 100644 --- a/Shokofin/Pages/Scripts/Settings.js +++ b/Shokofin/Pages/Scripts/Settings.js @@ -410,7 +410,7 @@ function applyFormToConfig(form, config) { config.UseGroupsForShows = form.querySelector("#UseGroupsForShows").checked; config.SeasonOrdering = form.querySelector("#SeasonOrdering").value; config.SeparateMovies = form.querySelector("#SeparateMovies").checked; - config.FilterMovieLibraries = form.querySelector("#FilterMovieLibraries").checked; + config.FilterMovieLibraries = !form.querySelector("#DisableFilterMovieLibraries").checked; config.SpecialsPlacement = form.querySelector("#SpecialsPlacement").value; config.MovieSpecialsAsExtraFeaturettes = form.querySelector("#MovieSpecialsAsExtraFeaturettes").checked; config.AddMissingMetadata = form.querySelector("#AddMissingMetadata").checked; @@ -576,7 +576,7 @@ async function applyConfigToForm(form, config) { } form.querySelector("#SeasonOrdering").value = config.SeasonOrdering; form.querySelector("#SeparateMovies").checked = config.SeparateMovies; - form.querySelector("#FilterMovieLibraries").checked = config.FilterMovieLibraries; + form.querySelector("#DisableFilterMovieLibraries").checked = !config.FilterMovieLibraries; form.querySelector("#SpecialsPlacement").value = config.SpecialsPlacement === "Default" ? "AfterSeason" : config.SpecialsPlacement; form.querySelector("#MovieSpecialsAsExtraFeaturettes").checked = config.MovieSpecialsAsExtraFeaturettes; form.querySelector("#AddMissingMetadata").checked = config.AddMissingMetadata; diff --git a/Shokofin/Pages/Settings.html b/Shokofin/Pages/Settings.html index f4bf713d..dd328585 100644 --- a/Shokofin/Pages/Settings.html +++ b/Shokofin/Pages/Settings.html @@ -34,31 +34,31 @@

Shoko

Connection Settings

- -
This is the private URL leading to where Shoko is running. It will be used internally in Jellyfin and also for all images sent to clients and redirects back to the Shoko instance if you don't set a public host URL below. It should include both the protocol and the IP/DNS name.
+ +
This is the private URL leading to where Shoko is running. It will be used internally in Jellyfin in addition to all images sent to clients and redirects back to Shoko if you don't set a public host URL below. It should include both the protocol and the IP/DNS name.
- +
Optional. This is the public URL leading to where Shoko is running. It can be used to redirect to Shoko if you click on a Shoko ID in the UI if Shoko and/or Jellyfin is running within a container and you cannot access Shoko from the host URL provided in the connection settings section above. It will also be used for images from the plugin when viewing the "Edit Images" modal in clients. It should include both the protocol and the IP/DNS name.
-
The user should be an administrator in Shoko, preferably without any filtering applied.
+
The username of your administrator account in Shoko.
-
The password for account. It can be empty.
+
The password of your administrator account in Shoko.
-
Establish a connection to Shoko Server using the provided credentials.
+
Establish a connection to Shoko using the provided credentials.
-
The metadata providers to use as the source of the main title, in priority order.
+
The metadata providers to use as the source of the main title for entities, in priority order.
-

Alternate/original title source

+

Alternate/Original Title Source

-
The metadata providers to use as the source of the alternate/original title, in priority order.
+
The metadata providers to use as the source of the alternate/original title for entities, in priority order.
-
Add the type and number to the title of some episodes.
+
Adds the type and number to the title of non-standard episodes such as specials. (e.g. S1)
-
Will add any title in the selected language if no official title is found.
+
Allows for any titles to be utilized if an official title is not present in the given language. Only applies to the AniDB title selectors above.
-
The metadata providers to use as the source of descriptions, in priority order.
+
The metadata providers to use as the source of descriptions for entities, in priority order.
-
+
-

TMDB | Follow country/region set in library

+

AniDB | Approximate content rating based on tags

-
-
The metadata providers to use as the source of content ratings, in priority order.
+
The metadata providers to use as the source of content ratings for entities, in priority order.
-

Production location sources

+

Production Location Sources

-
The metadata providers to use as the source of production locations, in priority order.
+
The metadata providers to use as the source of production locations for entities, in priority order.
-
Establish a SignalR connection to Shoko Server.
+
Establish a SignalR connection to Shoko.
-
Terminate the SignalR connection to Shoko Server.
+
Terminate the SignalR connection to Shoko.