tvctl 0.3.0

Play YouTube, Spotify, Netflix, Prime Video and more in windows on your screen and control them from the command line (built for AI agents)
1
2
3
4
5
6
7
8
9
10
11
12
name = "primevideo"
description = "Amazon Prime Video (amazon.com/gp/video/detail and primevideo.com/detail pages, US storefront)"
# amazon.com also routes store pages here; the adapter rejects non-video URLs.
domains = ["amazon.com", "primevideo.com"]
# Playback needs a login and DRM, so only the Chrome backend works.
backends = ["chrome"]
actions = ["play", "pause", "toggle", "next", "seek", "subtitles", "audio", "volume", "speed", "quality"]

[auth]
login_url = "https://www.amazon.com/ap/signin?openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fvideo%2Fstorefront&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.assoc_handle=usflex&openid.mode=checkid_setup&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0"
cookie_url = "https://www.amazon.com"
logged_in_cookies = ["at-main", "sess-at-main"]