import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import CodeBlock from '@theme/CodeBlock'; import ExplorerFetch from '@site/src/components/Schema/ExplorerFetch'; import EditorFetch from '@site/src/components/Schema/SchemaEditorFetch'; import './GenericConfiguration.scss'; import FileConfigExample from './FileConfigExample'; import {useWindowSize} from '@docusaurus/theme-common'; {props.children} _**Bold/Italic**_ = Required
This displays the **structure** of the [File Configuration](/configuration?configType=aio#configuration-types) for a type with all possible properties, their shape, and descriptions/types. Use this to understand how to write a valid config.
This displays an **example config file** of a [File Configuration](/configuration?configType=aio#configuration-types) that adheres to the shown **Config Structure**. * **text** mode lets you edit the JSON directly. * **tree** mode gives you a guided point-and-click editing experience that always keeps the JSON *syntax* valid. Both modes **validate** that the configuration is correct. Any errors show up as squiggly lines. :::important Only configs will validate correctly in the editor but *both* **source** and **client** configs are allowed in the real CONFIG/.json ::: After you finish editing, switch to **text** and then copy all text to get a completed config. When configuring a **Source** in a **File** Config you **must** set ``` "configureAs": "source" ``` Without this property, Multi-Scrobbler will assume the config is for a **Client** config. This requirement does not apply to **AIO** configs.
This displays an **example config file** of a [File Configuration](/configuration?configType=aio#configuration-types) that adheres to the shown **Config Structure**. The example config file editor is meant for a larger screen experience so **only the read-only example is shown.** Please use this site on a tablet/laptop/desktop to enable file editor features.
This displays the **structure** of the [all-in-one (`config.json`) configuration](/configuration?configType=aio#configuration-types) with all possible properties, their shape, and descriptions/types. Use this to understand how to write a valid config. Select the type from the respective node below, then expand it.
This displays an **example config file** of a [all-in-one (`config.json`) configuration](/configuration?configType=aio#configuration-types) that includes a that adheres to the shown **Config Structure**. * **text** mode lets you edit the JSON directly. * **tree** mode gives you a guided point-and-click editing experience that always keeps the JSON *syntax* valid. Both modes **validate** that the configuraion is correct. Any errors show up as squiggly lines. After you finish editing, switch to **text** and then copy all text to get a completed config.
This displays an **example config file** of a [all-in-one (`config.json`) configuration](/configuration?configType=aio#configuration-types) that includes a that adheres to the shown **Config Structure**. The example config file editor is meant for a larger screen experience so **only the read-only example is shown.** Please use this site on a tablet/laptop/desktop to enable file editor features.