🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add playCount to artist list
Deluan49153dc1c14a
diff --git a/resources/i18n/pt.json b/resources/i18n/pt.jsonindex 1fc487da8..b313d60ed 100644--- a/resources/i18n/pt.json+++ b/resources/i18n/pt.json@@ -64,7 +64,8 @@"fields": {"name": "Nome","albumCount": "Total de Álbuns",- "songCount": "Total de Músicas"+ "songCount": "Total de Músicas",+ "playCount": "Execuções"}},"user": {diff --git a/ui/src/artist/ArtistList.js b/ui/src/artist/ArtistList.jsindex 4f44e98b4..58c7a7a7b 100644--- a/ui/src/artist/ArtistList.js+++ b/ui/src/artist/ArtistList.js@@ -3,6 +3,7 @@ import {Datagrid,DatagridBody,DatagridRow,+ DateField,Filter,NumberField,SearchInput,@@ -85,6 +86,7 @@ const ArtistList = ({ width, ...rest }) => {<TextField source="name" /><NumberField source="albumCount" sortByOrder={'DESC'} /><NumberField source="songCount" sortByOrder={'DESC'} />+ <NumberField source="playCount" sortByOrder={'DESC'} /><ArtistContextMenu /></ArtistDatagrid>)}diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex 507b66beb..f0e0a03be 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -65,7 +65,8 @@"fields": {"name": "Name","albumCount": "Album Count",- "songCount": "Song Count"+ "songCount": "Song Count",+ "playCount": "Plays"}},"playlist": {