Skip to content

Commit 7e0f7c3

Browse files
theychxskorokithakis
authored andcommitted
fix: Make cast_site accept stdin as argument (skorokithakis#108)
1 parent 5fa8387 commit 7e0f7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catt/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def cast(settings, video_url, subtitle, force_default, random_play, no_subs):
231231

232232

233233
@cli.command(short_help="Cast any website to a Chromecast.")
234-
@click.argument("url")
234+
@click.argument("url", callback=process_url)
235235
@click.pass_obj
236236
def cast_site(settings, url):
237237
cst = setup_cast(settings["device"], prep="app", controller="dashcast")

0 commit comments

Comments
 (0)