diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-05-25 17:26:11 +0200 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-05-25 17:26:11 +0200 |
commit | 3957b734ed75d8a53f1e195bf9126d8d8625832d (patch) | |
tree | ff744cfc1e3c34d1e1859d7ca5f6308c8ef8c451 /src/livestreamer/plugins | |
parent | e4c07414d077964613da5b7870a49f0882f703b1 (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 'src/livestreamer/plugins')
-rw-r--r-- | src/livestreamer/plugins/justintv.py | 2 | ||||
-rw-r--r-- | src/livestreamer/plugins/ownedtv.py | 2 | ||||
-rw-r--r-- | src/livestreamer/plugins/ustreamtv.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/livestreamer/plugins/justintv.py b/src/livestreamer/plugins/justintv.py index 43e343c..c6d1219 100644 --- a/src/livestreamer/plugins/justintv.py +++ b/src/livestreamer/plugins/justintv.py @@ -110,7 +110,7 @@ class JustinTV(Plugin): "swfUrl": self.SWFURL, "swfhash": swfhash, "swfsize": swfsize, - "live": 1 + "live": True }) if "token" in info: diff --git a/src/livestreamer/plugins/ownedtv.py b/src/livestreamer/plugins/ownedtv.py index 36887f7..d312efd 100644 --- a/src/livestreamer/plugins/ownedtv.py +++ b/src/livestreamer/plugins/ownedtv.py @@ -82,7 +82,7 @@ class OwnedTV(Plugin): if not name in streams: streams[name] = RTMPStream({ "rtmp": ("{0}/{1}").format(base, playpath), - "live": 1 + "live": True }) return streams diff --git a/src/livestreamer/plugins/ustreamtv.py b/src/livestreamer/plugins/ustreamtv.py index 2e2e122..a7b88a7 100644 --- a/src/livestreamer/plugins/ustreamtv.py +++ b/src/livestreamer/plugins/ustreamtv.py @@ -46,7 +46,7 @@ class UStreamTV(Plugin): "rtmp": ("{0}/{1}").format(cdnurl or fmsurl, playpath), "pageUrl": self.url, "swfUrl": self.SWFURL, - "live": 1 + "live": True }) streams["live"] = stream |