🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
feat(ui): show bitDepth in song info dialog
Deluan296259d781ff
diff --git a/resources/i18n/pt.json b/resources/i18n/pt.jsonindex c3c65ca57..d856391ff 100644--- a/resources/i18n/pt.json+++ b/resources/i18n/pt.json@@ -18,6 +18,7 @@"size": "Tamanho","updatedAt": "Últ. Atualização","bitRate": "Bitrate",+ "bitDepth": "Profundidade de bits","discSubtitle": "Sub-tÃtulo do disco","starred": "Favorita","comment": "Comentário",diff --git a/ui/src/common/SongInfo.jsx b/ui/src/common/SongInfo.jsxindex d94685633..5adc1ebf0 100644--- a/ui/src/common/SongInfo.jsx+++ b/ui/src/common/SongInfo.jsx@@ -74,6 +74,7 @@ export const SongInfo = (props) => {),compilation: <BooleanField source="compilation" />,bitRate: <BitrateField source="bitRate" />,+ bitDepth: <NumberField source="bitDepth" />,channels: <NumberField source="channels" />,size: <SizeField source="size" />,updatedAt: <DateField source="updatedAt" showTime />,@@ -91,7 +92,7 @@ export const SongInfo = (props) => {roles.push([name, record.participants[name].length])}- const optionalFields = ['discSubtitle', 'comment', 'bpm', 'genre']+ const optionalFields = ['discSubtitle', 'comment', 'bpm', 'genre', 'bitDepth']optionalFields.forEach((field) => {!record[field] && delete data[field]})diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex cd377932c..678e42cd4 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -18,6 +18,7 @@"size": "File size","updatedAt": "Updated at","bitRate": "Bit rate",+ "bitDepth": "Bit depth","channels": "Channels","discSubtitle": "Disc Subtitle","starred": "Favourite",