Skip to content

Commit 4988118

Browse files
Update tonies-custom-json.md
Fix PR comments, typos and change cusom_img reference to relative path.
1 parent bff7e8d commit 4988118

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/tools/teddyCloud/tecdoc/tonies-custom-json.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ bookCollapseSection: true
66
# tonies.custom.json
77
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.
88

9-
You can generate the needed JSON data via GUI (Edit Tag / Create new model) and save it in the `tonies.custom.json` file, or you can generate it by hand, described below.
9+
You can generate the required JSON data via teddyCloud GUI (Edit Tag / Create new model) and save it in the `tonies.custom.json` file, or you can generate it manually, as described below.
1010

1111
Initially the `tonies.custom.json` file looks like the following:
1212

@@ -24,7 +24,7 @@ Enriched with metadata for the above shown custom tag the `tonies.custom.json` f
2424
[{"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"}]
2525
```
2626

27-
**Note:** After you changed the `tonies.custom.json` file you need to reload it via TeddyCloud GUI ( Settings / Reload Tonies.json ) or restart the server.
27+
**Note:** After you changed the `tonies.custom.json` file you need to reload it via teddyCloud GUI ( Settings / Reload Tonies.json ) or restart the server.
2828

2929
![GUI](/img/gui-tonies-reload-config.png)
3030

@@ -57,7 +57,7 @@ Each element consists of a JSON object with the following keys:
5757
| release | `"0"` | currently unused |
5858
| language | `"de-de"` | language code, will be shown in the gui if it's another language than the dominant one |
5959
| category | `"custom"` | category of the custom tag, currently unused |
60-
| pic | `"https://.../Logo.png"` | url of the picture which shall be shown as custom tag image in the GUI. If you stored a custom picture in custom_img folder in TeddyCloud, the link looks like this: "https://your-ip:your-port/custom_img/Logo.png" |
60+
| pic | `"https://.../Logo.png"` | url of the picture which shall be shown as custom tag image in the GUI. In case of use of the custom image folder the path should be relative, like "/custom_img/…". |
6161

6262
### How to get the Audio ID and the Hash value of a TAF
6363

0 commit comments

Comments
 (0)