mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 11:48:26 -07:00
New: Added album disambiguation to UI and Naming [ex. Weezer (Blue Album)] (#431)
This commit is contained in:
parent
54d1d90e16
commit
e6a43b2dc0
19 changed files with 73 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue