mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-07 07:52:08 +08:00
Enhancement: use duration for audiobookshelf tottal, refactor uptime (#4229)
This commit is contained in:
@@ -46,12 +46,12 @@ export default function Component({ service }) {
|
||||
<Block label="stash.scenes" value={t("common.number", { value: stats.scene_count })} />
|
||||
<Block label="stash.scenesPlayed" value={t("common.number", { value: stats.scenes_played })} />
|
||||
<Block label="stash.playCount" value={t("common.number", { value: stats.total_play_count })} />
|
||||
<Block label="stash.playDuration" value={t("common.uptime", { value: stats.total_play_duration })} />
|
||||
<Block label="stash.playDuration" value={t("common.duration", { value: stats.total_play_duration })} />
|
||||
<Block
|
||||
label="stash.sceneSize"
|
||||
value={t("common.bbytes", { value: stats.scenes_size, maximumFractionDigits: 1 })}
|
||||
/>
|
||||
<Block label="stash.sceneDuration" value={t("common.uptime", { value: stats.scenes_duration })} />
|
||||
<Block label="stash.sceneDuration" value={t("common.duration", { value: stats.scenes_duration })} />
|
||||
|
||||
<Block label="stash.images" value={t("common.number", { value: stats.image_count })} />
|
||||
<Block
|
||||
|
||||
Reference in New Issue
Block a user