feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title: 'Media server streams'
|
||||
description: 'Show the current streams on your media servers'
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
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 { IconAd } from "@tabler/icons-react";
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
import { mediaServerWidget } from '.';
|
||||
import { embyIntegration } from '@site/docs/integrations/emby';
|
||||
import { jellyfinIntegration } from '@site/docs/integrations/jellyfin';
|
||||
import { plexIntegration } from '@site/docs/integrations/plex';
|
||||
|
||||
|
||||
<WidgetHeader
|
||||
widget={mediaServerWidget}
|
||||
categories={['Media server']}
|
||||
/>
|
||||
|
||||
The media server widget enables you to watch and view current active sessions over all your media servers.
|
||||
It also displays useful information, that you can use when providing support to users or debugging a problem.
|
||||
|
||||
|
||||
|
||||
### Screenshots
|
||||
|
||||
import mediaTable from './img/table.png';
|
||||
|
||||
<img src={mediaTable} alt="media-server-streams" width={128 * 3 * 1.5} height={128 * 1.5} />
|
||||
|
||||
### Supported Integrations
|
||||
|
||||
<WidgetIntegrations items={[{
|
||||
integration: embyIntegration,
|
||||
}, {
|
||||
integration: jellyfinIntegration,
|
||||
}, {
|
||||
integration: plexIntegration,
|
||||
note: "Will always show only currently playing streams, not all active sessions."
|
||||
}]} />
|
||||
|
||||
### Adding the widget
|
||||
|
||||
<AddingWidget />
|
||||
|
||||
### Configuration
|
||||
<WidgetConfig configuration={mediaServerWidget.configuration} />
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
import { WidgetDefinition } from "@site/src/types";
|
||||
import { IconVideo } from "@tabler/icons-react";
|
||||
|
||||
export const mediaServerWidget: WidgetDefinition = {
|
||||
icon: IconVideo,
|
||||
name: "Media server streams",
|
||||
description: "Show the current streams on your media servers",
|
||||
path: "../../widgets/media-server",
|
||||
configuration: {
|
||||
items: [
|
||||
{
|
||||
name: "Show only currently playing",
|
||||
description: "Disabling this will not work for plex.",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user