diff --git a/frontend/src/Components/Form/SeriesTypeSelectInput.js b/frontend/src/Components/Form/SeriesTypeSelectInput.js
index 7b0d0056d..4fe0a974c 100644
--- a/frontend/src/Components/Form/SeriesTypeSelectInput.js
+++ b/frontend/src/Components/Form/SeriesTypeSelectInput.js
@@ -2,14 +2,14 @@ import PropTypes from 'prop-types';
import React from 'react';
import SelectInput from './SelectInput';
-const seriesTypeOptions = [
+const artistTypeOptions = [
{ key: 'standard', value: 'Standard' },
{ key: 'daily', value: 'Daily' },
{ key: 'anime', value: 'Anime' }
];
function SeriesTypeSelectInput(props) {
- const values = [...seriesTypeOptions];
+ const values = [...artistTypeOptions];
const {
includeNoChange,
diff --git a/frontend/src/Components/MonitorToggleButton.js b/frontend/src/Components/MonitorToggleButton.js
index 1190c03a3..8802cb1a2 100644
--- a/frontend/src/Components/MonitorToggleButton.js
+++ b/frontend/src/Components/MonitorToggleButton.js
@@ -39,7 +39,7 @@ class MonitorToggleButton extends Component {
className={styles.disabledButton}
size={size}
name={iconName}
- title="Cannot toogle monitored state when series is unmonitored"
+ title="Cannot toogle monitored state when artist is unmonitored"
/>
);
}
diff --git a/frontend/src/Components/Page/ErrorPage.js b/frontend/src/Components/Page/ErrorPage.js
index d237ad916..325575ff0 100644
--- a/frontend/src/Components/Page/ErrorPage.js
+++ b/frontend/src/Components/Page/ErrorPage.js
@@ -7,7 +7,7 @@ function ErrorPage(props) {
const {
version,
isLocalStorageSupported,
- seriesError,
+ artistError,
tagsError,
qualityProfilesError,
uiSettingsError
@@ -17,10 +17,10 @@ function ErrorPage(props) {
if (!isLocalStorageSupported) {
errorMessage = 'Local Storage is not supported or disabled. A plugin or private browsing may have disabled it.';
- } else if (seriesError) {
- errorMessage = getErrorMessage(seriesError, 'Failed to load artist from API');
+ } else if (artistError) {
+ errorMessage = getErrorMessage(artistError, 'Failed to load artist from API');
} else if (tagsError) {
- errorMessage = getErrorMessage(seriesError, 'Failed to load artist from API');
+ errorMessage = getErrorMessage(artistError, 'Failed to load artist from API');
} else if (qualityProfilesError) {
errorMessage = getErrorMessage(qualityProfilesError, 'Failed to load quality profiles from API');
} else if (uiSettingsError) {
@@ -43,7 +43,7 @@ function ErrorPage(props) {
ErrorPage.propTypes = {
version: PropTypes.string.isRequired,
isLocalStorageSupported: PropTypes.bool.isRequired,
- seriesError: PropTypes.object,
+ artistError: PropTypes.object,
tagsError: PropTypes.object,
qualityProfilesError: PropTypes.object,
uiSettingsError: PropTypes.object
diff --git a/frontend/src/Components/Page/Header/ArtistSearchInput.css b/frontend/src/Components/Page/Header/ArtistSearchInput.css
index c34b0d256..1cc1c3b2b 100644
--- a/frontend/src/Components/Page/Header/ArtistSearchInput.css
+++ b/frontend/src/Components/Page/Header/ArtistSearchInput.css
@@ -36,14 +36,14 @@
flex-grow: 1;
}
-.seriesContainer {
+.artistContainer {
@add-mixin scrollbar;
@add-mixin scrollbarTrack;
@add-mixin scrollbarThumb;
}
.containerOpen {
- .seriesContainer {
+ .artistContainer {
position: absolute;
top: 42px;
z-index: 1;
@@ -80,7 +80,7 @@
color: $disabledColor;
}
-.addNewSeriesSuggestion {
+.addNewArtistSuggestion {
padding: 0 3px;
cursor: pointer;
}
diff --git a/frontend/src/Components/Page/Header/ArtistSearchInput.js b/frontend/src/Components/Page/Header/ArtistSearchInput.js
index 0de1dedb9..c0fe5ab20 100644
--- a/frontend/src/Components/Page/Header/ArtistSearchInput.js
+++ b/frontend/src/Components/Page/Header/ArtistSearchInput.js
@@ -62,7 +62,7 @@ class ArtistSearchInput extends Component {
renderSuggestion(item, { query }) {
if (item.type === ADD_NEW_TYPE) {
return (
-
+
Search for {query}
);
@@ -76,9 +76,9 @@ class ArtistSearchInput extends Component {
);
}
- goToArtist(series) {
+ goToArtist(artist) {
this.setState({ value: '' });
- this.props.onGoToSeries(series.nameSlug);
+ this.props.onGoToArtist(artist.nameSlug);
}
reset() {
@@ -117,8 +117,8 @@ class ArtistSearchInput extends Component {
return;
}
- // If an suggestion is not selected go to the first series,
- // otherwise go to the selected series.
+ // If an suggestion is not selected go to the first artist,
+ // otherwise go to the selected artist.
if (highlightedSuggestionIndex == null) {
this.goToArtist(suggestions[0]);
@@ -134,12 +134,12 @@ class ArtistSearchInput extends Component {
onSuggestionsFetchRequested = ({ value }) => {
const lowerCaseValue = jdu.replace(value).toLowerCase();
- const suggestions = _.filter(this.props.series, (series) => {
+ const suggestions = _.filter(this.props.artist, (artist) => {
// Check the title first and if there isn't a match fallback to the alternate titles
- const titleMatch = jdu.replace(series.artistName).toLowerCase().contains(lowerCaseValue);
+ const titleMatch = jdu.replace(artist.artistName).toLowerCase().contains(lowerCaseValue);
- return titleMatch || _.some(series.alternateTitles, (alternateTitle) => {
+ return titleMatch || _.some(artist.alternateTitles, (alternateTitle) => {
return jdu.replace(alternateTitle.title).toLowerCase().contains(lowerCaseValue);
});
});
@@ -192,7 +192,7 @@ class ArtistSearchInput extends Component {
const inputProps = {
ref: this.setInputRef,
className: styles.input,
- name: 'seriesSearch',
+ name: 'artistSearch',
value,
placeholder: 'Search',
autoComplete: 'off',
@@ -206,7 +206,7 @@ class ArtistSearchInput extends Component {
const theme = {
container: styles.container,
containerOpen: styles.containerOpen,
- suggestionsContainer: styles.seriesContainer,
+ suggestionsContainer: styles.artistContainer,
suggestionsList: styles.list,
suggestion: styles.listItem,
suggestionHighlighted: styles.highlighted
@@ -241,8 +241,8 @@ class ArtistSearchInput extends Component {
}
ArtistSearchInput.propTypes = {
- series: PropTypes.arrayOf(PropTypes.object).isRequired,
- onGoToSeries: PropTypes.func.isRequired,
+ artist: PropTypes.arrayOf(PropTypes.object).isRequired,
+ onGoToArtist: PropTypes.func.isRequired,
onGoToAddNewArtist: PropTypes.func.isRequired,
bindShortcut: PropTypes.func.isRequired
};
diff --git a/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js b/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js
index 822bb8c8c..3bf1a1678 100644
--- a/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js
+++ b/frontend/src/Components/Page/Header/ArtistSearchInputConnector.js
@@ -8,9 +8,9 @@ import ArtistSearchInput from './ArtistSearchInput';
function createMapStateToProps() {
return createSelector(
createAllArtistSelector(),
- (series) => {
+ (artist) => {
return {
- series: _.sortBy(series, 'sortName')
+ artist: _.sortBy(artist, 'sortName')
};
}
);
@@ -18,7 +18,7 @@ function createMapStateToProps() {
function createMapDispatchToProps(dispatch, props) {
return {
- onGoToSeries(nameSlug) {
+ onGoToArtist(nameSlug) {
dispatch(push(`${window.Sonarr.urlBase}/artist/${nameSlug}`));
},
diff --git a/frontend/src/Components/Page/PageConnector.js b/frontend/src/Components/Page/PageConnector.js
index bcc28c411..416b194b9 100644
--- a/frontend/src/Components/Page/PageConnector.js
+++ b/frontend/src/Components/Page/PageConnector.js
@@ -28,18 +28,18 @@ function testLocalStorage() {
function createMapStateToProps() {
return createSelector(
- (state) => state.series,
+ (state) => state.artist,
(state) => state.tags,
(state) => state.settings,
(state) => state.app,
createDimensionsSelector(),
- (series, tags, settings, app, dimensions) => {
- const isPopulated = series.isPopulated &&
+ (artist, tags, settings, app, dimensions) => {
+ const isPopulated = artist.isPopulated &&
tags.isPopulated &&
settings.qualityProfiles.isPopulated &&
settings.ui.isPopulated;
- const hasError = !!series.error ||
+ const hasError = !!artist.error ||
!!tags.error ||
!!settings.qualityProfiles.error ||
!!settings.ui.error;
@@ -47,7 +47,7 @@ function createMapStateToProps() {
return {
isPopulated,
hasError,
- seriesError: series.error,
+ artistError: artist.error,
tagsError: tags.error,
qualityProfilesError: settings.qualityProfiles.error,
uiSettingsError: settings.ui.error,
diff --git a/frontend/src/Components/Page/Sidebar/Messages/Message.js b/frontend/src/Components/Page/Sidebar/Messages/Message.js
index 1332a6599..ed3a8325c 100644
--- a/frontend/src/Components/Page/Sidebar/Messages/Message.js
+++ b/frontend/src/Components/Page/Sidebar/Messages/Message.js
@@ -23,7 +23,7 @@ function getIconName(name) {
return icons.RSS;
case 'SeasonSearch':
return icons.SEARCH;
- case 'SeriesSearch':
+ case 'ArtistSearch':
return icons.SEARCH;
case 'UpdateSceneMapping':
return icons.REFRESH;
diff --git a/frontend/src/Components/Page/Sidebar/PageSidebar.js b/frontend/src/Components/Page/Sidebar/PageSidebar.js
index d03938b2d..50ddc3ae7 100644
--- a/frontend/src/Components/Page/Sidebar/PageSidebar.js
+++ b/frontend/src/Components/Page/Sidebar/PageSidebar.js
@@ -22,7 +22,7 @@ const links = [
iconName: icons.ARTIST_CONTINUING,
title: 'Artist',
to: '/',
- alias: '/series',
+ alias: '/artist',
children: [
{
title: 'Add New',
diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js
index 06c4db2e7..75ecbddab 100644
--- a/frontend/src/Components/SignalRConnector.js
+++ b/frontend/src/Components/SignalRConnector.js
@@ -132,8 +132,8 @@ class SignalRConnector extends Component {
return;
}
- if (name === 'series') {
- this.handleSeries(body);
+ if (name === 'artist') {
+ this.handleArtist(body);
return;
}
@@ -225,9 +225,9 @@ class SignalRConnector extends Component {
this.props.fetchHealth();
}
- handleSeries = (body) => {
+ handleArtist = (body) => {
const action = body.action;
- const section = 'series';
+ const section = 'artist';
if (action === 'updated') {
this.props.updateItem({ section, ...body.resource });
diff --git a/frontend/src/Episode/EpisodeDetailsModalContent.js b/frontend/src/Episode/EpisodeDetailsModalContent.js
index b425daa79..e0e89547e 100644
--- a/frontend/src/Episode/EpisodeDetailsModalContent.js
+++ b/frontend/src/Episode/EpisodeDetailsModalContent.js
@@ -61,7 +61,7 @@ class EpisodeDetailsModalContent extends Component {
onModalClose
} = this.props;
- const seriesLink = `/artist/${nameSlug}`;
+ const artistLink = `/artist/${nameSlug}`;
return (
Open Artist
diff --git a/frontend/src/Episode/EpisodeDetailsModalContentConnector.js b/frontend/src/Episode/EpisodeDetailsModalContentConnector.js
index 02d0c6752..aeab595b8 100644
--- a/frontend/src/Episode/EpisodeDetailsModalContentConnector.js
+++ b/frontend/src/Episode/EpisodeDetailsModalContentConnector.js
@@ -15,19 +15,17 @@ function createMapStateToProps() {
return createSelector(
createEpisodeSelector(),
createArtistSelector(),
- (album, series) => {
+ (album, artist) => {
const {
artistName,
nameSlug,
- monitored: artistMonitored,
- seriesType
- } = series;
+ monitored: artistMonitored
+ } = artist;
return {
artistName,
nameSlug,
artistMonitored,
- seriesType,
...album
};
}
diff --git a/frontend/src/Episode/EpisodeNumber.js b/frontend/src/Episode/EpisodeNumber.js
index 9df84111e..88d1cb0e8 100644
--- a/frontend/src/Episode/EpisodeNumber.js
+++ b/frontend/src/Episode/EpisodeNumber.js
@@ -15,12 +15,12 @@ function EpisodeNumber(props) {
sceneAbsoluteEpisodeNumber,
unverifiedSceneNumbering,
alternateTitles,
- seriesType
+ artistType
} = props;
const hasSceneInformation = sceneSeasonNumber !== undefined ||
sceneEpisodeNumber !== undefined ||
- (seriesType === 'anime' && sceneAbsoluteEpisodeNumber !== undefined) ||
+ (artistType === 'anime' && sceneAbsoluteEpisodeNumber !== undefined) ||
!!alternateTitles.length;
return (
@@ -33,7 +33,7 @@ function EpisodeNumber(props) {
{episodeNumber}
{
- seriesType === 'anime' && !!absoluteEpisodeNumber &&
+ artistType === 'anime' && !!absoluteEpisodeNumber &&
({absoluteEpisodeNumber})
@@ -47,7 +47,7 @@ function EpisodeNumber(props) {
sceneEpisodeNumber={sceneEpisodeNumber}
sceneAbsoluteEpisodeNumber={sceneAbsoluteEpisodeNumber}
alternateTitles={alternateTitles}
- seriesType={seriesType}
+ artistType={artistType}
/>
}
position={tooltipPositions.RIGHT}
@@ -56,7 +56,7 @@ function EpisodeNumber(props) {
{episodeNumber}
{
- seriesType === 'anime' && !!absoluteEpisodeNumber &&
+ artistType === 'anime' && !!absoluteEpisodeNumber &&
({absoluteEpisodeNumber})
@@ -75,7 +75,7 @@ function EpisodeNumber(props) {
}
{
- seriesType === 'anime' && !absoluteEpisodeNumber &&
+ artistType === 'anime' && !absoluteEpisodeNumber &&
sceneSeasonNumber,
createArtistSelector(),
createCommandsSelector(),
- (albumId, sceneSeasonNumber, series, commands) => {
+ (albumId, sceneSeasonNumber, artist, commands) => {
const isSearching = _.some(commands, (command) => {
const episodeSearch = command.name === commandNames.EPISODE_SEARCH;
@@ -25,8 +25,8 @@ function createMapStateToProps() {
});
return {
- artistMonitored: series.monitored,
- seriesType: series.seriesType,
+ artistMonitored: artist.monitored,
+ artistType: artist.artistType,
isSearching
};
}
diff --git a/frontend/src/Episode/EpisodeTitleLink.js b/frontend/src/Episode/EpisodeTitleLink.js
index eac76eaae..2604bf665 100644
--- a/frontend/src/Episode/EpisodeTitleLink.js
+++ b/frontend/src/Episode/EpisodeTitleLink.js
@@ -62,7 +62,7 @@ EpisodeTitleLink.propTypes = {
};
EpisodeTitleLink.defaultProps = {
- showSeriesButton: false
+ showArtistButton: false
};
export default EpisodeTitleLink;
diff --git a/frontend/src/Episode/SceneInfo.js b/frontend/src/Episode/SceneInfo.js
index b406bb242..0c9ffa8cd 100644
--- a/frontend/src/Episode/SceneInfo.js
+++ b/frontend/src/Episode/SceneInfo.js
@@ -10,7 +10,7 @@ function SceneInfo(props) {
sceneEpisodeNumber,
sceneAbsoluteEpisodeNumber,
alternateTitles,
- seriesType
+ artistType
} = props;
return (
@@ -36,7 +36,7 @@ function SceneInfo(props) {
}
{
- seriesType === 'anime' && sceneAbsoluteEpisodeNumber !== undefined &&
+ artistType === 'anime' && sceneAbsoluteEpisodeNumber !== undefined &&
{airDate}
);
}
- if (seriesType === 'anime') {
+ if (artistType === 'anime') {
return (
{seasonNumber}x{padNumber(episodeNumber, 2)}
@@ -45,7 +45,7 @@ SeasonEpisodeNumber.propTypes = {
episodeNumber: PropTypes.number.isRequired,
absoluteEpisodeNumber: PropTypes.number,
airDate: PropTypes.string,
- seriesType: PropTypes.string
+ artistType: PropTypes.string
};
export default SeasonEpisodeNumber;
diff --git a/frontend/src/Helpers/Props/inputTypes.js b/frontend/src/Helpers/Props/inputTypes.js
index b77daade4..124f5b88b 100644
--- a/frontend/src/Helpers/Props/inputTypes.js
+++ b/frontend/src/Helpers/Props/inputTypes.js
@@ -9,7 +9,7 @@ export const QUALITY_PROFILE_SELECT = 'qualityProfileSelect';
export const LANGUAGE_PROFILE_SELECT = 'languageProfileSelect';
export const ROOT_FOLDER_SELECT = 'rootFolderSelect';
export const SELECT = 'select';
-export const SERIES_TYPE_SELECT = 'seriesTypeSelect';
+export const SERIES_TYPE_SELECT = 'artistTypeSelect';
export const TAG = 'tag';
export const TEXT = 'text';
export const TEXT_TAG = 'textTag';
diff --git a/frontend/src/Organize/OrganizePreviewModalContentConnector.js b/frontend/src/Organize/OrganizePreviewModalContentConnector.js
index 4dad00653..edaf425ee 100644
--- a/frontend/src/Organize/OrganizePreviewModalContentConnector.js
+++ b/frontend/src/Organize/OrganizePreviewModalContentConnector.js
@@ -14,14 +14,14 @@ function createMapStateToProps() {
(state) => state.organizePreview,
(state) => state.settings.naming,
createArtistSelector(),
- (organizePreview, naming, series) => {
+ (organizePreview, naming, artist) => {
const props = { ...organizePreview };
props.isFetching = organizePreview.isFetching || naming.isFetching;
props.isPopulated = organizePreview.isPopulated && naming.isPopulated;
props.error = organizePreview.error || naming.error;
props.renameTracks = naming.item.renameTracks;
props.trackFormat = naming.item['standardTrackFormat'];
- props.path = series.path;
+ props.path = artist.path;
return props;
}
diff --git a/frontend/src/Settings/Indexers/Restrictions/EditRestrictionModalContent.js b/frontend/src/Settings/Indexers/Restrictions/EditRestrictionModalContent.js
index 37f8cd760..eea3abad0 100644
--- a/frontend/src/Settings/Indexers/Restrictions/EditRestrictionModalContent.js
+++ b/frontend/src/Settings/Indexers/Restrictions/EditRestrictionModalContent.js
@@ -76,7 +76,7 @@ function EditRestrictionModalContent(props) {
diff --git a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js
index f3af135f2..f375275f2 100644
--- a/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js
+++ b/frontend/src/Settings/Notifications/Notifications/EditNotificationModalContent.js
@@ -154,7 +154,7 @@ function EditNotificationModalContent(props) {
diff --git a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js
index 42c6bece0..8dbee2837 100644
--- a/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js
+++ b/frontend/src/Settings/Profiles/Delay/EditDelayProfileModalContent.js
@@ -110,7 +110,7 @@ function EditDelayProfileModalContent(props) {
{
id === 1 ?
- This is the default profile. It applies to all series that don't have an explicit profile.
+ This is the default profile. It applies to all artist that don't have an explicit profile.
:
@@ -120,7 +120,7 @@ function EditDelayProfileModalContent(props) {
type={inputTypes.TAG}
name="tags"
{...tags}
- helpText="Applies to series with at least one matching tag"
+ helpText="Applies to artist with at least one matching tag"
onChange={onInputChange}
/>
diff --git a/frontend/src/Settings/Profiles/Language/EditLanguageProfileModalContent.js b/frontend/src/Settings/Profiles/Language/EditLanguageProfileModalContent.js
index 81d404f14..f1686dcce 100644
--- a/frontend/src/Settings/Profiles/Language/EditLanguageProfileModalContent.js
+++ b/frontend/src/Settings/Profiles/Language/EditLanguageProfileModalContent.js
@@ -101,7 +101,7 @@ function EditLanguageProfileModalContent(props) {
id &&