feat: Adds Audio Channel Metadata - #1036

This commit is contained in:
Miguel A. Arroyo
2021-08-20 17:35:59 -07:00
committed by Deluan Quintão
parent 0079a9b938
commit e12a14a87d
14 changed files with 115 additions and 12 deletions
+11 -1
View File
@@ -121,6 +121,9 @@ const SongList = (props) => {
/>
),
quality: isDesktop && <QualityInfo source="quality" sortable={false} />,
channels: isDesktop && (
<NumberField source="channels" sortByOrder={'ASC'} />
),
duration: <DurationField source="duration" />,
rating: config.enableStarRating && (
<RatingField
@@ -139,7 +142,14 @@ const SongList = (props) => {
const columns = useSelectedFields({
resource: 'song',
columns: toggleableFields,
defaultOff: ['bpm', 'playDate', 'albumArtist', 'genre', 'comment'],
defaultOff: [
'channels',
'bpm',
'playDate',
'albumArtist',
'genre',
'comment',
],
})
return (