1
mirror of https://github.com/streamlink/streamlink synced 2024-11-01 01:19:33 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
Hubcapp
5c3cf571ee Window Titles = Stream Titles + Other Attributes (#1576)
* Largely untested, introduces custom title attributes pulled from site APIs

Included is support for {title}, {category}/{game}, and {author}
   for Twitch and Youtube
Only tested (briefly) for Python 3 + Linux.
Committing to test on other platforms (Windows)

* bug-fix 1

* bug-fix 2

changing to list2cmdline turns out to not be necessary, since subprocess.call has already disabled the ability to break out by using `shell=False`
also broke launching on windows.

* bug-fix 3

move this to the pi3 area

* allow user to escape $ with \$

in case the user wants to use format codes.
comes at the expense of allowing streamers to insert format codes
that only appear for streamlink users, but is not a security risk
2018-07-11 11:52:17 -07:00