# dimonovich/tv architecture

> Architecture diagram of the GitHub repository dimonovich/tv, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-08-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dimonovich/tv
- Repository: https://github.com/dimonovich/tv

## Overview

#### Purpose and Entry Points
This is a static media/IPTV playlist bundle, not an application repository. It distributes M3U channel catalogs, HTML viewing/navigation pages, a VPN configuration file, and local media assets. Primary entry points are `Panda_Radio.html`, `Radio_Genres.html`, `Panda_info.html`, `top_tul.html`, and the playlist files at repository root.

#### Playlist Catalog Layer
M3U files are the core content interface consumed by IPTV players or compatible media clients:
- `FILMS.m3u` — film-oriented streams/catalog.
- `RADIO.m3u` and `RADIO_GENRES.m3u` — radio catalogs, including genre organization.
- `Starnet.m3u` — an additional provider or channel collection.
- `.m3u` — a root-level playlist with an atypical hidden filename.

These files form the primary external-service boundary: stream URLs and metadata are expected to be interpreted by the client rather than hosted by repository code.

#### Radio Navigation and Playback Pages
Static HTML pages provide browser-facing organization around the radio playlists:
- `Panda_Radio.html`
- `Radio_Genres.html`
- `Panda_info.html`

Their likely role is to expose radio stations, genre navigation, and informational content without a server-side runtime. Browser HTML/media APIs are the material runtime.

#### Media Content Boundaries
Directory-like repository entries partition media categories:
- `CAMERA`
- `TV`
- `ZARUB`

These likely hold or represent camera, television, and foreign-content catalogs/assets. They are content boundaries rather than executable modules, with playlist files serving as the likely linkage mechanism.

#### Local Video Asset
`ZastavkaPodpishis.mp4` is a bundled MP4 media asset, likely used as an intro, interstitial, or promotional video by a static page or playlist-compatible client. It is the only explicit local binary media resource in the tree.

#### Utility and Presentation Pages
Two standalone HTML artifacts support playlist management or presentation:
- `M3U_Duplicate_Remover.html` — browser-side utility for removing duplicate playlist entries.
- `top_tul.html` — likely a landing, header, or navigation presentation page.

Because no backend source is present, any processing performed by these pages must run client-side.

#### Network Configuration
`VPN.json` is the repository’s only explicit infrastructure/configuration artifact. It likely contains VPN connection or provider settings needed to reach restricted streams. It should be treated as a deployment/client-network boundary, separate from the static catalog and HTML content.

Main entry points: [`Panda_Radio.html`](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Panda_Radio.html) (Panda Radio), [`Radio_Genres.html`](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Radio_Genres.html) (Radio Genres), [`RADIO.m3u`](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO.m3u) (Radio Playlist), [`RADIO_GENRES.m3u`](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO_GENRES.m3u) (Radio Genres Playlist)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalogs["Playlist Catalogs"]
  node_films["Films Playlist<br/>M3U playlist<br/>[FILMS.m3u]"]
  node_radio["Radio Playlist<br/>M3U playlist<br/>[RADIO.m3u]"]
  node_radio_genres_playlist["Radio Genres Playlist<br/>M3U playlist<br/>[RADIO_GENRES.m3u]"]
  node_starnet["Starnet Playlist<br/>M3U playlist<br/>[Starnet.m3u]"]
  node_hidden_playlist["Hidden Playlist<br/>M3U playlist<br/>[.m3u]"]
end

subgraph group_pages["Static HTML Pages"]
  node_panda_radio["Panda Radio<br/>static HTML<br/>[Panda_Radio.html]"]
  node_radio_genres_page["Radio Genres<br/>static HTML<br/>[Radio_Genres.html]"]
  node_panda_info["Panda Info<br/>static HTML<br/>[Panda_info.html]"]
  node_top_tul["Top Navigation<br/>static HTML<br/>[top_tul.html]"]
  node_duplicate_remover["Duplicate Remover<br/>client-side utility"]
end

subgraph group_media["Media Content"]
  node_camera["Camera Content<br/>content directory"]
  node_tv["TV Content<br/>content directory"]
  node_zarub["Foreign Content<br/>content directory"]
  node_intro_video["Intro Video<br/>MP4 asset"]
end

node_iptv_client(("IPTV Media Client<br/>external client"))
node_browser(("Browser HTML/Media APIs<br/>browser runtime"))
node_vpn["VPN Settings<br/>network configuration<br/>[VPN.json]"]

