mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Added album disambiguation to UI and Naming [ex. Weezer (Blue Album)] (#431)
This commit is contained in:
@@ -21,6 +21,7 @@ function CutoffUnmetRow(props) {
|
||||
foreignAlbumId,
|
||||
albumType,
|
||||
title,
|
||||
disambiguation,
|
||||
isSelected,
|
||||
columns,
|
||||
onSelectedChange
|
||||
@@ -62,6 +63,7 @@ function CutoffUnmetRow(props) {
|
||||
<AlbumTitleLink
|
||||
foreignAlbumId={foreignAlbumId}
|
||||
title={title}
|
||||
disambiguation={disambiguation}
|
||||
/>
|
||||
</TableRowCell>
|
||||
);
|
||||
@@ -140,6 +142,7 @@ CutoffUnmetRow.propTypes = {
|
||||
foreignAlbumId: PropTypes.string.isRequired,
|
||||
albumType: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
disambiguation: PropTypes.string,
|
||||
isSelected: PropTypes.bool,
|
||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
onSelectedChange: PropTypes.func.isRequired
|
||||
|
||||
@@ -20,6 +20,7 @@ function MissingRow(props) {
|
||||
albumType,
|
||||
foreignAlbumId,
|
||||
title,
|
||||
disambiguation,
|
||||
isSelected,
|
||||
columns,
|
||||
onSelectedChange
|
||||
@@ -55,30 +56,13 @@ function MissingRow(props) {
|
||||
);
|
||||
}
|
||||
|
||||
// if (name === 'episode') {
|
||||
// return (
|
||||
// <TableRowCell
|
||||
// key={name}
|
||||
// className={styles.episode}
|
||||
// >
|
||||
// <SeasonEpisodeNumber
|
||||
// seasonNumber={seasonNumber}
|
||||
// episodeNumber={episodeNumber}
|
||||
// absoluteEpisodeNumber={absoluteEpisodeNumber}
|
||||
// sceneSeasonNumber={sceneSeasonNumber}
|
||||
// sceneEpisodeNumber={sceneEpisodeNumber}
|
||||
// sceneAbsoluteEpisodeNumber={sceneAbsoluteEpisodeNumber}
|
||||
// />
|
||||
// </TableRowCell>
|
||||
// );
|
||||
// }
|
||||
|
||||
if (name === 'albumTitle') {
|
||||
return (
|
||||
<TableRowCell key={name}>
|
||||
<AlbumTitleLink
|
||||
foreignAlbumId={foreignAlbumId}
|
||||
title={title}
|
||||
disambiguation={disambiguation}
|
||||
/>
|
||||
</TableRowCell>
|
||||
);
|
||||
@@ -101,21 +85,6 @@ function MissingRow(props) {
|
||||
);
|
||||
}
|
||||
|
||||
// if (name === 'status') {
|
||||
// return (
|
||||
// <TableRowCell
|
||||
// key={name}
|
||||
// className={styles.status}
|
||||
// >
|
||||
// <EpisodeStatusConnector
|
||||
// albumId={id}
|
||||
// trackFileId={trackFileId}
|
||||
// albumEntity={albumEntities.WANTED_MISSING}
|
||||
// />
|
||||
// </TableRowCell>
|
||||
// );
|
||||
// }
|
||||
|
||||
if (name === 'actions') {
|
||||
return (
|
||||
<AlbumSearchCellConnector
|
||||
@@ -144,6 +113,7 @@ MissingRow.propTypes = {
|
||||
foreignAlbumId: PropTypes.string.isRequired,
|
||||
albumType: PropTypes.string.isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
disambiguation: PropTypes.string,
|
||||
isSelected: PropTypes.bool,
|
||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||
onSelectedChange: PropTypes.func.isRequired
|
||||
|
||||
Reference in New Issue
Block a user