Skip to main content
Glama

  1. 리모컨을 집는다

  2. Netflix 앱을 연다

  3. 프로그램을 검색한다

  4. 시즌을 고른다

  5. 에피소드를 고른다

  6. 재생을 누른다

약 30초

stv play netflix "Dark" s1e1

약 3초

TV가 없다고? 문제없다. TV를 설정하지 않아도 stv는 콘텐츠를 브라우저에서 바로 엽니다. Netflix, YouTube, Spotify, Disney+ — pip install stv만 하면 됩니다.


🛋 바이브 코딩과 힐링

새벽 2시에 바이브 코딩 중. Claude가 코드를 작성합니다. 당신이 프로그램을 틀어 달라고 말하면, 그대로 틀어 줍니다.

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.

stv를 이미 설치했다면? 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

Claude Code, Codex, Antigravity 및 기타 MCP 클라이언트에서도 MCP 서버(21개 도구)로 사용할 수 있습니다.


Related MCP server: TVWizard

🎯 그냥 stv를 입력하세요

하위 명령어가 없으면? 지금 재생 중 카드와 상황별 다음 동작 3개가 표시됩니다 — 시청 기록을 기반으로요. 30개 명령어 도움말 덤프가 아닙니다.

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

알 수 없는 입력? 오류가 아니라 친절한 힌트가 표시됩니다.


🎨 제품처럼 보이는 CLI

모든 명령은 Catppuccin Mocha 색상, 의미론적 아이콘, 확실한 시각적 위계로 렌더링됩니다. 다른 팔레트를 선호하나요? STV_THEME=nord 또는 STV_THEME=gruvbox를 설정하세요.

jq로 파이프해야 할 때는 항상 --format json을 사용할 수 있습니다.


✨ 제공 기능

🎬 이름으로 재생

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

이름만 말하세요. stv가 ID를 찾아 앱을 열고 재생을 시작합니다. Netflix와 Apple TV+는 HTML 파싱으로 확인됩니다. Disney+, Max, Prime, Hulu, Paramount+, Peacock, Crunchyroll, 그리고 JustWatch의 모든 플랫폼은 자체 API로 확인됩니다. 로그인도, API 키도 필요 없습니다. 플랫폼 이름을 생략하면 stv가 해당 지역에서 스트리밍 중인 곳을 자동 감지합니다.

🔗 URL 캐스팅

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

친구가 링크를 보냅니다. 붙여넣으세요. TV가 재생합니다.

🎵 큐 & 파티

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

각자 골라서 추가하면 TV가 순서대로 재생합니다.

🎭 장면 프리셋

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

한 번의 명령으로 분위기가 완성됩니다.

🔊 멀티룸 오디오

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

화면은 꺼져 있고, 음악은 어디에나.무료 Sonos.

📺 TV를 디스플레이로

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

대시보드, 시계, 안내판.월 $0.

📊 시청 인텔리전스

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

Netflix가 월 18달러의 가치가 있나요?

🌐 동기화 파티

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

모든 TV에서. 동시에. 멀리 있는 친구들도.

🤖 AI 컨시어지

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

MCP 도구 21개. 한 문장이면 충분합니다.


🤖 AI에게 TV를 제어하라고 말하세요

stv는 MCP 서버입니다. Claude, GPT, Cursor 또는 모든 MCP 클라이언트가 자연어로 TV를 제어할 수 있습니다.

설정(한 줄):

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

또는 OpenClaw를 통해:

clawhub install smartest-tv

그다음에는 그냥 말하세요:

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

카테고리

도구

기능

재생

tv_play

이름으로 검색 + 재생

tv_cast

URL 캐스팅

tv_next

이어서 시청

tv_launch

ID로 앱 실행

tv_resolve

콘텐츠 ID만 가져오기

탐색

tv_whats_on

트렌드 콘텐츠

tv_recommend

개인 맞춤 추천

제어

tv_power

켜기/끄기

tv_volume

볼륨 가져오기/설정/조절/음소거

tv_screen

화면 켜기/끄기

tv_notify

토스트 알림

tv_status

현재 상태

정리

tv_queue

재생 큐

tv_scene

장면 프리셋

tv_history

시청 기록

인텔리전스

tv_insights

시청 통계

tv_display

TV 디스플레이

tv_audio

멀티룸 오디오

멀티 TV

tv_sync

모든 TV에서 재생

tv_list_tvs

TV 목록

tv_groups

TV 그룹


📅 stv와 보내는 하루

시간

내용

오전 7시

주방 TV에서 stv display dashboard "Weather:18°C" "Meeting:10am" 실행

오전 8시

stv scene kids --tv kids-room -- Cocomelon, 볼륨 15

오후 12시

친구가 Netflix 링크를 보냄 → stv cast <url>

오후 5시

stv screen-time → 아이들이 오늘 2시간 15분 시청함

오후 6:30

stv scene movie-night -- 볼륨 20, 시네마 모드

오후 7시

stv recommend --mood chill → Ozark 추천

오후 9시

stv audio play "friday vibes" -p spotify -- 음악이 어디에나

오후 10시

stv --group party play netflix "Wednesday" s1e1 -- 동기화 재생

오후 11:30

stv scene sleep → stv --all off -- 좋은 밤


🔥 킬러 콤보

🌙 취침 오토파일럿

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

주변음, 화면 꺼짐, 자동 타이머, 다른 TV는 전부 꺼짐.

🎧 무료 Sonos

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

모든 TV가 스피커가 됩니다. 방별 볼륨. 화면은 꺼진 상태.

💰 구독 감사

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개 더 보기 →



⚙️ 작동 방식

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

이름을 말하면 stv가 콘텐츠 ID로 변환해 TV의 앱으로 딥링크합니다. 브라우저 자동화도, API 키도, 클라우드 의존성도 없습니다. 결과가 캐시되어 반복 재생은 즉시 이루어집니다.


📦 설치

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

지원: LG webOS · Samsung Tizen · Android TV / Fire TV · Roku

Home Assistant (HACS)

hacs_badge

사용자 지정 리포지토리로 추가하세요 (기본 등록 검토 중: 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: 설정 과정에서 TV에 6자리 PIN이 표시됩니다 — 페어링 양식에 입력하면 완료됩니다. HA OS / HA Container에서는 STV_CONFIG_DIR=/config/smartest-tv를 설정하여 컨테이너 재빌드 후에도 페어링이 유지되도록 하세요. docs/integrations/home-assistant.md를 참조하세요.

그런 다음 자동화에서 사용하세요:

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

이것은 HA에 내장된 media_player.play_media가 할 수 없는 일을 합니다: 이름으로 프로그램을 찾아 스트리밍 앱으로 딥링크합니다. 전원, 볼륨, 재생 제어도 표준 HA 미디어 플레이어 엔티티로 작동합니다.


🔌 호환

통합

방법

Home Assistant

HACS 사용자 지정 통합 → 콘텐츠 해석이 포함된 media_player.play_media

Claude Code / Cursor

MCP 설정 추가 → "play Dark s1e1"

OpenClaw

clawhub install smartest-tv → Telegram 봇

cron

0 7 * * * stv display dashboard ...

Shell scripts

sleep-mode, party-mode 한 줄 스크립트

Any MCP client

도구 21개, stdio 또는 HTTP (stv serve)


📚 문서

Getting Started

모든 TV 브랜드 설정

Playing Content

재생, 캐스팅, 대기열, 해석

Scenes

영화의 밤, 키즈, 수면, 맞춤

Sync & Party

멀티 TV, 원격 시청 파티

Recipes

10가지 강력한 기능 조합

AI Agents

Claude, Cursor, OpenClaw용 MCP

CLI Reference

모든 명령 및 옵션

MCP Tools

매개변수가 포함된 21개 도구 전체


🔓 오픈 소스

stv의 모든 코드는 GitHub에 있습니다 — CLI, 리졸버(Netflix, Apple TV+, YouTube, Spotify, Disney+, Max, Prime Video, Paramount+, Hulu, Peacock, Crunchyroll 및 JustWatch를 통한 더 많은 서비스), 4개의 TV 드라이버(LG, Samsung, Roku, Android), 캐시, 동기화 엔진, 씬, 그리고 253개의 테스트까지 모두 포함됩니다. 스트리밍 가용성 데이터는 JustWatch에서 제공합니다.


🔒 개인정보 보호

stv는 로컬 네트워크에서 실행됩니다. 텔레메트리, 분석, 클라우드 동기화, 시청 기록 전송이 없습니다. posthog, amplitude, sentry, mixpanel 같은 것은 없습니다 — 소스에서 grep으로 직접 확인하세요.

한 가지 예외 — 커뮤니티 캐시 기여. 로컬 캐시에 없는 콘텐츠를 재생하면 stv가 (웹 파싱을 통해) 이를 해석하고 해석된 ID를 공유 커뮤니티 캐시에 제출하여 다음 사용자가 즉시 조회할 수 있게 합니다. 이는 Wikipedia나 패키지 미러와 같은 패턴입니다 — 많은 작은 기여, 익명으로 이루어집니다.

전송되는 정보 (백그라운드 HTTPS, fire-and-forget, 재생을 절대 차단하지 않음):

  • 플랫폼 이름 (netflix / youtube / spotify)

  • 콘텐츠 슬러그 (예: frieren)

  • 해석된 콘텐츠 ID (Netflix 타이틀 ID, YouTube 비디오 ID, Spotify URI)

전송되지 않는 정보:

  • 이름, 이메일 또는 사용자 식별자

  • IP 주소 (CDN은 표준 HTTP에 따라 연결 IP를 확인하지만, 클라이언트는 이를 읽거나 전송하지 않음)

  • 시청 기록 또는 재생 타임스탬프

  • TV의 IP 주소 또는 하드웨어 정보

  • stv 사용 빈도나 시점에 관한 모든 정보

캐시 기여를 완전히 비활성화하려면:

export STV_NO_CONTRIBUTE=1

출처: src/smartest_tv/cache.py — _contribute 검색.


🤝 기여하기

211개의 테스트. 실행에 TV가 필요 없습니다.

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

Samsung, Roku, Android TV 드라이버는 실제 환경 테스트가 필요합니다. 해당 TV가 있다면 피드백이 중요합니다.

캐시 기여 · 드라이버 개발


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