node_panda_radio -->|"runs in"| node_browser
node_radio_genres_page -->|"runs in"| node_browser
node_panda_info -->|"runs in"| node_browser
node_top_tul -->|"runs in"| node_browser
node_duplicate_remover -->|"runs in"| node_browser
node_panda_radio -->|"organizes"| node_radio
node_radio_genres_page -->|"organizes"| node_radio_genres_playlist
node_films -->|"consumed by"| node_iptv_client
node_radio -->|"consumed by"| node_iptv_client
node_radio_genres_playlist -->|"consumed by"| node_iptv_client
node_starnet -->|"consumed by"| node_iptv_client
node_hidden_playlist -->|"consumed by"| node_iptv_client
node_vpn -.->|"network access"| node_iptv_client
node_camera -.->|"content boundary"| node_iptv_client
node_tv -.->|"content boundary"| node_iptv_client
node_zarub -.->|"content boundary"| node_iptv_client
node_intro_video -.->|"local media"| node_browser

click node_films "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/FILMS.m3u"
click node_radio "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO.m3u"
click node_radio_genres_playlist "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO_GENRES.m3u"
click node_starnet "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Starnet.m3u"
click node_hidden_playlist "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/.m3u"
click node_panda_radio "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Panda_Radio.html"
click node_radio_genres_page "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Radio_Genres.html"
click node_panda_info "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Panda_info.html"
click node_top_tul "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/top_tul.html"
click node_duplicate_remover "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/M3U_Duplicate_Remover.html"
click node_camera "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/CAMERA"
click node_tv "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/TV"
click node_zarub "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/ZARUB"
click node_intro_video "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/ZastavkaPodpishis.mp4"
click node_vpn "https://github.com/dimonovich/tv/blob/Dimonovich/FREE/VPN.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_films,node_radio,node_radio_genres_playlist,node_starnet,node_hidden_playlist toneBlue
class node_panda_radio,node_radio_genres_page,node_panda_info,node_top_tul,node_duplicate_remover toneAmber
class node_camera,node_tv,node_zarub,node_intro_video toneMint
class node_iptv_client,node_browser,node_vpn toneNeutral
```

## Components

### Playlist Catalogs

- [Films Playlist](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/FILMS.m3u): M3U playlist · `FILMS.m3u`
- [Radio Playlist](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO.m3u): M3U playlist · `RADIO.m3u`
- [Radio Genres Playlist](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/RADIO_GENRES.m3u): M3U playlist · `RADIO_GENRES.m3u`
- [Starnet Playlist](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Starnet.m3u): M3U playlist · `Starnet.m3u`
- [Hidden Playlist](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/.m3u): M3U playlist · `.m3u`

### Static HTML Pages

- [Panda Radio](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Panda_Radio.html): static HTML · `Panda_Radio.html`
- [Radio Genres](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Radio_Genres.html): static HTML · `Radio_Genres.html`
- [Panda Info](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/Panda_info.html): static HTML · `Panda_info.html`
- [Top Navigation](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/top_tul.html): static HTML · `top_tul.html`
- [Duplicate Remover](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/M3U_Duplicate_Remover.html): client-side utility · Removes duplicate playlist entries in the browser. · `M3U_Duplicate_Remover.html`

### Media Content

- [Camera Content](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/CAMERA): content directory · `CAMERA`
- [TV Content](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/TV): content directory · `TV`
- [Foreign Content](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/ZARUB): content directory · `ZARUB`
- [Intro Video](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/ZastavkaPodpishis.mp4): MP4 asset · Bundled local video asset. · `ZastavkaPodpishis.mp4`

### Other components

- **IPTV Media Client**: external client · Interprets playlist metadata and stream URLs.
- **Browser HTML/Media APIs**: browser runtime · Runs the static navigation and utility pages client-side.
- [VPN Settings](https://github.com/dimonovich/tv/blob/Dimonovich/FREE/VPN.json): network configuration · Client network boundary for restricted streams. · `VPN.json`

## Connections

- Panda Radio → Browser HTML/Media APIs: runs in
- Radio Genres → Browser HTML/Media APIs: runs in
- Panda Info → Browser HTML/Media APIs: runs in
- Top Navigation → Browser HTML/Media APIs: runs in
- Duplicate Remover → Browser HTML/Media APIs: runs in
- Panda Radio → Radio Playlist: organizes
- Radio Genres → Radio Genres Playlist: organizes
- Films Playlist → IPTV Media Client: consumed by
- Radio Playlist → IPTV Media Client: consumed by
- Radio Genres Playlist → IPTV Media Client: consumed by
- Starnet Playlist → IPTV Media Client: consumed by
- Hidden Playlist → IPTV Media Client: consumed by
- VPN Settings → IPTV Media Client: network access
- Camera Content → IPTV Media Client: content boundary
- TV Content → IPTV Media Client: content boundary
- Foreign Content → IPTV Media Client: content boundary
- Intro Video → Browser HTML/Media APIs: local media
