Skip to main content
Glama

  1. Coge el mando

  2. Abre la app de Netflix

  3. Busca la serie

  4. Elige la temporada

  5. Elige el episodio

  6. Pulsa play

~30 segundos

stv play netflix "Dark" s1e1

~3 segundos

¿No tienes TV? No hay problema. Sin una TV configurada, stv abre el contenido directamente en tu navegador. Netflix, YouTube, Spotify, Disney+ — solo tienes que hacer pip install stv y listo.


🛋 Vibe-code y a relajarse

Vibe-coding a las 2am. Claude escribe tu código. Tú le dices que ponga una serie. Y lo hace.

you: play frieren on the living room tv
claude: Playing Frieren s2e8 on Living Room. (3s)

you: bit quieter
claude: Volume → 18.

you: good night
claude: All 3 TVs off.

¿Ya tienes stv instalado? Solo dile a Claude:

# Option 1 — just talk (zero config)
"run stv play netflix Frieren s2e8"

# Option 2 — install the Skill for auto-trigger
clawhub install smartest-tv
# now "play Frieren", "good night", "next episode" just work mid-session

También disponible como servidor MCP (21 herramientas) para Claude Code, Codex, Antigravity y otros clientes MCP.


Related MCP server: TVWizard

🎯 Solo escribe stv

¿Sin subcomando? Obtienes una tarjeta de "Now Playing" y tres acciones contextuales basadas en tu historial de visualización — no un volcado de ayuda con 30 comandos.

$ stv "play dark on netflix"     # natural language works
$ stv play "Frieren"             # auto-detects platform
$ stv next                       # continue last show
$ stv stats                      # → insights

¿Entrada desconocida? Recibes una pista amigable, no un error.


🎨 Un CLI que parece un producto

Cada comando se renderiza con los colores Catppuccin Mocha, iconos semánticos y una jerarquía visual real. ¿Prefieres otra paleta? Configura STV_THEME=nord o STV_THEME=gruvbox.

--format json siempre está disponible cuando necesitas pasarlo a jq.


✨ Qué hace

🎬 Reproducir por nombre

stv play netflix "Dark" s1e1
stv play disney "Percy Jackson" s1e1
stv play prime "The Boys" s1e1
stv play "Frieren" s2e8          # auto-detects platform

Di el nombre. stv encuentra el ID, abre la app, inicia la reproducción. Netflix y Apple TV+ se resuelven mediante análisis HTML. Disney+, Max, Prime, Hulu, Paramount+, Peacock, Crunchyroll y todas las plataformas en JustWatch se resuelven mediante su API — sin inicio de sesión, sin clave de API. Omite el nombre de la plataforma y stv detecta automáticamente dónde se está transmitiendo en tu región.

🔗 Haz cast de cualquier URL

stv cast https://youtu.be/dQw4w
stv cast https://netflix.com/watch/...
stv cast https://open.spotify.com/...

Un amigo te envía un enlace. Pégalo. La TV lo reproduce.

🎵 Cola y fiesta

stv queue add youtube "Gangnam Style"
stv queue add spotify "Blinding Lights"
stv queue play

Todos añaden su elección. La TV reproduce en orden.

🎭 Presets de escena

stv scene movie-night   # volume 20, cinema
stv scene kids          # volume 15, Cocomelon
stv scene sleep         # rain sounds, auto-off

Un comando establece el ambiente.

🔊 Audio multi-sala

stv audio play "lo-fi beats"
stv audio volume kitchen 30
stv audio stop

Pantallas apagadas. Música en todas partes.Sonos gratis.

📺 La TV como pantalla

stv display message "Dinner!"
stv display clock
stv display dashboard "Temp:22°C"

Paneles, relojes, señalización.$0/mes.

📊 Inteligencia de visualización

stv insights
stv screen-time
stv sub-value netflix --cost 17.99

¿Vale tu Netflix $18/mes?

🌐 Fiesta sincronizada

stv --all play youtube "lo-fi beats"
stv --group party play netflix "Wed..."
stv --all off   # good night

Todas las TVs. A la vez. Incluso amigos remotos.

🤖 Conserje con IA

"Play something chill"
→ tv_recommend → tv_play
→ Playing The Queen's Gambit

21 herramientas MCP. Una frase es suficiente.


🤖 Dile a tu IA que controle tu TV

stv es un servidor MCP. Claude, GPT, Cursor o cualquier cliente MCP puede controlar tu TV con lenguaje natural.

