π‘ XtreamCodes API
API ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΠ΅Ρ Π΄ΠΎΡΡΡΠΏ ΠΊ IPTV-ΠΏΠΎΡΠΎΠΊΠ°ΠΌ (Live TV, Π Π°Π΄ΠΈΠΎ), VOD (ΡΠΈΠ»ΡΠΌΡ), ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌ ΠΈ EPG (ΡΠ΅Π»Π΅ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°) Π² ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΡΡ
, ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΡΡ
Ρ XtreamCodes. ΠΡΠΎ ΠΊΠ»ΡΡΠ΅Π²ΠΎΠΉ ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ Π΄Π»Ρ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ Ρ XC_VM.
---
## π ΠΠ°Π²ΠΈΠ³Π°ΡΠΈΡ
- [π Π Π°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΠ»ΠΎΠ²](#ΡΠ°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅-ΡΠ°ΠΉΠ»ΠΎΠ²)
- [π Π‘ΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅](#ΡΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅)
- [π ΠΠ²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ](#Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ)
- [πΊ Live TV (Π’Π ΠΈ Π Π°Π΄ΠΈΠΎ)](#live-tv-ΡΠ²-ΠΈ-ΡΠ°Π΄ΠΈΠΎ)
- [π¬ VOD (Π€ΠΈΠ»ΡΠΌΡ)](#vod-ΡΠΈΠ»ΡΠΌΡ)
- [π½ Π‘Π΅ΡΠΈΠ°Π»Ρ](#ΡΠ΅ΡΠΈΠ°Π»Ρ)
- [π ΠΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅Π΄ΠΈΠ°ΠΊΠΎΠ½ΡΠ΅Π½ΡΠ°](#ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅-ΠΌΠ΅Π΄ΠΈΠ°ΠΊΠΎΠ½ΡΠ΅Π½ΡΠ°)
- [π§Ύ ΠΡΠΈΠΌΠ΅ΡΠ°Π½ΠΈΡ](#ΠΏΡΠΈΠΌΠ΅ΡΠ°Π½ΠΈΡ)
---
## π Π Π°ΡΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ ΡΠ°ΠΉΠ»ΠΎΠ²
ΠΡΠ½ΠΎΠ²Π½ΠΎΠΉ API ΠΎΠ±ΡΠ°Π±Π°ΡΡΠ²Π°Π΅ΡΡΡ `PlayerApiController`:
```
src/public/Controllers/Api/PlayerApiController.php
```
---
## π Π‘ΠΎΠ΄Π΅ΡΠΆΠ°Π½ΠΈΠ΅
API ΡΠ°Π·Π΄Π΅Π»Π΅Π½ Π½Π° ΠΊΠ»ΡΡΠ΅Π²ΡΠ΅ ΡΠ°Π·Π΄Π΅Π»Ρ Π΄Π»Ρ ΡΠ΄ΠΎΠ±ΡΡΠ²Π° ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ. ΠΠ°ΠΆΠ΄ΡΠΉ ΡΠ½Π΄ΠΏΠΎΠΈΠ½Ρ ΠΎΠΏΠΈΡΠ°Π½ Ρ ΠΏΡΠΈΠΌΠ΅ΡΠ°ΠΌΠΈ Π·Π°ΠΏΡΠΎΡΠΎΠ² ΠΈ ΠΎΡΠ²Π΅ΡΠΎΠ².
---
## π ΠΠ²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ
ΠΠ²ΡΠΎΡΠΈΠ·Π°ΡΠΈΡ β ΠΏΠ΅ΡΠ²ΡΠΉ ΡΠ°Π³ Π΄Π»Ρ Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΠΊΠΎΠ½ΡΠ΅Π½ΡΡ. ΠΠ½Π° ΠΏΠΎΠ΄ΡΠ²Π΅ΡΠΆΠ΄Π°Π΅Ρ ΡΡΠ΅ΡΠ½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ΠΈ Π²ΠΎΠ·Π²ΡΠ°ΡΠ°Π΅Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ΅ΡΠ²Π΅ΡΠ΅.
### ΠΠ°ΠΏΡΠΎΡ
```http
GET /player_api?username={username}&password={password}
```
### ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°
```json
{
"user_info": {
"username": "testxc",
"password": "testxc",
"message": "Welcome to XC_VM",
"auth": 1,
"status": "Active",
"exp_date": null,
"is_trial": 0,
"created_at": 1757353729,
"max_connections": 1,
"allowed_output_formats": [
"m3u8",
"ts",
"rtmp"
]
},
"server_info": {
"xui": true,
"version": "1.1.0",
"url": "176.124.192.118",
"port": "80",
"https_port": "443",
"server_protocol": "http",
"rtmp_port": "8880",
"timestamp_now": 1757442189,
"time_now": "2025-09-09 19:23:09",
"timezone": "Europe/London"
}
}
```
> π‘ **Π‘ΠΎΠ²Π΅Ρ:** ΠΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ ΠΏΠΎΠ»ΡΡΠ΅Π½Π½ΡΠ΅ Π΄Π°Π½Π½ΡΠ΅ Π΄Π»Ρ ΠΏΠΎΡΠ»Π΅Π΄ΡΡΡΠΈΡ
Π·Π°ΠΏΡΠΎΡΠΎΠ², ΡΡΠΎΠ±Ρ ΠΈΠ·Π±Π΅ΠΆΠ°ΡΡ ΠΏΠΎΠ²ΡΠΎΡΠ½ΠΎΠΉ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ.
---
## πΊ Live TV (Π’Π ΠΈ Π Π°Π΄ΠΈΠΎ)
Π Π°Π·Π΄Π΅Π» Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ Ρ ΠΆΠΈΠ²ΡΠΌΠΈ ΡΡΠ°Π½ΡΠ»ΡΡΠΈΡΠΌΠΈ, Π²ΠΊΠ»ΡΡΠ°Ρ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ, ΡΡΡΠΈΠΌΡ ΠΈ EPG.
### ΠΠΎΠ»ΡΡΠΈΡΡ Π²ΡΠ΅ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ Live
```http
GET /player_api?username={username}&password={password}&action=get_live_categories
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"category_id": "1",
"category_name": "News",
"parent_id": 0
},
{
"category_id": "2",
"category_name": "Sports",
"parent_id": 0
}
]
```
### ΠΠΎΠ»ΡΡΠΈΡΡ Π²ΡΠ΅ Live-ΡΡΡΠΈΠΌΡ
```http
GET /player_api?username={username}&password={password}&action=get_live_streams
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"num": 1,
"name": "BBC News",
"stream_type": "live",
"stream_id": 101,
"stream_icon": "http://176.124.192.118/images/bbc.png",
"epg_channel_id": "bbc.news.uk",
"added": "1660568200",
"category_id": "1",
"custom_sid": "",
"tv_archive": 0,
"direct_source": "",
"tv_archive_duration": 0
}
]
```
### ΠΠΎΠ»ΡΡΠΈΡΡ ΡΡΡΠΈΠΌΡ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ
```http
GET /player_api?username={username}&password={password}&action=get_live_streams&category_id={id}
```
### ΠΠΎΠ»ΡΡΠΈΡΡ EPG ΠΊΠ°Π½Π°Π»Π° (ΠΊΡΠ°ΡΠΊΠ°Ρ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°)
```http
GET /player_api?username={username}&password={password}&action=get_short_epg&stream_id={id}&limit={N}
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
{
"epg_listings": [
{
"id": 1,
"title": "Morning News",
"start": "2022-08-15 07:00:00",
"end": "2022-08-15 08:00:00",
"description": "Daily morning news update."
}
]
}
```
### ΠΠΎΠ»ΡΡΠΈΡΡ ΠΏΠΎΠ»Π½ΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ ΠΊΠ°Π½Π°Π»Π°
```http
GET /player_api?username={username}&password={password}&action=get_simple_data_table&stream_id={id}
```
### EPG Π΄Π»Ρ Π²ΡΠ΅Ρ
ΠΊΠ°Π½Π°Π»ΠΎΠ² (XMLTV)
```http
GET /xmltv.php?username={username}&password={password}
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ° (XMLTV)**
```xml
BBC News
Morning News
Daily morning news update.
```
---
## π¬ VOD (Π€ΠΈΠ»ΡΠΌΡ)
Π Π°Π·Π΄Π΅Π» Π΄Π»Ρ Π²ΠΈΠ΄Π΅ΠΎ ΠΏΠΎ Π·Π°ΠΏΡΠΎΡΡ, Π²ΠΊΠ»ΡΡΠ°Ρ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ ΠΈ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠΈΠ»ΡΠΌΠ°Ρ
.
### ΠΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ ΡΠΈΠ»ΡΠΌΠΎΠ²
```http
GET /player_api?username={username}&password={password}&action=get_vod_categories
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"category_id": "10",
"category_name": "Action",
"parent_id": 0
},
{
"category_id": "11",
"category_name": "Drama",
"parent_id": 0
}
]
```
> β οΈ **ΠΡΠΈΠΌΠ΅ΡΠ°Π½ΠΈΠ΅:** ΠΠΎΠ»Π½ΡΠΉ ΡΠΏΠΈΡΠΎΠΊ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΉ ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π±ΠΎΠ»ΡΡΠΈΠΌ; Π² ΠΏΡΠΈΠΌΠ΅ΡΠ°Ρ
ΠΏΠΎΠΊΠ°Π·Π°Π½Ρ ΡΠΎΠ»ΡΠΊΠΎ ΡΡΠ°Π³ΠΌΠ΅Π½ΡΡ.
### ΠΠΎΠ»ΡΡΠΈΡΡ Π²ΡΠ΅ VOD-ΡΡΡΠΈΠΌΡ
```http
GET /player_api?username={username}&password={password}&action=get_vod_streams
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"num": 1,
"name": "The Dark Knight (2008)",
"title": "The Dark Knight",
"year": 2008,
"stream_type": "movie",
"stream_id": 1,
"stream_icon": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljuWhs_Jbsg3Nu1tBcV0ErgPL_v9ei3c1fI0mNI7C5eos.jpg",
"rating": 8.5,
"rating_5based": 4.3,
"added": 1757343129,
"plot": "Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.",
"cast": "Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine, Maggie Gyllenhaal",
"director": "Christopher Nolan, Christopher Nolan, Steve Gehrke",
"genre": "Drama, Action, Crime",
"release_date": "2008-07-16",
"youtube_trailer": "kmJLuwP3MbY",
"episode_run_time": "152",
"category_id": "1",
"category_ids": [1, 2],
"container_extension": "mp4",
"custom_sid": "",
"direct_source": ""
}
]
```
---
### Π€ΠΈΠ»ΡΠΌΡ ΠΏΠΎ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ
```http
GET /player_api?username={username}&password={password}&action=get_vod_streams&category_id={id}
```
### ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠΈΠ»ΡΠΌΠ΅
```http
GET /player_api?username={username}&password={password}&action=get_vod_info&vod_id={id}
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
{
"info": {
"kinopoisk_url": "https://www.themoviedb.org/movie/155",
"tmdb_id": 155,
"name": "The Dark Knight",
"o_name": "The Dark Knight",
"cover_big": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljuWhs_Jbsg3Nu1tBcV0ErgPL_v9ei3c1fI0mNI7C5eos.jpg",
"movie_image": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljuWhs_Jbsg3Nu1tBcV0ErgPL_v9ei3c1fI0mNI7C5eos.jpg",
"release_date": "2008-07-16",
"episode_run_time": 152,
"youtube_trailer": "kmJLuwP3MbY",
"director": "Christopher Nolan, Christopher Nolan, Steve Gehrke",
"actors": "Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine, Maggie Gyllenhaal",
"cast": "Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine, Maggie Gyllenhaal",
"description": "Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.",
"plot": "Batman raises the stakes in his war on crime. With the help of Lt. Jim Gordon and District Attorney Harvey Dent, Batman sets out to dismantle the remaining criminal organizations that plague the streets. The partnership proves to be effective, but they soon find themselves prey to a reign of chaos unleashed by a rising criminal mastermind known to the terrified citizens of Gotham as the Joker.",
"age": "",
"mpaa_rating": "",
"rating_count_kinopoisk": 0,
"country": "United Kingdom",
"genre": "Drama, Action, Crime",
"backdrop_path": [
"http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCADBzwKB171qpiTTqrZdeATVLqPvNOO1tw6QZZproFAJRjrtA4EzIxoMJZlI2R3OlQ.jpg"
],
"duration_secs": 9120,
"duration": "02:32:00",
"bitrate": 0,
"rating": 8.52,
"releasedate": "2008-07-16",
"subtitles": []
},
"movie_data": {
"stream_id": 1,
"name": "The Dark Knight (2008)",
"title": "The Dark Knight",
"year": 2008,
"added": 1757343129,
"category_id": "1",
"category_ids": [1, 2],
"container_extension": "mp4",
"custom_sid": "",
"direct_source": ""
}
}
```
---
## π½ Π‘Π΅ΡΠΈΠ°Π»Ρ
Π Π°Π·Π΄Π΅Π» Π΄Π»Ρ ΡΠ°Π±ΠΎΡΡ Ρ ΡΠ΅ΡΠΈΠ°Π»Π°ΠΌΠΈ, Π²ΠΊΠ»ΡΡΠ°Ρ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ, ΡΠ΅Π·ΠΎΠ½Ρ ΠΈ ΡΠΏΠΈΠ·ΠΎΠ΄Ρ.
### ΠΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ ΡΠ΅ΡΠΈΠ°Π»ΠΎΠ²
```http
GET /player_api?username={username}&password={password}&action=get_series_categories
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"category_id": "20",
"category_name": "Drama",
"parent_id": 0
}
]
```
---
### ΠΡΠ΅ ΡΠ΅ΡΠΈΠ°Π»Ρ
```http
GET /player_api?username={username}&password={password}&action=get_series
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
[
{
"num": 1,
"name": "Braceface (2001)",
"title": "Braceface",
"year": 2001,
"stream_type": "series",
"series_id": 1,
"cover": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljpT6mCZeHa4zLXMQZ2eaTpGZUSOucptPKyuP5tgpEZm0.jpg",
"plot": "The show, set in Elkford, British Columbia, is based around Sharon Spitz, who is a junior high school student with braces that get in her way of leading a normal teenage life. In the first season, she is enrolled at Mary Pickford Junior High.",
"cast": "Stacey DePass",
"director": "Charles E. Bastien",
"genre": "Drama, Animation, Comedy",
"release_date": "2001-06-02",
"releaseDate": "2001-06-02",
"last_modified": "1757348651",
"rating": "7",
"rating_5based": 3.5,
"backdrop_path": [
"http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCADBzwKB171qpiTTqrZdeATBaSzxZEgi9EPIvh5kU_50ecbH2L-yDt1PIfqijKTIMg.jpg"
],
"youtube_trailer": null,
"episode_run_time": 25,
"category_id": "4",
"category_ids": [4]
}
]
```
---
### Π‘Π΅ΡΠΈΠ°Π»Ρ ΠΏΠΎ ΠΊΠ°ΡΠ΅Π³ΠΎΡΠΈΠΈ
```http
GET /player_api?username={username}&password={password}&action=get_series&category_id={id}
```
### ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠ΅ΡΠΈΠ°Π»Π΅
```http
GET /player_api?username={username}&password={password}&action=get_series_info&series_id={id}
```
**ΠΡΠΈΠΌΠ΅Ρ ΠΎΡΠ²Π΅ΡΠ°**
```json
{
"seasons": [
{
"air_date": "2001-06-02",
"episode_count": 26,
"id": 4937,
"name": "Season 1",
"overview": "",
"season_number": 1,
"vote_average": 4.5,
"cover": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljJBrZ7sNEJHE6hlqofFOJSRKiMRvSj08-T6iTQVWvj2I.jpg",
"cover_big": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljJBrZ7sNEJHE6hlqofFOJSRKiMRvSj08-T6iTQVWvj2I.jpg"
}
],
"info": {
"name": "Braceface (2001)",
"title": "Braceface",
"year": 2001,
"cover": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCLaoCzC2XshRjzbEF-0-ISX3OBAKZPN21ASjMFFF_OljpT6mCZeHa4zLXMQZ2eaTpGZUSOucptPKyuP5tgpEZm0.jpg",
"plot": "The show, set in Elkford, British Columbia, is based around Sharon Spitz, who is a junior high school student with braces that get in her way of leading a normal teenage life. In the first season, she is enrolled at Mary Pickford Junior High.",
"cast": "Stacey DePass",
"director": "Charles E. Bastien",
"genre": "Drama, Animation, Comedy",
"release_date": "2001-06-02",
"releaseDate": "2001-06-02",
"last_modified": "1757348651",
"rating": "7",
"rating_5based": 3.5,
"backdrop_path": [
"http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCADBzwKB171qpiTTqrZdeATBaSzxZEgi9EPIvh5kU_50ecbH2L-yDt1PIfqijKTIMg.jpg"
],
"youtube_trailer": null,
"episode_run_time": 25,
"category_id": "4",
"category_ids": [4]
},
"episodes": {
"1": [
{
"id": "2",
"episode_num": "1",
"title": "Braceface - S01E01 - Brace Yourself",
"container_extension": "mp4",
"info": {
"release_date": "2001-06-02",
"plot": "Sharon Spitz, a 13-year-old 8th grader get's braces the day before picture day. When getting braces at the ortadontist, there is a thunder storm and the power go's out. Something happens with Sharon's braces and now its making her do all sorts of weird things!",
"duration_secs": 649,
"duration": "00:10:49",
"movie_image": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCADBzwKB171qpiTTqrZdeARCK8Ch0a6wlNxuIHhbJ3c1Dg_AqkwSsH-qdpnCvcMsiy6U85vvi1bs1xDOddBeOEQ.jpg",
"bitrate": 2791,
"rating": "5",
"season": "1",
"tmdb_id": "105800",
"cover_big": "http://176.124.192.118:80/images/7pQr8EhEi05VXRmZc5QfCADBzwKB171qpiTTqrZdeARCK8Ch0a6wlNxuIHhbJ3c1Dg_AqkwSsH-qdpnCvcMsiy6U85vvi1bs1xDOddBeOEQ.jpg"
},
"subtitles": [],
"custom_sid": "",
"added": 1757348651,
"season": 1,
"direct_source": ""
}
]
}
}
```
---
## π ΠΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΌΠ΅Π΄ΠΈΠ°ΠΊΠΎΠ½ΡΠ΅Π½ΡΠ°
ΠΠΎΠ»ΡΡΠΈΡΠ΅ ΠΏΡΡΠΌΡΠ΅ ΡΡΡΠ»ΠΊΠΈ Π½Π° ΠΌΠ΅Π΄ΠΈΠ°ΡΠ°ΠΉΠ»Ρ ΠΏΠΎΡΠ»Π΅ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ.
* **Live TV (ΠΊΠ°Π½Π°Π»):**
```http
http://176.124.192.118/live/{username}/{password}/{stream_id}.ts
```
* **Π€ΠΈΠ»ΡΠΌ (VOD):**
```http
http://176.124.192.118/movie/{username}/{password}/{vod_id}.mp4
```
* **Π‘Π΅ΡΠΈΡ:**
```http
http://176.124.192.118/series/{username}/{password}/{episode_id}.mp4
```
> β οΈ **ΠΠ°ΠΆΠ½ΠΎ:** ΠΡΠΈ ΠΏΠ΅ΡΠ²ΠΎΠΌ Π·Π°ΠΏΡΠΎΡΠ΅ ΠΏΡΠΎΠΈΡΡ
ΠΎΠ΄ΠΈΡ ΡΠ΅Π΄ΠΈΡΠ΅ΠΊΡ Π½Π° `/auth/...` Π΄Π»Ρ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ, ΠΏΠΎΡΠ»Π΅ ΡΠ΅Π³ΠΎ ΠΎΡΠ΄Π°ΡΡΡΡ ΠΊΠΎΠ½ΡΠ΅Π½Ρ.
---
## π§Ύ ΠΡΠΈΠΌΠ΅ΡΠ°Π½ΠΈΡ
- **Π€ΠΎΡΠΌΠ°ΡΡ Π²ΡΠ²ΠΎΠ΄Π°:** ΠΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°ΡΡΡΡ m3u8, ts, rtmp β Π²ΡΠ±ΠΈΡΠ°ΠΉΡΠ΅ Π² Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠΈ ΠΎΡ ΡΡΡΡΠΎΠΉΡΡΠ²Π°.
- **ΠΠ΅Π·ΠΎΠΏΠ°ΡΠ½ΠΎΡΡΡ:** ΠΡΠ΅ Π·Π°ΠΏΡΠΎΡΡ ΡΡΠ΅Π±ΡΡΡ Π°Π²ΡΠΎΡΠΈΠ·Π°ΡΠΈΠΈ; ΠΌΠΎΠ½ΠΈΡΠΎΡΡΡΠ΅ Π»ΠΎΠ³ΠΈ Π½Π° ΠΏΡΠ΅Π΄ΠΌΠ΅Ρ ΠΎΡΠΈΠ±ΠΎΠΊ.
- **ΠΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΡ:** ΠΠ»Ρ ΡΠ΅ΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠΉΡΠ΅ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ Π²ΡΠΎΠ΄Π΅ Postman. Π ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ ΡΠ΅Π°Π»ΠΈΠ·ΡΠΉΡΠ΅ ΠΊΡΡΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΎΡΠ²Π΅ΡΠΎΠ² Π΄Π»Ρ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΠΈ.
> π¬ ΠΡΠ»ΠΈ Π²ΠΎΠ·Π½ΠΈΠΊΠ½ΡΡ Π²ΠΎΠΏΡΠΎΡΡ ΠΏΠΎ ΠΈΠ½ΡΠ΅Π³ΡΠ°ΡΠΈΠΈ, ΡΠΎΠ·Π΄Π°ΠΉΡΠ΅ issue Π² [ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΈ](https://github.com/Vateron-Media/XC_VM/issues).
---