chatty.github.io/help/help-livestreamer.html

147 lines
8.0 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
2021-03-04 11:21:03 +01:00
<title>Chatty - Streamlink</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<body>
<div id="backlink"><a href="help.html">To main help page</a></div>
2021-03-04 11:21:03 +01:00
<h1><a name="top">Streamlink</a></h1>
<p>
<a href="#usage">Usage</a> |
<a href="#settings">Settings</a> |
<a href="#troubleshooting">Troubleshooting</a>
</p>
2021-03-04 11:21:03 +01:00
<p><a href="https://streamlink.github.io/">Streamlink</a>
is a commandline program that can be used to watch streams in a player like
2018-12-31 07:36:39 +01:00
VLC Player. It has to be downloaded and installed separately from Chatty.</p>
2017-04-12 05:28:40 +02:00
2021-03-04 11:21:03 +01:00
<p><strong>Note:</strong> Streamlink is a fork of <a href="https://github.com/chrippa/livestreamer">Livestreamer</a>
and more up-to-date, but mostly works the same way. If you want to use
Streamlink with Chatty you may have to change the <code>Base command</code>
to <code>streamlink</code> (or, as with Livestreamer, put the whole path
to the program if that is required in your case). Currently Streamlink
appears to be using the same commandline interface, so everything should
work as usual (after changing the <code>Base command</code>). If they do
change the interface, changes in Chatty may be required.</p>
<h2><a name="usage">Usage</a></h2>
2021-03-04 11:21:03 +01:00
<p>You can open the Streamlink dialog that Chatty provides via
<code>Extra - Streamlink</code>, where you can directly run Streamlink
and change some settings.</p>
<p>Each time you open a stream via the dialog or a context menu, a tab is
2021-03-04 11:21:03 +01:00
added to the dialog where the output of the Streamlink process is
redirected to. If you open a stream with the same stream name and quality you already
have open in a tab whose process isn't currently running, then that tab will
be reused.</p>
<p>The tab of a stream is automatically closed when you close the Video
2021-03-04 11:21:03 +01:00
Player opened by Streamlink, if the dialog isn't currently open. Otherwise
you have to close it yourself by using the <code>Close</code>-button on the
top right, which turns into an <code>End process</code>-button as long as
the process is still running. The <code>Retry</code>-button can be used to
re-run the last command of that tab (for example when it couldn't find the
stream, but you want to retry now because you know it's come online).</p>
2022-04-09 21:50:15 +02:00
<h3>Command</h3>
<p>The <code>/livestreamer</code> command can be entered into the inputbox
or used in a Custom Command to run Livestreamer/Streamlink as configured
in the Streamlink dialog.</p>
<dl class="defList">
<dt><code>/livestreamer &lt;stream&gt; [quality]</code></dt>
<dd>The stream is required, if no quality is given the dialog will open
to be able to select it.</dd>
<dd>Instead of specifying a stream <code>$active</code> can be used to
open the stream of the currently active channel.</dd>
<dd>Example: <code>/livestreamer joshimuz best</code></dd>
</dl>
<h2><a name="settings">Settings</a></h2>
2021-03-04 11:21:03 +01:00
<p>The settings can be changed in the Streamlink dialog.</p>
2016-10-23 17:05:29 +02:00
<dl class="dl-settings">
<dt>Enable context menu entry</dt>
2021-03-04 11:21:03 +01:00
<dd>Adds a Streamlink submenu to all context menus that can be used to
2016-10-23 17:05:29 +02:00
open streams (for example right-click on channel, username or Live
Streams dialog).</dd>
2016-10-23 17:05:29 +02:00
<dt>Show dialog when opening stream</dt>
2021-03-04 11:21:03 +01:00
<dd>Auto-opens the Streamlink Dialog when you open a stream out of a
2016-10-23 17:05:29 +02:00
context menu.</dd>
2019-02-14 14:18:03 +01:00
<dt>Auto close dialog when starting player</dt>
2021-03-04 11:21:03 +01:00
<dd>Auto-closes the Streamlink Dialog when the text <code>Starting player</code>
2019-02-14 14:18:03 +01:00
comes up in the log.</dd>
2016-10-23 17:05:29 +02:00
<dt>Context menu qualities</dt>
<dd>You can customize which quality options appear in the context menu.
The options you enter here are directly given as a parameter to
2021-03-04 11:21:03 +01:00
Streamlink, except <code>Select</code> which tells Chatty you want
2016-10-23 17:05:29 +02:00
to select a quality in the dialog.</dd>
<dd>Separate qualities by space or comma, add a <code>|</code> (vertical
bar) to add a separator to the menu.</dd>
2017-09-12 17:39:01 +02:00
<dd>Enclose qualities in brackets <code>{ }</code> if you need to add
commas, for example if you want to specify a list of fallback qualities.</dd>
2018-04-02 02:28:44 +02:00
<dd>Optionally add a display name for a group of qualities by separating
it with a colon (<code>:</code>).</dd>
2016-10-23 17:05:29 +02:00
<dd><em>Examples:</em>
<ul>
<li><code>Best, High, Worst | Select</code></li>
<li><code>Source High Medium Low Mobile | Select</code></li>
2017-09-12 17:39:01 +02:00
<li><code>Best, {720p,720p60}, Select, {Audio,audio_only}</code></li>
2018-04-02 02:28:44 +02:00
<li><code>{High Quality:1080p60,1080p,720p60,720p} {Low Quality:360p,240p}</code></li>
2016-10-23 17:05:29 +02:00
</ul>
</dd>
2021-03-04 11:21:03 +01:00
<dt>Base command (Streamlink path and parameters)</dt>
<dd>This must contain the Streamlink executable, including any
2016-10-23 17:05:29 +02:00
commandline options that you always want to be included when running
2021-03-04 11:21:03 +01:00
Streamlink out of Chatty.</dd>
2016-10-23 17:05:29 +02:00
<dd>The URL and quality are automatically appended to this when running
2021-03-04 11:21:03 +01:00
Streamlink, so the overall command that is executed is build like
2016-10-23 17:05:29 +02:00
this:
<code>&lt;Base&nbsp;command&gt; &lt;url&gt;&nbsp;&lt;quality&gt;</code>.</dd>
<dd>You can use the variables <code>$stream</code>, <code>$url</code>
and <code>$quality</code> in this setting (see Examples).</dd>
2021-03-04 11:21:03 +01:00
<dd>The default is just <code>streamlink</code>, which is sufficient
if Streamlink is correctly included in the systems PATH variable,
2016-10-23 17:05:29 +02:00
but you may also specify the full path.</dd>
<dd>Remember to surround the path or any parameters with quotes if they
contain spaces, so the commandline knows they belong together.</dd>
<dd><em>Examples:</em>
<ul class="example-list">
2021-03-04 11:21:03 +01:00
<li><code>"C:\My&nbsp;Programs\Streamlink\streamlink.exe"</code><br />
(specify full path to the Streamlink executable)</li>
<li><code>"C:\My Programs\Streamlink\streamlink.exe" --player "C:\Program Files\MPC-HC\mpc-hc64.exe"</code><br />
(specify full path to Streamlink and use a different player)</li>
<li><code>/usr/local/bin/streamlink</code><br />
(this might work on Linux/Mac if it can't find Streamlink
2016-10-23 17:05:29 +02:00
without the full path)</li>
2021-03-04 11:21:03 +01:00
<li><code>streamlink -p "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --meta-title $stream/$quality"</code><br />
2016-10-23 17:05:29 +02:00
(change VLC Player window title to something more descriptive)</li>
</ul>
</dd>
2021-03-04 11:21:03 +01:00
<dt><span class="del">Use Authorization (Twitch Oauth Token)</span></dt>
<dd>Tell Streamlink to authenticate at Twitch with your Chatty access
2016-10-23 17:05:29 +02:00
token.</dd>
2021-03-04 11:21:03 +01:00
<dd>This option has been <a href="https://streamlink.github.io/changelog.html#streamlink-2-0-0-2020-12-22">removed</a>
from Streamlink and thus also from Chatty.</dd>
2016-10-23 17:05:29 +02:00
</dl>
<h2><a name="troubleshooting">Troubleshooting</a></h2>
2021-03-04 11:21:03 +01:00
<h3>Can't run Streamlink</h3>
<p>If you get an error like <code>Error: java.io.IOException: Cannot run
program "&lt;...&gt;": CreateProcess error=2 [..]</code>, then
2021-03-04 11:21:03 +01:00
Chatty probably can't find Streamlink on your system.</p>
<p>To solve this, first make sure that
2021-03-04 11:21:03 +01:00
you actually have Streamlink installed. You need to install it on you own, it does
not come bundled with Chatty. If you are sure it is installed (and you maybe can
run it from the commandline just fine), you may have to tell Chatty the full
2021-03-04 11:21:03 +01:00
path to the Streamlink executable for it to work by entering it in the
2017-09-12 17:39:01 +02:00
<code>Base command</code> field. See the <a href="#settings">Settings section</a> above for examples
2016-10-23 17:05:29 +02:00
and help on that.</p>
</body>
</html>