Configuración (una línea):

{
  "mcpServers": {
    "tv": {
      "command": "uvx",
      "args": ["stv"]
    }
  }
}

O mediante OpenClaw:

clawhub install smartest-tv

Luego solo habla:

You: "I just got home, set up movie night"

Claude: 🎬 Movie night activated.
  Volume → 20, cinema mode on.
  
  Based on your history:
  1. The Queen's Gambit (Netflix)
  2. Ozark (Netflix)
  3. Squid Game S2 (Netflix)

You: "Play 1, put a clock on kitchen TV"

Claude: ✓ Playing The Queen's Gambit
         ✓ Clock on kitchen TV

Categoría

Herramienta

Qué hace

Reproducción

tv_play

Buscar + reproducir por nombre

tv_cast

Haz un enlace a cualquier URL

tv_next

Continuar viendo

tv_launch

Abrir app con ID

tv_resolve

Obtener solo el ID del contenido

Descubrir

tv_whats_on

Contenido en tendencia

tv_recommend

Recomendaciones personalizadas

Control

tv_power

Encendido/apagado

tv_volume

Obtener/establecer/paso/silenciar

tv_screen

Pantalla encendida/apagada

tv_notify

Notificación toast

tv_status

Estado actual

Organizar

tv_queue

Cola de reproducción

tv_scene

Presets de escena

tv_history

Historial de visualización

Inteligencia

tv_insights

Estadísticas de visualización

tv_display

TV como pantalla

tv_audio

Audio multi-sala

Multi-TV

tv_sync

Reproducir en todas las TVs

tv_list_tvs

Listar TVs

tv_groups

Grupos de TVs


📅 Un día con stv

Hora

Qué sucede

7am

stv display dashboard "Weather:18°C" "Meeting:10am" en la TV de la cocina

8am

stv scene kids --tv kids-room -- Cocomelon, volumen 15

12pm

Un amigo envía un enlace de Netflix → stv cast <url>

5pm

stv screen-time → los niños vieron 2h 15m hoy

6:30pm

stv scene movie-night -- volumen 20, modo cine

7pm

stv recommend --mood chill → sugiere Ozark

9pm

stv audio play "friday vibes" -p spotify -- música en todas partes

10pm

stv --group party play netflix "Wednesday" s1e1 -- sincronizado

11:30pm

stv scene sleep → stv --all off -- buenas noches


🔥 Combinaciones asesinas

🌙 Piloto automático para dormir

stv audio play "rain" --rooms bedroom
stv scene sleep
stv --all off

Sonido ambiental, pantalla apagada, temporizador automático, todas las demás TVs apagadas.

🎧 Sonos gratis

stv audio play "lo-fi beats"
stv audio volume kitchen 40
stv audio volume bedroom 15

Cada TV es un altavoz. Volumen por habitación. Pantallas apagadas.

💰 Auditoría de suscripciones

stv sub-value netflix --cost 17.99
# → $8.50/hr — consider canceling

stv sub-value youtube --cost 13.99
# → $1.20/hr — good value

10 recetas más →



⚙️ Cómo funciona

  "Play Dark S1E1"
        │
        ▼
  ┌─── Resolution ───┐
  │ Cache → API → Web │  content_id
  │  0.1s   1s    3s  │──────────────▶ 📺 TV plays it
  └───────────────────┘       │
                         Deep link via
                    LG / Samsung / Roku / Android

Di un nombre. stv lo resuelve a un ID de contenido, crea un enlace profundo a la app en tu TV. Sin automatización de navegador, sin claves de API, sin dependencia de la nube. Los resultados se guardan en caché para que las reproducciones repetidas sean instantáneas.


📦 Instalación

pip install stv                    # LG webOS (default)
pip install "stv[samsung]"         # Samsung Tizen
pip install "stv[android]"         # Android TV / Fire TV
pip install "stv[all]"             # Everything
stv setup                          # auto-discover + pair your TV

Compatible con LG webOS · Samsung Tizen · Android TV / Fire TV · Roku

Home Assistant (HACS)

hacs_badge

