Skip to content

Commit

Permalink
Merge pull request #411 from CommanderRoot/patch-1
Browse files Browse the repository at this point in the history
added audio only support for twitch streams
  • Loading branch information
chrippa committed Jun 7, 2014
2 parents a73f547 + 77b01b0 commit 178bf04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/livestreamer/plugins/justintv_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ def url(self, path, *args, **kwargs):
def select(self, channel, password=None, **extra_params):
url = self.url(USHER_SELECT_PATH, channel)
params = dict(p=int(random() * 999999), type="any",
allow_source="true", private_code=password or "null",
**extra_params)
allow_source="true", allow_audio_only="true",
private_code=password or "null", **extra_params)

req = requests.Request("GET", url, params=params)
# prepare_request is only available in requests 2.0+
Expand Down

0 comments on commit 178bf04

Please sign in to comment.