mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-08 05:51:47 -07:00
Extend Qualities and Setup Default Groups (#127)
* Extend Qualities and Setup Default Groups * fixup! Extend Qualities * fixup! Codacy * fixup! One more
This commit is contained in:
parent
ead0b7a2f4
commit
10b8174726
35 changed files with 1057 additions and 275 deletions
|
@ -16,8 +16,13 @@
|
|||
width: 50px;
|
||||
}
|
||||
|
||||
.audio {
|
||||
composes: cell from 'Components/Table/Cells/TableRowCell.css';
|
||||
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.language,
|
||||
.audio,
|
||||
.video,
|
||||
.status {
|
||||
composes: cell from 'Components/Table/Cells/TableRowCell.css';
|
||||
|
|
|
@ -167,7 +167,7 @@ class EditQualityProfileModalContent extends Component {
|
|||
name="cutoff"
|
||||
{...cutoff}
|
||||
values={qualities}
|
||||
helpText="Once this quality is reached Sonarr will no longer download episodes"
|
||||
helpText="Once this quality is reached Lidarr will no longer download albums"
|
||||
onChange={onCutoffChange}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
@ -200,7 +200,7 @@ class EditQualityProfileModalContent extends Component {
|
|||
id &&
|
||||
<div
|
||||
className={styles.deleteButtonContainer}
|
||||
title={isInUse && 'Can\'t delete a quality profile that is attached to a series'}
|
||||
title={isInUse && 'Can\'t delete a quality profile that is attached to a artist'}
|
||||
>
|
||||
<Button
|
||||
kind={kinds.DANGER}
|
||||
|
|
|
@ -7,6 +7,7 @@ function MediaInfo(props) {
|
|||
type,
|
||||
audioChannels,
|
||||
audioCodec,
|
||||
audioBitRate,
|
||||
videoCodec
|
||||
} = props;
|
||||
|
||||
|
@ -27,6 +28,16 @@ function MediaInfo(props) {
|
|||
!!audioChannels &&
|
||||
audioChannels.toFixed(1)
|
||||
}
|
||||
|
||||
{
|
||||
((!!audioCodec && !!audioBitRate) || (!!audioChannels && !!audioBitRate)) &&
|
||||
' - '
|
||||
}
|
||||
|
||||
{
|
||||
!!audioBitRate &&
|
||||
audioBitRate
|
||||
}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
@ -46,6 +57,7 @@ MediaInfo.propTypes = {
|
|||
type: PropTypes.string.isRequired,
|
||||
audioChannels: PropTypes.number,
|
||||
audioCodec: PropTypes.string,
|
||||
audioBitRate: PropTypes.string,
|
||||
videoCodec: PropTypes.string
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue