Site updated at 2016-01-16 19:31:32 UTC
This commit is contained in:
parent
87b55d1a76
commit
bdff698a23
134 changed files with 3034 additions and 252 deletions
|
@ -177,6 +177,21 @@ This switch will shutdown your host immediately, there will be no confirmation.
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<h3><a class="title-link" name="control-your-vlc-player" href="#control-your-vlc-player"></a> Control your VLC player</h3>
|
||||
|
||||
<p>This switch will control a local VLC media player (<a href="https://automic.us/forum/viewtopic.php?f=4&t=144">Source</a>).</p>
|
||||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre><span class="comment"># Example configuration.yaml entry</span>
|
||||
<span class="key">switch</span>:
|
||||
<span class="key">platform</span>: <span class="string"><span class="content">command_switch</span></span>
|
||||
<span class="key">switches</span>:
|
||||
<span class="key">VLC</span>:
|
||||
<span class="key">oncmd</span>: <span class="string"><span class="delimiter">"</span><span class="content">cvlc 1.mp3 vlc://quit &</span><span class="delimiter">"</span></span>
|
||||
<span class="key">offcmd</span>: <span class="string"><span class="delimiter">"</span><span class="content">pkill vlc</span><span class="delimiter">"</span></span>
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue