mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
Your reaction to this commit were remarkable. You demanded with an imperious kind to revert this commit. You spoke about any rules only, and I didn't hear evidencing explanations from you. Admittedly, my commit wasn't very pretty and not the best style because everything was squashed in a single commit with some customizations, but which is ultimately just a formality... that's about it, and was quite compliant with license conditions. In additional, your name was noted on the commit. I'm just reminding you, until a few years ago, you didn't care about licenses. The general copyright mainly lies with yjogol and a lot of changes of the origin yweb code has been coming in by several committers since yweb exists. I won't judge, whether any unique selling points play a role, but such restrictions are exactly what the license should prevent. Especially as, many creeped in brandings in some code parts (not only yweb) do suggest that. Besides neutralizing such things, mainly it was the purpose to get more compatibility, even though some functionalities were removed or switched off. Related to yweb I have decided to take back this commit for the sake of peace, and I hope you are happy with it. However, I still reserve to continue using and adopting yweb.
183 lines
6.9 KiB
Plaintext
183 lines
6.9 KiB
Plaintext
{=include-block:Y_Blocks.txt;management_check_top=}
|
|
{=include-block:Y_Blocks.txt;head=}
|
|
|
|
<script type="text/javascript" src="/Y_Baselib.js"></script>
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function do_init()
|
|
{
|
|
var val = "";
|
|
//video
|
|
val = "{=ini-get:%(CONFIGDIR)/controld.conf;videooutput;1~open=}";
|
|
document.f.videooutput.selectedIndex = val;
|
|
obj_set_radio_value('vcroutput', "{=ini-get:%(CONFIGDIR)/controld.conf;vcroutput;0~cache=}");
|
|
document.f.h_vcroutput.value = obj_get_radio_value("vcroutput");
|
|
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;video_Format;2~open=}";
|
|
document.f.video_Format.selectedIndex = val;
|
|
|
|
val = "{=ini-get:%(CONFIGDIR)/controld.conf;video_backgroundFormat;2~cache=}";
|
|
var sel = 0;
|
|
if(val=="2") sel=1;
|
|
if(val=="3") sel=2;
|
|
document.f.video_backgroundFormat.selectedIndex = sel;
|
|
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;video_csync;0~cache=}"
|
|
document.f.video_csync.value = val;
|
|
obj_set_radio_value('vcr_AutoSwitch', "{=ini-get:%(CONFIGDIR)/neutrino.conf;vcr_AutoSwitch;true~cache=}");
|
|
//audio
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_AnalogMode;0~cache=}";
|
|
document.f.audio_AnalogMode.selectedIndex = val;
|
|
obj_set_radio_value('audiochannel_up_down_enable', "{=ini-get:%(CONFIGDIR)/neutrino.conf;audiochannel_up_down_enable;false~cache=}");
|
|
obj_set_radio_value('audio_left_right_selectable', "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_left_right_selectable;false~cache=}");
|
|
obj_set_radio_value('audio_DolbyDigital', "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_DolbyDigital;false~cache=}");
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_avs_Control;1~cache=}";
|
|
document.f.audio_avs_Control.selectedIndex = val;
|
|
val = "{=ini-get:%(CONFIGDIR)/neutrino.conf;audio_step;5~cache=}"
|
|
document.f.audio_step.value = val;
|
|
}
|
|
function set_hidden_values()
|
|
{
|
|
document.f.h_videooutput.value = document.f.videooutput.selectedIndex;
|
|
document.f.h_video_csync.value = document.f.video_csync.value;
|
|
document.f.h_vcroutput.value = obj_get_radio_value("vcroutput");
|
|
document.f.h_audio_avs_Control.value = document.f.audio_avs_Control.selectedIndex;
|
|
}
|
|
function do_submit()
|
|
{
|
|
if(document.f.video_csync.value < 0 || document.f.video_csync.value > 31)
|
|
alert("Erlaubte Werte: 0 - 31");
|
|
else{
|
|
set_hidden_values();
|
|
show_waitbox(true);
|
|
document.f.submit();
|
|
}
|
|
}
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body onload="do_init()">
|
|
{=var-set:wait_text={=L:save_values=}=}{=include-block:Y_Blocks.txt;snip_wait=}
|
|
<div class="work_box">
|
|
<div class="work_box_head"><div class="work_box_head_h2">
|
|
{=var-set:help_url=Help-Settings-Video-Audio=}{=var-set:menu=Video und Audio Einstellungen=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
|
<div class="work_box_body">
|
|
<form name="f" class="y_form" action="">
|
|
<table cellspacing="0" border="0" cellpadding="2" width="100%">
|
|
<tr>
|
|
<td colspan="2" class="y_form_header">Video</td>
|
|
</tr>
|
|
<tr><td width="35%">Video Signalart</td>
|
|
<td>
|
|
<select name="videooutput" title="select videooutput" disabled="disabled">
|
|
<option value="0" selected="selected">CVBS</option>
|
|
<option value="1">RGB + CVBS</option>
|
|
<option value="2">S-Video</option>
|
|
<option value="3">YUV + VBS</option>
|
|
<option value="4">YUV + CVBS</option>
|
|
</select>
|
|
<input type="hidden" name="h_videooutput"/>(*)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Bildschirmformat</td>
|
|
<td>
|
|
<select name="video_Format" title="select videoformat">
|
|
<option value="0" selected="selected">automatisch</option>
|
|
<option value="1">16:9</option>
|
|
<option value="2">4:3 (LB)</option>
|
|
<option value="3">4:3 (PS)</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Hintergrundbildformat</td>
|
|
<td>
|
|
<select name="video_backgroundFormat" title="select backgroundformat">
|
|
<option value="1" selected="selected">16:9</option>
|
|
<option value="2">4:3 (LB)</option>
|
|
<option value="3">4:3 (PS)</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>RGB-Zentrierung</td>
|
|
<td>
|
|
<input type="text" name="video_csync" size="2" maxlength="2" disabled="disabled" title="set rgb-sync"/>
|
|
<input type="hidden" name="h_video_csync"/>(*)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="select vcr_output">VCR-Ausgang Signalart</td>
|
|
<td>
|
|
<input type="radio" name="vcroutput" value="0" disabled="disabled"/>CVBS
|
|
<input type="radio" name="vcroutput" value="2" disabled="disabled"/>S-Video
|
|
<input type="hidden" name="h_vcroutput"/>(*)
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="vcr_AutoSwitch: off/on">Scart-Eingang automatisch</td>
|
|
<td>
|
|
<input type="radio" name="vcr_AutoSwitch" value="false"/>NEIN
|
|
<input type="radio" name="vcr_AutoSwitch" value="true"/>JA
|
|
</td>
|
|
</tr>
|
|
<tr><td colspan="2" class="y_form_header">Audio</td></tr>
|
|
<tr>
|
|
<td>Analog-Ausgang</td>
|
|
<td>
|
|
<select name="audio_AnalogMode" title="select audio analogMode">
|
|
<option value="0" selected="selected">Stereo</option>
|
|
<option value="1">Mono links</option>
|
|
<option value="2">Mono rechts</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="audiochannel selectable in menu: off/on">in Tonwahl wählbar</td>
|
|
<td>
|
|
<input type="radio" name="audiochannel_up_down_enable" value="false"/>AUS
|
|
<input type="radio" name="audiochannel_up_down_enable" value="true"/>EIN
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td title="enable audioselect with left/right: off/on">Audio mit Links/Rechts wählbar</td>
|
|
<td>
|
|
<input type="radio" name="audio_left_right_selectable" value="false"/>AUS
|
|
<input type="radio" name="audio_left_right_selectable" value="true"/>EIN
|
|
</td>
|
|
</tr>
|
|
<tr><td title="dolby digital default: off/on">Dolby Digital Default</td>
|
|
<td>
|
|
<input type="radio" name="audio_DolbyDigital" value="false"/>AUS
|
|
<input type="radio" name="audio_DolbyDigital" value="true"/>EIN
|
|
</td>
|
|
</tr>
|
|
<tr><td>Volume Steuerung</td>
|
|
<td>
|
|
<select name="audio_avs_Control" title="select volume control" disabled="disabled">
|
|
<option value="0" selected="selected">ost</option>
|
|
<option value="1">avs</option>
|
|
<option value="2">lirc</option>
|
|
</select>
|
|
<input type="hidden" name="h_audio_avs_Control"/>(*)
|
|
</td>
|
|
</tr>
|
|
<tr><td>Lautstärke Schrittweite</td>
|
|
<td>
|
|
<input type="text" name="audio_step" size="2" maxlength="2" title="audio step"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
<input type="hidden" name="execute" value="include-block:Y_Blocks.txt;video_audio_save_settings;nix"/>
|
|
<button type="button" ytype="save" title="submit and save values" onclick="do_submit()">Speichern</button>
|
|
<button type="button" ytype="refresh" onclick="stb_reload_neutrino()">reload Neutrino</button>
|
|
<a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">Hilfe</a> (* diese Einstellungen sind nur lesbar)
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{=include-block:Y_Blocks.txt;management_check_bottom=}
|