From 226b3c44be2e07899517f1e092b43e00f43aa30d Mon Sep 17 00:00:00 2001 From: ks61625 <137506695+ks61625@users.noreply.github.com> Date: Wed, 13 Nov 2024 22:49:00 +0100 Subject: [PATCH] Update tonies-custom-json.md highlight file name and mention config folder --- .../tools/teddyCloud/tecdoc/tonies-custom-json.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/docs/tools/teddyCloud/tecdoc/tonies-custom-json.md b/content/docs/tools/teddyCloud/tecdoc/tonies-custom-json.md index 0cc23de8..2e57a8be 100644 --- a/content/docs/tools/teddyCloud/tecdoc/tonies-custom-json.md +++ b/content/docs/tools/teddyCloud/tecdoc/tonies-custom-json.md @@ -1,12 +1,12 @@ --- -title: "tonies-custom-json config" -description: "Info about the tonies-custom-json file" +title: "tonies.custom.json config" +description: "Info about the tonies.custom.json file" bookCollapseSection: true --- # tonies.custom.json -teddyCloud uses the tonies-custom-json file to read the metadata of custom tags in the same manner it's done for the official boxine tonies in the tonies-json file. The structure is the same, but it's not overwritten as the tonies-json file through regularly updates. So you can use the tonies-custom-json to save metadata of your own custom tags. +teddyCloud uses the `tonies.custom.json` file from `config` folder to read the metadata of custom tags in the same manner it's done for the official boxine tonies in the `tonies.json` file. The structure is the same, but it's not overwritten as the `tonies.json` file through regularly updates. So you can use the `tonies.custom.json` to save metadata of your own custom tags. -Initially the tonies-custom-json file looks like the following: +Initially the `tonies.custom.json` file looks like the following: ``` [] @@ -16,7 +16,7 @@ In the GUI, a custom tag looks initially like: ![GUI](/img/tonies-custom-json_empty.png) -Enriched with metadata for the above shown custom tag the tonies-custom-json file looks like this (more details see below in section [Specification](#specification)): +Enriched with metadata for the above shown custom tag the `tonies.custom.json` file looks like this (more details see below in section [Specification](#specification)): ```json [{"no": "0", "model": "123456", "audio_id": ["369519776"], "hash": ["af9e61a9c1b12138fb060908d595742334b04515"], "title": "Custom Tonie Example Title", "series": "Custom Tonies", "episodes": "This is my custom tonie", "tracks": ["Title 1", "Title 2", "Title 3", "Title 4", "Title 5", "Title 6", "Title 7", "Title 8", "Title 9", "Title 10"], "release": "0", "language": "de-de", "category": "custom", "pic": "https://upload.wikimedia.org/wikipedia/en/6/6b/Hello_Web_Series_%28Wordmark%29_Logo.png"}] @@ -33,7 +33,7 @@ This results after restart of teddyCloud in the following changed appearance in ## Specification -The tonies-custom-json file uses the JSON Array Structure. It contains zero, one, or more ordered elements, separated by a comma. The JSON array is surrounded by square brackets [ ]. +The `tonies.custom.json` file uses the JSON Array Structure. It contains zero, one, or more ordered elements, separated by a comma. The JSON array is surrounded by square brackets [ ]. Each element consists of a JSON object with the following keys: @@ -57,4 +57,4 @@ Each element consists of a JSON object with the following keys: Navigate to the taf file in the library (or content if library is not enabled) and double click on the row. A modal will be shown which contains the information: -![Getting the Audio ID and Hash value](/img/tonies-custom-json_getaudioid_hash.png) \ No newline at end of file +![Getting the Audio ID and Hash value](/img/tonies-custom-json_getaudioid_hash.png)