@ -43,6 +43,7 @@ const messages = defineMessages({
qualityprofile : 'Quality Profile' ,
qualityprofile : 'Quality Profile' ,
languageprofile : 'Language Profile' ,
languageprofile : 'Language Profile' ,
rootfolder : 'Root Folder' ,
rootfolder : 'Root Folder' ,
seriesType : 'Anime Series Type' ,
animequalityprofile : 'Anime Quality Profile' ,
animequalityprofile : 'Anime Quality Profile' ,
animelanguageprofile : 'Anime Language Profile' ,
animelanguageprofile : 'Anime Language Profile' ,
animerootfolder : 'Anime Root Folder' ,
animerootfolder : 'Anime Root Folder' ,
@ -244,6 +245,7 @@ const SonarrModal = ({ onClose, sonarr, onSave }: SonarrModalProps) => {
activeProfileId : sonarr?.activeProfileId ,
activeProfileId : sonarr?.activeProfileId ,
activeLanguageProfileId : sonarr?.activeLanguageProfileId ,
activeLanguageProfileId : sonarr?.activeLanguageProfileId ,
rootFolder : sonarr?.activeDirectory ,
rootFolder : sonarr?.activeDirectory ,
seriesType : sonarr?.seriesType ,
activeAnimeProfileId : sonarr?.activeAnimeProfileId ,
activeAnimeProfileId : sonarr?.activeAnimeProfileId ,
activeAnimeLanguageProfileId : sonarr?.activeAnimeLanguageProfileId ,
activeAnimeLanguageProfileId : sonarr?.activeAnimeLanguageProfileId ,
activeAnimeRootFolder : sonarr?.activeAnimeDirectory ,
activeAnimeRootFolder : sonarr?.activeAnimeDirectory ,
@ -280,6 +282,7 @@ const SonarrModal = ({ onClose, sonarr, onSave }: SonarrModalProps) => {
: undefined ,
: undefined ,
activeProfileName : profileName ,
activeProfileName : profileName ,
activeDirectory : values.rootFolder ,
activeDirectory : values.rootFolder ,
seriesType : values.seriesType ,
activeAnimeProfileId : values.activeAnimeProfileId
activeAnimeProfileId : values.activeAnimeProfileId
? Number ( values . activeAnimeProfileId )
? Number ( values . activeAnimeProfileId )
: undefined ,
: undefined ,
@ -723,6 +726,27 @@ const SonarrModal = ({ onClose, sonarr, onSave }: SonarrModalProps) => {
/ >
/ >
< / div >
< / div >
< / div >
< / div >
< div className = "form-row" >
< label htmlFor = "seriesType" className = "text-label" >
{ intl . formatMessage ( messages . seriesType ) }
< / label >
< div className = "form-input-area" >
< div className = "form-input-field" >
< Field
as = "select"
id = "seriesType"
name = "seriesType"
disabled = { ! isValidated || isTesting }
>
< option value = "standard" > Standard < / option >
< option value = "anime" > Anime < / option >
< / Field >
< / div >
< / div >
{ errors . seriesType && touched . seriesType && (
< div className = "error" > { errors . seriesType } < / div >
) }
< / div >
< div className = "form-row" >
< div className = "form-row" >
< label htmlFor = "activeAnimeProfileId" className = "text-label" >
< label htmlFor = "activeAnimeProfileId" className = "text-label" >
{ intl . formatMessage ( messages . animequalityprofile ) }
{ intl . formatMessage ( messages . animequalityprofile ) }