UX: Rename "Videos" to "Media" in navigation and add audio type #4694

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-03-26 12:53:15 +01:00
parent 6f08d7f5b9
commit b0eb7aacdd
60 changed files with 11063 additions and 10455 deletions

View File

@@ -71,7 +71,11 @@ func registerCountMetrics(factory promauto.Factory, counts config.ClientCounts)
metric.With(prometheus.Labels{"stat": "all"}).Set(float64(counts.All))
metric.With(prometheus.Labels{"stat": "photos"}).Set(float64(counts.Photos))
metric.With(prometheus.Labels{"stat": "media"}).Set(float64(counts.Media))
metric.With(prometheus.Labels{"stat": "live"}).Set(float64(counts.Live))
metric.With(prometheus.Labels{"stat": "videos"}).Set(float64(counts.Videos))
metric.With(prometheus.Labels{"stat": "audio"}).Set(float64(counts.Audio))
metric.With(prometheus.Labels{"stat": "documents"}).Set(float64(counts.Documents))
metric.With(prometheus.Labels{"stat": "albums"}).Set(float64(counts.Albums))
metric.With(prometheus.Labels{"stat": "folders"}).Set(float64(counts.Folders))
metric.With(prometheus.Labels{"stat": "files"}).Set(float64(counts.Files))