Skip to content

Commit

Permalink
chore: update settings page (take 2)
Browse files Browse the repository at this point in the history
- Readjusted defaults for 3rd party provider IDs.

- Added shoko as a description source you can toggle.
  • Loading branch information
revam committed Sep 22, 2024
1 parent 96066d1 commit 541e5bf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
11 changes: 4 additions & 7 deletions Shokofin/Configuration/PluginConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ public PluginConfiguration()
SynopsisRemoveSummary = true;
SynopsisCleanMultiEmptyLines = true;
AddAniDBId = true;
AddTMDBId = true;
AddTvDBId = true;
AddTMDBId = false;
AddTvDBId = false;
TitleMainOverride = false;
TitleMainList = [
TitleProvider.Shoko_Default,
Expand All @@ -556,15 +556,12 @@ public PluginConfiguration()
TitleAllowAny = false;
DescriptionSourceOverride = false;
DescriptionSourceList = [
DescriptionProvider.Shoko,
DescriptionProvider.AniDB,
DescriptionProvider.TvDB,
DescriptionProvider.TMDB,
];
DescriptionSourceOrder = [
DescriptionProvider.AniDB,
DescriptionProvider.TvDB,
DescriptionProvider.TMDB,
];
DescriptionSourceOrder = [.. DescriptionSourceList];
VFS_Enabled = CanCreateSymbolicLinks;
VFS_Threads = 4;
VFS_AddReleaseGroup = false;
Expand Down
17 changes: 15 additions & 2 deletions Shokofin/Configuration/configPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,19 @@ <h3 class="listItemBodyText">TMDB | Use the language from the media's country of
<div id="DescriptionSourceList" style="margin-bottom: 2em;">
<h3 class="checkboxListLabel">Advanced description source:</h3>
<div class="checkboxList paperList checkboxList-paperList">
<div class="listItem sortableOption" data-option="Shoko">
<label class="listItemCheckboxContainer">
<input is="emby-checkbox" type="checkbox" data-option="Shoko">
<span></span>
</label>
<div class="listItemBody">
<h3 class="listItemBodyText">Shoko</h3>
<span></span>
</div>
<button type="button" is="paper-icon-button-light" title="Down" class="btnSortableMoveDown btnSortable">
<span class="material-icons keyboard_arrow_down" aria-hidden="true"></span>
</button>
</div>
<div class="listItem sortableOption" data-option="AniDB">
<label class="listItemCheckboxContainer">
<input is="emby-checkbox" type="checkbox" data-option="AniDB">
Expand All @@ -298,8 +311,8 @@ <h3 class="checkboxListLabel">Advanced description source:</h3>
<h3 class="listItemBodyText">AniDB</h3>
<span></span>
</div>
<button type="button" is="paper-icon-button-light" title="Down" class="btnSortableMoveDown btnSortable">
<span class="material-icons keyboard_arrow_down" aria-hidden="true"></span>
<button type="button" is="paper-icon-button-light" title="Up" class="btnSortableMoveUp btnSortable">
<span class="material-icons keyboard_arrow_up" aria-hidden="true"></span>
</button>
</div>
<div class="listItem sortableOption" data-option="TvDB">
Expand Down

0 comments on commit 541e5bf

Please sign in to comment.