mirror of
https://github.com/SuperBFG7/ympd
synced 2025-04-11 05:06:47 +00:00
disable settings, adjust stream URL
This commit is contained in:
parent
70e3079fb5
commit
b8b8b4d184
htdocs
@ -246,23 +246,23 @@
|
||||
<div class="row">
|
||||
<div class="form-group col-md-9">
|
||||
<label class="control-label" for="mpdhost">MPD Host/IP</label>
|
||||
<input type="text" class="form-control" id="mpdhost" />
|
||||
<input type="text" class="form-control" id="mpdhost" disabled />
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<label class="control-label" for="mpdport">MPD Port</label>
|
||||
<input type="text" class="form-control" id="mpdport" />
|
||||
<input type="text" class="form-control" id="mpdport" disabled />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-6">
|
||||
<label class="control-label" for="mpd_pw">MPD Password</label>
|
||||
<input type="password" class="form-control" id="mpd_pw" placeholder="Password"/>
|
||||
<input type="password" class="form-control" id="mpd_pw" placeholder="Password" disabled />
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<label class="control-label" for="mpd_pw_con">MPD Password (Confirmation)</label>
|
||||
<input type="password" class="form-control" id="mpd_pw_con" placeholder="Password confirmation"
|
||||
data-placement="right" data-toggle="popover" data-content="Password does not match!"
|
||||
data-trigger="manual" />
|
||||
data-trigger="manual" disabled />
|
||||
</div>
|
||||
<div class="form-group col-md-12">
|
||||
<div id="mpd_password_set" class="hide alert alert-info">
|
||||
@ -274,7 +274,7 @@
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<label class="control-label" for="mpdstream">MPD Stream URL</label>
|
||||
<input type="text" class="form-control" id="mpdstream" />
|
||||
<input type="text" class="form-control" id="mpdstream" disabled />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -755,7 +755,7 @@ function setLocalStream(mpdhost) {
|
||||
var mpdstream = $.cookie("mpdstream");
|
||||
|
||||
if ( !mpdstream ) {
|
||||
mpdstream = "http://" + window.location.hostname + ":8000/";
|
||||
mpdstream = window.location.protocol + "//" + window.location.hostname + "/stream/";
|
||||
|
||||
$.cookie("mpdstream", mpdstream, { expires: 424242 });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user