aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-05-25 17:26:11 +0200
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-05-25 17:26:11 +0200
commit3957b734ed75d8a53f1e195bf9126d8d8625832d (patch)
treeff744cfc1e3c34d1e1859d7ca5f6308c8ef8c451 /README.md
parente4c07414d077964613da5b7870a49f0882f703b1 (diff)
Refactor stream input/output.
- Now uses pbs library to handle subprocesses. - Removed -c option as not all plugins may be based on subprocesses.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index a04b0aa..06fa8e2 100644
--- a/README.md
+++ b/README.md
@@ -59,14 +59,14 @@ Livestreamer is also a library. Short example:
streams = channel.get_streams()
stream = streams["720p"]
- stream.open()
+ fd = stream.open()
while True:
- data = stream.read(1024)
+ data = fd.read(1024)
if len(data) == 0:
break
# do something with data
- stream.close()
+ fd.close()