From 52b723dbb665b34ff21a448d21758240b402c96f Mon Sep 17 00:00:00 2001 From: SubJunk Date: Mon, 11 Sep 2023 02:25:56 +1200 Subject: [PATCH] New translations external-api.md (Czech) --- .../current/configuration/external-api.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/i18n/cs-CZ/docusaurus-plugin-content-docs/current/configuration/external-api.md b/i18n/cs-CZ/docusaurus-plugin-content-docs/current/configuration/external-api.md index 1ebe0c398..9a41f014e 100644 --- a/i18n/cs-CZ/docusaurus-plugin-content-docs/current/configuration/external-api.md +++ b/i18n/cs-CZ/docusaurus-plugin-content-docs/current/configuration/external-api.md @@ -334,7 +334,7 @@ curl -d "" -w "\n%{http_code}\n" -H "api-key: secret_password" -X GET http://loc This call will list list all available playlist accessible by UMS. -#### adding songs to playlists +#### přidávání skladeb do playlistu The required `audiotrackid` is delivered during UPnP browse requests and can be extracted from the DIDL response attribute `descMetadata` @@ -363,7 +363,7 @@ curl -d "123/Pop" -w "\n%{http_code}\n" -H "api-key: secret_password" -X POST ht This adds the song with the ID `123` to the playlist `Pop`. -#### removing songs from playlists +#### odebírání skladeb z playlistu The required `audiotrackid` is delivered during UPnP browse requests and can be extracted from the DIDL response attribute `descMetadata` @@ -394,7 +394,7 @@ curl -d "123/Pop" -w "\n%{http_code}\n" -H "api-key: secret_password" -X POST ht This removes the song with the ID `123` from the playlist `Pop`. -#### create new playlists +#### vytvořit nový playlist Playlist name should be provided without any path and without file extensions.  @@ -415,9 +415,9 @@ curl -d "Contemporary" -w "\n%{http_code}\n" -H "api-key: secret_password" -X PO This call creates a new playlist file named `Contemporary.m3u8` in the managed playlist folder. -## Java code example +## Příklad kódu Java -This code snippet shows how to use the API with okhttp3 library. +Tento úryvek kódu ukazuje, jak používat API v knihovně okhttp3. ```Java import nextcp.dto.Config;