Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Add option for spotify connect (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Jul 17, 2017
1 parent 089b4a3 commit 5cbae0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions mopidy_websettings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ <h2>MusicBox</h2>
<option value="true"{% if musicbox__enable_upnp == "true" %} selected="true"{% endif %}>On</option>
</select>
</div>

</div>

{% endif %}
Expand Down Expand Up @@ -232,7 +231,7 @@ <h2>Music files</h2>

<h3>Services</h3>
<div data-role="collapsible" class="settingscoll">
<h2>Spotify / Spotify-Web</h2>
<h2>Spotify</h2>
<p>Enable playing music from Spotify.</p>
<div>
<select name="spotify__enabled" data-role="slider"><br/>
Expand All @@ -251,6 +250,13 @@ <h2>Spotify / Spotify-Web</h2>
<option value="320"{% if spotify__bitrate == "320" %} selected="true"{% endif %}>High, higher network usage (320kbps)</option>
</select>

<label for="musicbox__enable_connect">Spotify Connect</label>
<p>Enable streaming audio via Spotify Connect (librespot). ** BETA **</p>
<select name="musicbox__enable_connect" data-role="slider"><br/>
<option value="false"{% if musicbox__enable_connect == "false" %} selected="true"{% endif %}>Off</option>
<option value="true"{% if musicbox__enable_connect == "true" %} selected="true"{% endif %}>On</option>
</select>

<label for="spotify_web__enabled">Spotify-Web</label>
<p>Enable extended Spotify browsing. This requires additional credentials obtained from
<a href="https://www.mopidy.com/authenticate#spotify" target="_blank">https://www.mopidy.com/authenticate</a>
Expand Down
1 change: 1 addition & 0 deletions mopidy_websettings/settingsspec.ini
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ output = "string(default='')"
enable_upnp = "boolean(default=false)"
enable_shairport = "boolean(default=false)"
enable_stream_watchdog = "boolean(default=false)"
enable_connect = "boolean(default=false)"

[audio]
mixer_volume = "float(min=0, max=100, default=85)"
Expand Down

0 comments on commit 5cbae0e

Please sign in to comment.