|
|
@ -382,7 +382,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
: messages.defaultserver
|
|
|
|
: messages.defaultserver
|
|
|
|
)}
|
|
|
|
)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field type="checkbox" id="isDefault" name="isDefault" />
|
|
|
|
<Field type="checkbox" id="isDefault" name="isDefault" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -390,7 +390,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="is4k" className="checkbox-label">
|
|
|
|
<label htmlFor="is4k" className="checkbox-label">
|
|
|
|
{intl.formatMessage(messages.server4k)}
|
|
|
|
{intl.formatMessage(messages.server4k)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field type="checkbox" id="is4k" name="is4k" />
|
|
|
|
<Field type="checkbox" id="is4k" name="is4k" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -399,7 +399,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.servername)}
|
|
|
|
{intl.formatMessage(messages.servername)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
id="name"
|
|
|
|
id="name"
|
|
|
@ -421,7 +421,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.hostname)}
|
|
|
|
{intl.formatMessage(messages.hostname)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<span className="protocol">
|
|
|
|
<span className="protocol">
|
|
|
|
{values.ssl ? 'https://' : 'http://'}
|
|
|
|
{values.ssl ? 'https://' : 'http://'}
|
|
|
@ -448,7 +448,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.port)}
|
|
|
|
{intl.formatMessage(messages.port)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
id="port"
|
|
|
|
id="port"
|
|
|
|
name="port"
|
|
|
|
name="port"
|
|
|
@ -469,7 +469,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="ssl" className="checkbox-label">
|
|
|
|
<label htmlFor="ssl" className="checkbox-label">
|
|
|
|
{intl.formatMessage(messages.ssl)}
|
|
|
|
{intl.formatMessage(messages.ssl)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
id="ssl"
|
|
|
|
id="ssl"
|
|
|
@ -486,7 +486,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.apiKey)}
|
|
|
|
{intl.formatMessage(messages.apiKey)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<SensitiveInput
|
|
|
|
<SensitiveInput
|
|
|
|
as="field"
|
|
|
|
as="field"
|
|
|
@ -508,7 +508,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="baseUrl" className="text-label">
|
|
|
|
<label htmlFor="baseUrl" className="text-label">
|
|
|
|
{intl.formatMessage(messages.baseUrl)}
|
|
|
|
{intl.formatMessage(messages.baseUrl)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
id="baseUrl"
|
|
|
|
id="baseUrl"
|
|
|
@ -531,7 +531,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.qualityprofile)}
|
|
|
|
{intl.formatMessage(messages.qualityprofile)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -569,7 +569,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.rootfolder)}
|
|
|
|
{intl.formatMessage(messages.rootfolder)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -608,7 +608,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
{intl.formatMessage(messages.languageprofile)}
|
|
|
|
{intl.formatMessage(messages.languageprofile)}
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
<span className="label-required">*</span>
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -652,7 +652,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="tags" className="text-label">
|
|
|
|
<label htmlFor="tags" className="text-label">
|
|
|
|
{intl.formatMessage(messages.tags)}
|
|
|
|
{intl.formatMessage(messages.tags)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Select<OptionType, true>
|
|
|
|
<Select<OptionType, true>
|
|
|
|
options={
|
|
|
|
options={
|
|
|
|
isValidated
|
|
|
|
isValidated
|
|
|
@ -712,7 +712,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="activeAnimeProfileId" className="text-label">
|
|
|
|
<label htmlFor="activeAnimeProfileId" className="text-label">
|
|
|
|
{intl.formatMessage(messages.animequalityprofile)}
|
|
|
|
{intl.formatMessage(messages.animequalityprofile)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -752,7 +752,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="activeAnimeRootFolder" className="text-label">
|
|
|
|
<label htmlFor="activeAnimeRootFolder" className="text-label">
|
|
|
|
{intl.formatMessage(messages.animerootfolder)}
|
|
|
|
{intl.formatMessage(messages.animerootfolder)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -791,7 +791,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{intl.formatMessage(messages.animelanguageprofile)}
|
|
|
|
{intl.formatMessage(messages.animelanguageprofile)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
as="select"
|
|
|
|
as="select"
|
|
|
@ -835,7 +835,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="tags" className="text-label">
|
|
|
|
<label htmlFor="tags" className="text-label">
|
|
|
|
{intl.formatMessage(messages.animeTags)}
|
|
|
|
{intl.formatMessage(messages.animeTags)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Select<OptionType, true>
|
|
|
|
<Select<OptionType, true>
|
|
|
|
options={
|
|
|
|
options={
|
|
|
|
isValidated
|
|
|
|
isValidated
|
|
|
@ -898,7 +898,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
>
|
|
|
|
>
|
|
|
|
{intl.formatMessage(messages.seasonfolders)}
|
|
|
|
{intl.formatMessage(messages.seasonfolders)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
id="enableSeasonFolders"
|
|
|
|
id="enableSeasonFolders"
|
|
|
@ -910,7 +910,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="externalUrl" className="text-label">
|
|
|
|
<label htmlFor="externalUrl" className="text-label">
|
|
|
|
{intl.formatMessage(messages.externalUrl)}
|
|
|
|
{intl.formatMessage(messages.externalUrl)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<div className="form-input-field">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
id="externalUrl"
|
|
|
|
id="externalUrl"
|
|
|
@ -928,7 +928,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="syncEnabled" className="checkbox-label">
|
|
|
|
<label htmlFor="syncEnabled" className="checkbox-label">
|
|
|
|
{intl.formatMessage(messages.syncEnabled)}
|
|
|
|
{intl.formatMessage(messages.syncEnabled)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
id="syncEnabled"
|
|
|
|
id="syncEnabled"
|
|
|
@ -940,7 +940,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|
|
|
<label htmlFor="enableSearch" className="checkbox-label">
|
|
|
|
<label htmlFor="enableSearch" className="checkbox-label">
|
|
|
|
{intl.formatMessage(messages.enableSearch)}
|
|
|
|
{intl.formatMessage(messages.enableSearch)}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<div className="form-input">
|
|
|
|
<div className="form-input-area">
|
|
|
|
<Field
|
|
|
|
<Field
|
|
|
|
type="checkbox"
|
|
|
|
type="checkbox"
|
|
|
|
id="enableSearch"
|
|
|
|
id="enableSearch"
|
|
|
|