style chore

This commit is contained in:
xjasonlyu
2022-05-30 15:11:22 +08:00
parent 5f15b0404c
commit c04f27df54
7 changed files with 9 additions and 4 deletions

View File

@@ -14,17 +14,17 @@
<form id="JavTubeConfigForm">
<div class="inputContainer">
<label class="inputeLabel inputLabelUnfocused" for="txtServer">Server</label>
<input id="txtServer" name="txtServer" is="emby-input" required type="text"/>
<input id="txtServer" is="emby-input" name="txtServer" required type="text"/>
<div class="fieldDescription">URL of JavTube Server.</div>
</div>
<div class="inputContainer">
<label class="inputeLabel inputLabelUnfocused" for="txtToken">Token</label>
<input id="txtToken" name="txtToken" is="emby-input" type="text"/>
<input id="txtToken" is="emby-input" name="txtToken" type="text"/>
<div class="fieldDescription">Access Token of JavTube Server.</div>
</div>
<div class="checkboxContainer checkboxContainer-withDescripton">
<label class="emby-checkbox-label">
<input id="chkTranslation" name="chkTranslation" is="emby-checkbox"
<input id="chkTranslation" is="emby-checkbox" name="chkTranslation"
type="checkbox"/>
<span>Enable Auto Translation</span>
</label>

View File

@@ -7,6 +7,7 @@ using MediaBrowser.Model.Providers;
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Logging;
using MediaBrowser.Model.Configuration;
#else
using Microsoft.Extensions.Logging;
#endif

View File

@@ -6,6 +6,7 @@ using MediaBrowser.Model.Providers;
#if __EMBY__
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Logging;
#else
using Microsoft.Extensions.Logging;
#endif

View File

@@ -28,7 +28,7 @@ public abstract class BaseProvider
_logger = logger;
}
#endif
public int Order => 1;
public string Name => Plugin.Instance.Name;

View File

@@ -8,6 +8,7 @@ using MediaBrowser.Model.Providers;
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Configuration;
using MediaBrowser.Model.Logging;
#else
using Microsoft.Extensions.Logging;
#endif

View File

@@ -8,6 +8,7 @@ using MediaBrowser.Model.Providers;
#if __EMBY__
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Logging;
#else
using Microsoft.Extensions.Logging;
#endif

View File

@@ -8,6 +8,7 @@ using MediaBrowser.Model.Tasks;
#if __EMBY__
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Model.Logging;
#else
using Microsoft.Extensions.Logging;
using Jellyfin.Data.Enums;