Skip to content

Commit

Permalink
New Crowdin updates (#54)
Browse files Browse the repository at this point in the history
* New translations external-api.md (Korean)

* New translations security-and-privacy.md (Korean)

* New translations how-to-play-media.md (Korean)

* New translations intro.md (Korean)

* New translations _category_.json (Korean)

* New translations whats-new-in-v14.md (Korean)

* New translations intro.md (Turkish)

* New translations _category_.json (Turkish)

* New translations whats-new-in-v14.md (Turkish)

* New translations intro.md (Catalan)

* New translations _category_.json (Catalan)

* New translations whats-new-in-v14.md (Catalan)

* New translations whats-new-in-v14.md (Turkish)

* New translations whats-new-in-v14.md (Catalan)

* New translations whats-new-in-v14.md (Turkish)

* New translations intro.md (Russian)

* New translations intro.md (Russian)

* New translations _category_.json (Russian)

* New translations whats-new-in-v14.md (Russian)
  • Loading branch information
SubJunk authored Dec 24, 2023
1 parent f3c2fd8 commit 91a50e1
Show file tree
Hide file tree
Showing 15 changed files with 227 additions and 224 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Configuració",
"position": "",
"position": 3,
"link": {
"type": "",
"description": ""
Expand Down
6 changes: 3 additions & 3 deletions i18n/ca-ES/docusaurus-plugin-content-docs/current/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ sidebar_position: 1
slug: /
---

# Introduction
# Introducció

This website contains the official support documentation for using Universal Media Server.
Aquest lloc web conté la documentació de suport oficial per a utilitzar Universal Media Server.

If you are not a current user, and you are looking to download it or decide whether to use it, you will probably find [our main website](https://www.universalmediaserver.com) more useful.
Si no sou un usuari actual i voleu descarregar-lo o decidir si l'utilitzeu, probablement trobareu [el nostre lloc web principal](https://www.universalmediaserver.com) més útil.

It is split into 3 main sections: Configuration, Guides, and Installation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,70 +2,73 @@
sidebar_position: 2
---

# What's New in v14
# Que hi ha de nou a la v14

## Overview
## Resum

V14 contains major new features based on what our users have asked for.
La V14 conté funcions noves importants basades en el que han demanat els nostres usuaris.

The biggest changes involve the ability to control access to your content. This includes improvements to user accounts like pin codes, avatars, and shared folder groups, as well as the ability to display different content to different devices.
Els canvis més importants impliquen la possibilitat de controlar l'accés al vostre contingut. Això inclou millores als comptes d'usuari, com ara codis PIN, avatars i grups de carpetes compartides, així com la possibilitat de mostrar contingut diferent a diferents dispositius.

There have also been many updates to the web settings and player interfaces, including adding the ability to mark sets of files (e.g. TV series) as fully played, and automatic detection of your system dark/light mode preference.
També hi han hagut moltes actualitzacions a la configuració web i a les interfícies del reproductor, inclosa l'addició de la possibilitat de marcar conjunts de fitxers (per exemple, sèries de televisió) com a reproduïts completament i la detecció automàtica de la preferència del mode fosc/clar del vostre sistema.

We also took the opportunity to bump major versions of some of our dependencies, including [Mantine v7](https://mantine.dev/), [NSIS v3](https://nsis.sourceforge.io/Download), [Yarn v4](https://yarnpkg.com/), and the generator of this Knowledge Base, [Docusaurus v3](https://docusaurus.io/).
També vam aprofitar per crear versions principals d'algunes de les nostres dependències, com ara [Mantine v7](https://mantine.dev/), [NSIS v3](https://nsis.sourceforge.io/Download), [ Yarn v4](https://yarnpkg.com/) i el generador d'aquesta base de coneixement, [Docusaurus v3](https://docusaurus.io/).

Lastly, we have thrown in hundreds of bugfixes and performance improvements, and refactored a lot of code to be easier to work on, as well as improved our testing frameworks to prevent future bugs.
Finalment, hem introduït centenars de correccions d'errors i millores de rendiment, i hem refactoritzat molt de codi perquè sigui més fàcil de treballar, així com hem millorat els nostres marcs de prova per evitar errors futurs.

## New features
## Noves funcionalitats

### Block/allow renderers and network devices
### Bloqueja/permet renderitzadors i dispositius de xarxa

You can now block and allow access based on the renderer or the network device, from the Home screen on the settings area.
Ara podeu bloquejar i permetre l'accés en funció del renderitzador o del dispositiu de xarxa, des de la pantalla d'inici de l'àrea de configuració.

![Example of how to block a renderer](@site/docs/img/whats-new-in-v14-block-renderer.png)
![Exemple de com bloquejar un renderitzador](@site/docs/img/whats-new-in-v14-block-renderer.png)

### Allow or block renderers or network devices by default:
### Permet o bloqueja els renderitzadors o els dispositius de xarxa de manera predeterminada:

You can now choose the default strategy for renderers and network devices. Previously, there was only one strategy possible - either allow everything, or deny everything with an allowlist. Now you can allow or deny by default, with denylists and allowlists, for complete control.
Ara podeu triar l'estratègia predeterminada per a renderitzadors i dispositius de xarxa. Anteriorment, només hi havia una estratègia possible: permetre-ho tot o negar-ho tot amb una llista de permisos. Ara podeu permetre o denegar de manera predeterminada, amb llista de denegació i llista de permisos, per a un control complet.

This makes UMS much more flexible for shared living situations or wide/low-trust local networks. It is also useful for those of you using powerline adapters for your network since that can result in unwanted access from neighbors.
Això fa que UMS sigui molt més flexible per a situacions de vida compartida o xarxes locals àmplies o de poca confiança.
​ També és útil per a aquells que utilitzeu adaptadors de línia elèctrica per a la vostra xarxa, ja que això pot provocar un accés no desitjat dels veïns.

![Example of how to set network allow preference](@site/docs/img/whats-new-in-v14-network-allowblock-preference.png)
![Exemple de com establir la preferència de permetre la xarxa](@site/docs/img/what's-new-in-v14-network-allow block-preference.png)

![Example of how to set renderer allow preference](@site/docs/img/whats-new-in-v14-renderer-allow-preference.png)
![Exemple de com configurar la preferència de permetre el renderitzador](@site/docs/img/whats-new-in-v14-renderer-allow-preference.png)

### Link person to renderer
### Enllaça la persona al renderitzador

You can now link user accounts to renderers/devices, allowing you to have independent playback tracking. For example, if you have a TV in the living room and another in your bedroom, the living room TV doesn't need to be affected by what you watch in your bedroom.
Ara podeu enllaçar comptes d'usuari amb renderitzadors/dispositius, la qual cosa us permetrà tenir un seguiment de reproducció independent. Per exemple, si teniu un televisor a la sala d'estar i un altre al vostre dormitori, el televisor de la sala d'estar no s'ha de veure afectat pel que mireu al vostre dormitori.

![Example of how to assign an account to a renderer](@site/docs/img/whats-new-in-v14-assign-account-to-renderer.png)
![Exemple de com assignar un compte a un renderitzador](@site/docs/img/whats-new-in-v14-assign-account-to-renderer.png)

### Restrict shared content to certain groups
### Restringeix el contingut compartit a determinats grups

You can now choose to share directories or online content with certain groups. For example, if you have a person (or a device that is assigned to a person) who is a child, you can assign them to the "Kids" group, and give that group access to the "Family" directory, but not the "Horror" or "Adult Only" ones. Or give them access to the Kurzgesagt web feed, but not the history podcasts.
Ara podeu triar compartir directoris o contingut en línia amb determinats grups. Per exemple, si teniu una persona (o un dispositiu assignat a una persona) que és un nen, podeu assignar-lo al grup "Nens" i donar-li accés al directori "Família", però no al "Horror" o "Només per a adults". O doneu-los accés al canal web de Kurzgesagt, però no als podcasts de la història.

![Example of shared content groups](@site/docs/img/whats-new-in-v14-shared-content-group.png)
![Exemple de grups de contingut compartit](@site/docs/img/whats-new-in-v14-shared-content-group.png)

### Avatars
###

People can have avatars to make them easier to see at a glance. You can set them on the user settings page along with the user groups
Les persones poden tenir avatars perquè siguin més fàcils de veure d'un cop d'ull. Podeu configurar-los a la pàgina de configuració d'usuari juntament amb els grups d'usuaris

![Example of how to edit user settings](@site/docs/img/whats-new-in-v14-user-avatar.png)
![Exemple de com editar la configuració de l'usuari](@site/docs/img/whats-new-in-v14-user-avatar.png)

### Direct TMDB integration
### Integració directa de TMDB

You can now link your TMDB account with UMS in the General Settings area.
Ara podeu enllaçar el vostre compte de TMDB amb UMS a l'àrea de configuració general.

Doing this allows you to edit metadata based on search results from TMDB:
En fer-ho, podeu editar metadades basades en els resultats de la cerca de TMDB:

![Example of how to assign an account to a renderer](@site/docs/img/whats-new-in-v14-tmdb-edit-metadata.png)
![Exemple de com assignar un compte a un renderitzador](@site/docs/img/whats-new-in-v14-tmdb-edit-metadata.png)

### More
### Més

For a full list of all changes in v14, see [the full changelog](https://github.com/UniversalMediaServer/UniversalMediaServer/blob/main/CHANGELOG.md).
Per obtenir una llista completa de tots els canvis de la v14, consulteu [el registre de canvis complet](https://github.com/UniversalMediaServer/UniversalMediaServer/blob/main/CHANGELOG.md).

## Migration
## Migració

There are no special migration instructions for going from v13 to v14.
No hi han instruccions especials de migració per passar de la v13 a la v14.

As with any major update, if you want to have the ability to go back to your current version before updating, you can make a backup of your profile directory, which contains your configuration and local database. You can find the location of that directory near the top of your program logs. Look for `Profile directory: [some page]/UMS`.
Com amb qualsevol actualització important, si voleu tenir la possibilitat de tornar a la vostra versió actual abans d'actualitzar, podeu fer una còpia de seguretat del directori del vostre perfil, que conté la vostra configuració i la vostra base de dades local. Podeu trobar la ubicació d'aquest directori a prop de la part superior dels registres del vostre programa.
​ Cerqueu `Directori de perfils: [alguna pàgina]/UMS`.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "구성",
"position": "",
"position": 3,
"link": {
"type": "생성된 색인",
"description": "UMS 구성 방법"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,11 @@ Example:
curl -d "123/Pop" -w "\n%{http_code}\n" -H "api-key: secret_password" -X POST http://localhost:5001/api/playlist/addSongToPlaylist
```

This adds the song with the ID `123` to the playlist `Pop`.
그러면 ID가 `123`인 곡이 재생 목록 `Pop`에 추가됩니다.

#### removing songs from playlists
#### 재생 목록에서 노래 제거

The required `audiotrackid` is delivered during UPnP browse requests and can be extracted from the DIDL response attribute `descMetadata`
필요한 `audiotrackid`UPnP 찾아보기 요청 시 전달되며 DIDL 응답 속성 `descMetadata`에서 추출할 수 있습니다

```XML
<ums-tags>
Expand All @@ -377,47 +377,47 @@ The required `audiotrackid` is delivered during UPnP browse requests and can be

``

| Intention | Remove song from playlist |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| URI | `<span class="s1">/api/</span><span class="s1">playlist</span><span class="s1">/</span><span class="s1">removeSongFromPlaylist</span>` |
| REQUEST TYPE | POST |
| POST BODY | `audiotrackid<span style="background-color: #bfe6ff; font-size: 11.76px; white-space: pre-wrap;">/PLAYLIST</span>` |
| POST BODY example / description | 123/Pop |
| RESPONSE BODY | NONE |
| Available since | 11.0 |
| 의도 | 재생 목록에서 노래 제거 |
| ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| URI | `<span class="s1">/api/</span><span class="s1">playlist</span><span class="s1">/</span><span class="s1">removeSongFromPlaylist</span>` |
| REQUEST TYPE | POST |
| POST BODY | `audiotrackid<span style="background-color: #bfe6ff; font-size: 11.76px; white-space: pre-wrap;">/PLAYLIST</span>` |
| POST BODY 예제 / 설명 | 123/Pop |
| RESPONSE BODY | NONE |
| 이후 사용 가능 | 11.0 |

Example:
예제:

```shell
curl -d "123/Pop" -w "\n%{http_code}\n" -H "api-key: secret_password" -X POST http://localhost:5001/api/playlist/removeSongFromPlaylist
```

This removes the song with the ID `123` from the playlist `Pop`.
그러면 재생 목록 ` Pop`에서 ID `123`인 곡이 제거됩니다.

#### create new playlists
#### 새 재생 목록 만들기

Playlist name should be provided without any path and without file extensions
재생 목록 이름은 경로 없이 파일 확장자 없이 제공되어야 합니다

| Intention | Creating new playlists in managed playlist folder |
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| URI | `<span class="s1">/api/</span><span class="s1">playlist</span><span class="s1">/</span><span class="s1">createPlaylist</span>` |
| REQUEST TYPE | POST |
| POST BODY | `<span style="background-color: #bfe6ff; font-size: 11.76px; white-space: pre-wrap;">PLAYLIST_NAME</span>` |
| POST BODY example / description | Contemporary |
| RESPONSE BODY | NONE |
| Available since | 11.0 |
| 의도 | 관리되는 재생 목록 폴더에서 새 재생 목록 만들기 |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| URI | `<span class="s1">/api/</span><span class="s1">playlist</span><span class="s1">/</span><span class="s1">createPlaylist</span>` |
| REQUEST TYPE | POST |
| POST BODY | `<span style="background-color: #bfe6ff; font-size: 11.76px; white-space: pre-wrap;">PLAYLIST_NAME</span>` |
| POST BODY 예제 / 설명 | Contemporary |
| RESPONSE BODY | NONE |
| 이후 사용 가능 | 11.0 |

Example:
예제:

```shell
curl -d "Contemporary" -w "\n%{http_code}\n" -H "api-key: secret_password" -X POST http://localhost:5001/api/playlist/createPlaylist
```

This call creates a new playlist file named `Contemporary.m3u8` in the managed playlist folder.
이 호출은 관리되는 재생 목록 폴더에 `Contemporary.m3u8`이라는 이름의 새 재생 목록 파일을 만듭니다.

## Java code example
## Java 코드 예제

This code snippet shows how to use the API with okhttp3 library.
이 코드 스니펫은 okhttp3 라이브러리와 함께 API를 사용하는 방법을 보여줍니다.

```Java
import nextcp.dto.Config;
Expand All @@ -444,6 +444,6 @@ import okhttp3.Response;
}
```

## HTTP return codes
## HTTP 반환 코드

| 200 | OK | | 204 | success if no content is supposed to be returned | | 401 | invalid api key | | 404 | requested object cannot be found | | 417 | API request failed | | 503 | external api is not enabled. Set a `api_key` in UMS.conf with a length of 12 or more character |
Loading

0 comments on commit 91a50e1

Please sign in to comment.