52 lines
1.8 KiB
Plaintext
52 lines
1.8 KiB
Plaintext
---
|
|
title: "Audio Stats"
|
|
description: "Displays media and listening statistics from Navidrome or Audiobookshelf, adapting its display based on the linked integration."
|
|
hide_title: true
|
|
---
|
|
|
|
import { WidgetInteractionGuide } from "@site/src/components/widgets/interactions";
|
|
|
|
import { WidgetHeader } from "@site/src/components/widgets/header";
|
|
import { AddingWidget } from "@site/src/components/widgets/adding";
|
|
import { WidgetConfig } from "@site/src/components/widgets/configuration";
|
|
import { WidgetIntegrations } from "@site/src/components/widgets/integrations";
|
|
import { audioStatsWidget } from ".";
|
|
import { navidromeIntegration } from "@site/docs/integrations/navidrome";
|
|
import { audiobookshelfIntegration } from "@site/docs/integrations/audiobookshelf";
|
|
|
|
<WidgetHeader widget={audioStatsWidget} categories={["Media"]} />
|
|
|
|
This widget adapts its display based on the linked integration:
|
|
|
|
- **Navidrome**: Shows artist, album, and song counts
|
|
- **Audiobookshelf**: Shows library count, audiobook/podcast totals, listening time, and active sessions
|
|
|
|
Only options relevant to your linked integration are shown in the configuration panel.
|
|
|
|
Compact mode keeps every configured statistic visible in the familiar filled tile layout, including a vertical stack for narrow Navidrome cards. Advanced mode retains the complete expanded statistics and stream details.
|
|
|
|
### Supported Integrations
|
|
|
|
<WidgetIntegrations
|
|
items={[
|
|
{
|
|
integration: navidromeIntegration,
|
|
note: "Displays music library statistics",
|
|
},
|
|
{
|
|
integration: audiobookshelfIntegration,
|
|
note: "Displays audiobook/podcast library stats and listening time",
|
|
},
|
|
]}
|
|
/>
|
|
|
|
<WidgetInteractionGuide />
|
|
|
|
### Adding the widget
|
|
|
|
<AddingWidget />
|
|
|
|
### Configuration
|
|
|
|
<WidgetConfig configuration={audioStatsWidget.configuration} />
|