mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-29 19:28:27 -07:00
Medium Support (Multi-disc Albums), Quality Grouping (#121)
* Multi Disc Stage 1 - Backend Work * Quality Group Functionality * Fixed: Only show wanted album types on ArtistDetail page * Add Media Count Column to ArtistDetail Page * Parser updates for multidisc cases, other usenet release title formats * Search for Tracks by Medium Number in Addition to Title and TrackNumber * Medium Renaming Token for Track Naming * fixup Codacy and Comment Cleanup * fixup remove comments
This commit is contained in:
parent
e1e7cad951
commit
21428cba6f
154 changed files with 2946 additions and 701 deletions
|
@ -4,8 +4,15 @@
|
|||
word-break: break-all;
|
||||
}
|
||||
|
||||
.quality {
|
||||
.quality,
|
||||
.language {
|
||||
composes: cell from 'Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.label {
|
||||
composes: label from 'Components/Label.css';
|
||||
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
|
@ -238,6 +238,7 @@ class InteractiveImportRow extends Component {
|
|||
onPress={this.onSelectQualityPress}
|
||||
>
|
||||
<EpisodeQuality
|
||||
className={styles.label}
|
||||
quality={quality}
|
||||
/>
|
||||
</TableRowCellButton>
|
||||
|
@ -247,6 +248,7 @@ class InteractiveImportRow extends Component {
|
|||
onPress={this.onSelectLanguagePress}
|
||||
>
|
||||
<EpisodeLanguage
|
||||
className={styles.label}
|
||||
language={language}
|
||||
/>
|
||||
</TableRowCellButton>
|
||||
|
|
|
@ -70,10 +70,10 @@ class SelectQualityModalContent extends Component {
|
|||
real
|
||||
} = this.state;
|
||||
|
||||
const qualityOptions = items.map(({ quality }) => {
|
||||
const qualityOptions = items.map(({ id, name }) => {
|
||||
return {
|
||||
key: quality.id,
|
||||
value: quality.name
|
||||
key: id,
|
||||
value: name
|
||||
};
|
||||
});
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
|
|||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import getQualities from 'Utilities/Quality/getQualities';
|
||||
import { fetchQualityProfileSchema } from 'Store/Actions/settingsActions';
|
||||
import { updateInteractiveImportItem } from 'Store/Actions/interactiveImportActions';
|
||||
import SelectQualityModalContent from './SelectQualityModalContent';
|
||||
|
@ -22,7 +23,7 @@ function createMapStateToProps() {
|
|||
isFetching,
|
||||
isPopulated,
|
||||
error,
|
||||
items: schema.items || []
|
||||
items: getQualities(schema.items)
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue