diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-03-21 13:10:02 +0100 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-03-21 13:10:02 +0100 |
commit | f175241692dfc461d773589653fd55c47508a293 (patch) | |
tree | 38e9bb2416c5631ea08038d607d46384d2c67758 /src/livestreamer/cli.py | |
parent | 4ea8ddfd4d89ca96e81ddf07ec3c7d0abfc8de70 (diff) |
Change the way plugins are used.
Also use http as default protocol when URL is
missing protocol.
Diffstat (limited to 'src/livestreamer/cli.py')
-rw-r--r-- | src/livestreamer/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livestreamer/cli.py b/src/livestreamer/cli.py index 3239e81..1965e7e 100644 --- a/src/livestreamer/cli.py +++ b/src/livestreamer/cli.py @@ -24,7 +24,7 @@ def handle_url(args): if not plugin: exit(("No plugin can handle url: {0}").format(args.url)) - streams = plugin.get_streams(args.url) + streams = plugin.get_streams() if not streams: exit(("No streams found on url: {0}").format(args.url)) |