🎬 VAVOO Web Service v2.1

Standalone HTTP Service mit automatischer Signatur-Erneuerung + Smart Cache

📡 Endpoints:

GET /playlist

M3U Playlist mit allen Kanälen

curl http://localhost:8080/playlist > channels.m3u
vlc channels.m3u

GET /livetv/{id}

Response hängt vom Response Mode ab:

✨ Nutzt Smart Cache (1 Stream/Minute pre-resolved)

vlc http://localhost:8080/livetv/410242735467c4d516e15d

GET /info/{id}

Kanal-Informationen als JSON

curl http://localhost:8080/info/410242735467c4d516e15d | jq

GET /cache

🔍 Cache-Statistiken (Top-40 Streams)

curl http://localhost:8080/cache | jq

🔧 Features:

💻 Befehlszeilenoptionen:

--port PORT          HTTP Server Port (Default: 8080)
--host HOST          Bind Address (Default: 0.0.0.0)
--proxy SOCKS5_URL   SOCKS5 Proxy (Format: socks5://user:pass@host:port)
--baseurl BASEURL    Base URL für M3U (z.B. https://streaming.example.com)
--redirect           Redirect Mode: HTTP 302 zur Stream-URL (Legacy)
                     Ohne Flag: Standard Playlist Mode

📚 Beispiele:

python3 vavoo-service.py --port 8080
# Playlist Mode (Standard)

python3 vavoo-service.py --redirect
# Redirect Mode (Legacy)

python3 vavoo-service.py --proxy socks5://user:pass@proxy.host
python3 vavoo-service.py --baseurl "https://streaming.example.com"