Añádelo como repositorio personalizado (listado por defecto en revisión: hacs/default#6907):

HACS → ⋮ (top right) → Custom repositories
  URL: https://github.com/Hybirdss/smartest-tv
  Category: Integration → Add
Then: Install → Restart HA
Settings → Integrations → Add → "Smartest TV" → auto-discovers your TVs

Android TV / Fire TV: el flujo de configuración muestra un PIN de 6 dígitos en la TV — introdúcelo en el formulario de emparejamiento para terminar. En HA OS / HA Container configura STV_CONFIG_DIR=/config/smartest-tv para que el emparejamiento sobreviva a los reconstrucciones del contenedor. Consulta docs/integrations/home-assistant.md.

Luego úsalo en automatizaciones:

service: media_player.play_media
target:
  entity_id: media_player.living_room
data:
  media_content_type: stv
  media_content_id: "netflix:Frieren:s2e8"

Esto hace lo que el media_player.play_media integrado de HA no puede: resolver una serie por nombre y crear un enlace profundo a la app de streaming. El encendido, el volumen y los controles de reproducción también funcionan como entidades estándar de media player de HA.


🔌 Funciona con

Integración

Cómo

Home Assistant

Integración personalizada HACS → media_player.play_media con resolución de contenido

Claude Code / Cursor

Añade la configuración MCP → "play Dark s1e1"

OpenClaw

clawhub install smartest-tv → bot de Telegram

cron

0 7 * * * stv display dashboard ...

Scripts de shell

One-liners de sleep-mode, party-mode

Cualquier cliente MCP

21 herramientas, stdio o HTTP (stv serve)


📚 Documentación

Getting Started

Configuración para cualquier marca de TV

Playing Content

reproducir, transmitir, cola, resolver

Scenes

noche-de-película, niños, dormir, personalizado

Sync & Party

Multi-TV, fiesta de visualización remota

Recipes

10 combinaciones de funciones potentes

AI Agents

MCP para Claude, Cursor, OpenClaw

CLI Reference

Cada comando y opción

MCP Tools

Las 21 herramientas con parámetros


🔓 Código abierto

Cada línea de stv está en GitHub: la CLI, los resolvers (Netflix, Apple TV+, YouTube, Spotify, Disney+, Max, Prime Video, Paramount+, Hulu, Peacock, Crunchyroll y más a través de JustWatch), los 4 controladores de TV (LG, Samsung, Roku, Android), la caché, el motor de sincronización, las escenas y las 253 pruebas. Datos de disponibilidad de streaming impulsados por JustWatch.


🔒 Privacidad

stv se ejecuta en tu red local. Sin telemetría, sin análisis, sin sincronización en la nube, sin informar a casa sobre lo que ves. No hay posthog, ni amplitude, ni sentry, ni mixpanel — busca en el código fuente.

Una excepción: contribución a la caché comunitaria. Cuando reproduces contenido que no está en la caché local, stv lo resuelve (mediante análisis web) y envía el ID resuelto a una caché comunitaria compartida para que el siguiente usuario obtenga una búsqueda instantánea. Este es el mismo patrón que Wikipedia o un espejo de paquetes: muchas contribuciones pequeñas, anónimas.

Lo que se envía (HTTPS en segundo plano, de disparar y olvidar, nunca bloquea la reproducción):

  • Nombre de la plataforma (netflix / youtube / spotify)

  • Slug de contenido (p. ej. frieren)

  • ID de contenido resuelto (ID de título de Netflix, ID de video de YouTube, URI de Spotify)

Lo que no se envía:

  • Tu nombre, correo electrónico o cualquier identificador de usuario

  • Tu dirección IP (la CDN ve una IP de conexión según HTTP estándar, pero el cliente nunca la lee ni la transmite)

  • Tu historial de visualización o marcas de tiempo de reproducción

  • La dirección IP de tu TV o información de hardware

  • Nada sobre con qué frecuencia o cuándo usas stv

Para deshabilitar la contribución a la caché por completo:

export STV_NO_CONTRIBUTE=1

Fuente: src/smartest_tv/cache.py — busca _contribute.


🤝 Contribuciones

211 pruebas. No se necesita TV para ejecutarlas.

pip install -e ".[dev]"
python -m pytest tests/ -v

Los controladores de Samsung, Roku y Android TV necesitan pruebas en el mundo real. Si tienes uno, tus comentarios importan.

Contribuciones a la caché · Desarrollo de controladores


Available Tools

23 tools
tv_audioTv AudioC

Multi-room audio mode — play music with screens off.

Actions: play, stop, volume.

Inputs: action (required), room, query, rooms, +2 more. Returns: result

tv_castTv CastB

Cast a Netflix/YouTube/Spotify URL to the TV.

Paste any streaming URL. stv parses the platform and content ID automatically.

Inputs: url (required), tv_name. Returns: result

tv_displayTv DisplayB

Turn the TV into a display — show dashboards, messages, clocks, or any URL.

The TV becomes a smart display. HTML is generated and served locally, then opened in the TV's browser.

Inputs: content_type (required), data, port, tv_name. Returns: result

tv_groupsTv GroupsA

List all TV groups and their members.

Inputs: no named parameters. Returns: result

tv_historyTv HistoryC

Show recent play history.

Inputs: limit. Returns: result

tv_insightsTv InsightsB

Get viewing insights, screen time, or subscription value analysis.

Inputs: period, report_type. Returns: result

tv_launchTv LaunchA

Launch an app, optionally with a deep link.

Use tv_play instead if you have a content name (not ID). Use this when you already have the exact content ID.

Inputs: app (required), tv_name, content_id. Returns: result

tv_list_tvsTv List TvsA

List all configured TVs with name, platform, IP, and default status.

Inputs: no named parameters. Returns: result

tv_nextTv NextB

Play the next episode. Continues from watch history.

Inputs: query, tv_name. Returns: result

tv_notifyTv NotifyB

Show a toast notification on the TV screen.

Inputs: message (required), tv_name. Returns: result

tv_playTv PlayB

Find content by name and play it on TV.

This is the primary tool. Resolves the content ID automatically, then deep-links into the app on your TV.

Inputs: query (required), platform (required), season, episode, +2 more. Returns: result

tv_powerTv PowerB

Turn TV on or off.

Inputs: on (required), tv_name. Returns: result

tv_queueTv QueueC

Manage the play queue. Actions: add, show, play, skip, clear.

Inputs: action (required), query, season, episode, +2 more. Returns: result

tv_recommendTv RecommendB

Get personalized recommendations based on watch history + trending.

Inputs: mood, limit. Returns: result

tv_resolveTv ResolveA

Resolve a content name to its platform ID without playing.

Inputs: query (required), platform (required), season, episode, +1 more. Returns: result

tv_sceneTv SceneB

Run or list scene presets. Built-in: movie-night, kids, sleep, music.

Inputs: name, action, tv_name. Returns: result

tv_screenTv ScreenB

Turn screen on or off (audio continues when off).

Inputs: on (required), tv_name. Returns: result

tv_stateTv StateA

Get unified live TV state: playback, volume, input, power.

Returns a single snapshot for agent branching. Fields the target driver cannot supply are returned as None.

Inputs: tv_name. Returns: object

tv_state_watchTv State WatchA

Stream tv_state snapshots via progress notifications.

Emits count progress updates spaced interval seconds apart, then returns the final snapshot. Default is 1 minute of watching.

Inputs: count, tv_name, interval. Returns: object

tv_statusTv StatusB

Get TV status: current app, volume, mute, model, firmware.

Inputs: tv_name. Returns: object

tv_syncTv SyncB

Play content on multiple TVs simultaneously (party mode).

Resolves once, launches on all targets via asyncio.gather.

Inputs: query (required), platform (required), group, season, +3 more. Returns: result

tv_volumeTv VolumeA

Get or set volume, step up/down, or toggle mute. All in one tool.

  • No args: returns current volume + mute status

  • level=25: set volume to 25

  • direction="up"/"down": step volume

  • mute=True/False/None: mute, unmute, or toggle

Inputs: mute, level, tv_name, direction. Returns: result

tv_whats_onTv Whats OnC

Show trending content on Netflix and/or YouTube.

Inputs: limit, platform. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 23 tools

    Disambiguation4/5

    Most tools target distinct tasks, and descriptions help separate close cases like tv_play vs tv_launch vs tv_cast. However, tv_status vs tv_state, tv_volume vs tv_audio's volume action, and tv_power vs tv_screen have overlapping surface area that could occasionally cause misselection.

    Naming Consistency5/5

    All tools use a predictable tv_snake_case convention, such as tv_play, tv_queue, tv_volume, and tv_state_watch. The only variation is noun-only vs verb-noun names, but the prefix and separators are consistent throughout.

    Tool Count3/5

    23 tools is heavy for a smart TV control server, landing in the 16-25 range where discoverability and selection cost rise. The feature breadth is real, but some controls could likely be consolidated.

    Completeness3/5

    The server covers power, volume, playback, casting, queue, history, recommendations, scenes, groups, multi-room audio, and display modes. Notable gaps remain around explicit pause/resume/stop-current-playback and input/source switching.

    Maintenance

    ActivityMaintained
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers