# ------- Neutrino form
# form-data in block (var-get:neutrino)
start-block~neutrino_form

{=include-block:Y_Blocks.txt;management_check_top=}
{=include-block:Y_Blocks.txt;head=}

{=var-set:wait_text={=L:save_vlaues=}=}{=include-block:Y_Blocks.txt;snip_wait=}
{=include-block:Y_neutrino_Blocks.txt;{=var-get:neutrino=}=}

{=include-block:Y_Blocks.txt;management_check_bottom=}
end-block~neutrino_form

# ------- Neutrino form help box
start-block~neutrino_form_helpbox

{=L:set.sync_with_neutrino=}

	{=L:set.sync_with_neutrino_desc=}

end-block~neutrino_form_helpbox

# ------- Neutrino form-data: record -------------------------------
start-block~neutrino_form-data_record

	{=var-set:help_url=Help-Settings-Aufnahme=}{=var-set:menu={=L:set.menue.recording=}=}{=include-block:Y_Blocks.txt;work_menu=}

		{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
			 {=L:set.rec.rec_dest=}
			
				 {=L:set.rec.device=}
				 					
					{=L:off=}
					{=L:set.rec.server=}
					{=L:set.rec.recorder=}
					{=L:set.rec.file=}

				 {=L:set.rec.recserver_ip=}

				 {=L:set.rec.recserver_port=}

				 {=L:set.rec.recserver_wol=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.mac_adress=}

			 {=L:set.rec.rec_behavior=}
			
				 {=L:set.rec.stop_playback=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.epg_sectionsd=}
				 					
					{=L:set.rec.dont_stop=}
					{=L:set.rec.stop=}
					{=L:set.rec.restart=}

				 {=L:set.rec.zap=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.scart=}
				 					{=L:off=} 
					{=L:on=}

		=}
		{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
			
				 {=L:set.rec.spts=}
				 					{=L:off=} 
					{=L:on=}

		~=}
			 {=L:set.rec.timer_settings=}
			
				 {=L:set.rec.start_delay=}
				  {=L:set.reboot_required=}

				 {=L:set.rec.stop_delay=}
				  {=L:set.reboot_required=}

				 {=L:set.rec.zap_delay=}
				  {=L:set.reboot_required=}
			
			 {=L:set.rec.audio_channels=}
			
				 {=L:set.rec.audio_standard=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.audio_alternate=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.audio_ac3=}
				 					{=L:off=} 
					{=L:on=}

			 {=L:set.rec.timeshift_desc=}
			
				 {=L:set.rec.timeshift.directory=}

				 {=L:set.rec.timeshift.recordtime=}

				 {=L:set.rec.timeshift.pause=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.timeshift.auto_record=}

				 {=L:set.rec.timeshift.auto_delete=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.rec.timeshift.tmp_timeshift=}
				 					{=L:off=} 
					{=L:on=}

		</table>
		<br/>
		<input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/>
		<input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_record_save_settings;nix"/>
		<input type="hidden" name="form" value="{=form=}"/>
		<button type="button" ytype="save" title="{=L:save_values_desc=}s" onclick="do_submit()">{=L:save=}</button>
		&nbsp;<button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:set.reload_neutrino=}</button>
		&nbsp;<a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:help=}</a>
	</form>
	</div>


//<![CDATA[
function form_init()
{
	var val = "";
{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_server_ip;10.10.10.10=}";
		document.f.ip.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_server_port;4000=}";
		document.f.port.value = val;
	obj_set_radio_value('wol', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_server_wakeup;0=}");
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_server_mac;11:22:33:44:55:66=}";
		document.f.mac.value = val;
	obj_set_radio_value('stopplayback', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_stopplayback;false=}");
	obj_set_radio_value('zap_on_announce', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_zap_on_announce;false=}");
	obj_set_radio_value('vcr_no_scart', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_vcr_no_scart;0=}");
	obj_set_radio_value('in_spts_mode', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_in_spts_mode;true=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_stopsectionsd;0~cache=}";
		document.f.stopsectionsd.selectedIndex = val;

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_type;0=}";
	document.f.rec_type.selectedIndex = val;
	change_rec_type();
=}
	obj_set_radio_value('timeshift_pause', "{=ini-get:/var/tuxbox/config/neutrino.conf;timeshift_pause;0=}");
	obj_set_radio_value('auto_delete', "{=ini-get:/var/tuxbox/config/neutrino.conf;auto_delete;true=}");
	obj_set_radio_value('temp_timeshift', "{=ini-get:/var/tuxbox/config/neutrino.conf;temp_timeshift;0=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_audio_pids_default;true=}";
	val = parseInt(val);
	if(val & 1)
		document.f.audio_std[1].checked = true;
	else
		document.f.audio_std[0].checked = true;
	if(val & 2)
		document.f.audio_alt[1].checked = true;
	else
		document.f.audio_alt[0].checked = true;
	if(val & 4)
		document.f.audio_ac3[1].checked = true;
	else
		document.f.audio_ac3[0].checked = true;
}
function change_rec_type()
{
{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
	if(document.f.rec_type.selectedIndex != 1)
		$('ip','port', 'mac', 'wol0', 'wol1').invoke('disable');
	else
		$('ip','port', 'mac', 'wol0', 'wol1').invoke('enable');
	if(document.f.rec_type.selectedIndex != 2)
		$('vcr0','vcr1').invoke('disable');
	else
		$('vcr0','vcr1').invoke('enable')
	if(document.f.rec_type.selectedIndex != 1 && document.f.rec_type.selectedIndex != 3){
		$('spts0','spts1', 'sp0', 'sp1', 'ss').invoke('disable');
		$$('.audio').invoke('disable');
	}
	else{
		$('spts0','spts1', 'sp0', 'sp1', 'ss').invoke('enable');
		$$('.audio').invoke('enable');
	}
	change_mac();
=}
}

function change_mac()
{
{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
	var vis = document.f.wol[0].checked;
	if(document.f.rec_type.selectedIndex == 1)
		document.f.mac.disabled = vis;
=}
}
function do_submit()
{
	show_waitbox(true);
	var val = (document.f.audio_std[1].checked == true)?1:0;
	val +=(document.f.audio_alt[1].checked == true)?2:0;
	val +=(document.f.audio_ac3[1].checked == true)?4:0;
	document.f.recording_audio_pids_default.value = val;
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_record

# ------- yWeb save Settings
start-block~neutrino_record_save_settings
{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_server_ip;{=ip=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_server_port;{=port=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_server_mac;{=mac=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_server_wakeup;{=wol=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_type;{=rec_type=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_stopplayback;{=stopplayback=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_stopsectionsd;{=stopsectionsd=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_zap_on_announce;{=zap_on_announce=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_vcr_no_scart;{=vcr_no_scart=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_in_spts_mode;{=in_spts_mode=}~cache=}
~
{=ini-set:/var/tuxbox/config/neutrino.conf;timeshiftdir;{=timeshiftdir=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;record_hours;{=record_hours=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;timeshift_pause;{=timeshift_pause=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;auto_timeshift;{=auto_timeshift=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;auto_delete;{=auto_delete=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;temp_timeshift;{=temp_timeshift=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_audio_pids_default;{=recording_audio_pids_default=}~save=}
=}
{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_START;{=EXTRA_TIME_START=}=}
{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_END;{=EXTRA_TIME_END=}=}
{=ini-set:/var/tuxbox/config/timerd.conf;ZAPTO_EXTRA_TIME_START;{=ZAPTO_EXTRA_TIME_START=}=}
end-block~neutrino_record_save_settings

# ------- Neutrino form-data: movieplayer -------------------------------
start-block~neutrino_form-data_movieplayer

	{=var-set:help_url=Help-Settings-Movieplayer=}{=var-set:menu={=L:set.menue.movieplayer=}=}{=include-block:Y_Blocks.txt;work_menu=}

			 {=L:set.mp.sources=}
			
				 {=L:set.mp.streamingserver=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.mp.streamingserver_ip=}

				 {=L:set.mp.streamingserver_port=}

				 {=L:set.mp.dvd_device=}

				 {=L:set.mp.vlc_dir=}

			 {=L:set.mp.transcoding=}
			
				 {=L:set.mp.video_datarate=}

				 {=L:set.mp.transcode=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.mp.video_codec=}
				 					
					MPEG1
					MPEG2

				 {=L:set.mp.resolution=}
				 					
					352 x 288
					352 x 576
					480 x 576
					704 x 576

				 {=L:set.mp.audio_datarate=}

				 {=L:set.mp.transcode_audio=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.mp.force_ac3=}
				 					{=L:off=} 
					{=L:on=}

			 {=L:set.mp.player=}
			
				 {=L:set.mp.start_directory=}

				 {=L:set.rec.epg_sectionsd=}
				 					
					{=L:set.rec.dont_stop=}
					{=L:set.rec.stop=}
					{=L:set.rec.restart=}
					 ({=L:set.mp.only_movieplayer=})

				 {=L:set.mp.used_buffer=}
				 					{=L:off=} 
					{=L:on=}  {=L:set.mp.only_movieplayer=}

				 {=L:set.mp.number_buffersegments=}
				 ({=L:set.mp.only_movieplayer=})

				 {=L:set.mp.picture_in_browser=}
				 					{=L:off=} 
					{=L:on=}

		{=L:save=}
		 {=L:set.reload_neutrino=}
		 {=L:help=}

//<![CDATA[
function form_init()
{
	var val = "";
	obj_set_radio_value('streaming_type', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_type;0~open=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_server_ip~cache=}";
		document.f.streaming_server_ip.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_server_port;8080~cache=}";
		document.f.streaming_server_port.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_server_cddrive;D:~cache=}";
		document.f.streaming_server_cddrive.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_server_startdir;C:/Movies~cache=}";
		document.f.streaming_server_startdir.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_videorate;1000~cache=}";
		document.f.streaming_videorate.value = val;

	obj_set_radio_value('streaming_force_transcode_video', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_force_transcode_video;0~cache=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_transcode_video_codec;0~cache=}";
		document.f.streaming_transcode_video_codec.selectedIndex = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_resolution;0~cache=}";
		document.f.streaming_resolution.selectedIndex = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_audiorate;192~cache=}";
		document.f.streaming_audiorate.value = val;

	obj_set_radio_value('streaming_transcode_audio', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_transcode_audio;0~cache=}");
	obj_set_radio_value('streaming_force_avi_rawaudio', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_force_avi_rawaudio;0~cache=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_moviedir~cache=}";	
		document.f.streaming_moviedir.value = val;
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_stopsectionsd;1~cache=}";
		document.f.stopsectionsd_mp.selectedIndex = val;

	obj_set_radio_value('streaming_use_buffer', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_use_buffer;1~cache=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_buffer_segment_size;24~cache=}";
		document.f.streaming_buffer_segment_size.value = val;

	obj_set_radio_value('streaming_show_tv_in_browser', "{=ini-get:/var/tuxbox/config/neutrino.conf;streaming_show_tv_in_browser;0~cache=}");
	change_streaming_type();
}
function change_streaming_type()
{
	var vis = document.f.streaming_type[0].checked;

	document.f.streaming_server_ip.disabled = vis;
	document.f.streaming_server_port.disabled = vis;
	document.f.streaming_server_cddrive.disabled = vis;
	document.f.streaming_server_startdir.disabled = vis;
	document.f.streaming_videorate.disabled = vis;
	document.f.streaming_force_transcode_video[0].disabled = vis;
	document.f.streaming_force_transcode_video[1].disabled = vis;
	document.f.streaming_transcode_video_codec.disabled = vis;
	document.f.streaming_resolution.disabled = vis;
	document.f.streaming_audiorate.disabled = vis;
	document.f.streaming_transcode_audio[0].disabled = vis;
	document.f.streaming_transcode_audio[1].disabled = vis;
	document.f.streaming_force_avi_rawaudio[0].disabled = vis;
	document.f.streaming_force_avi_rawaudio[1].disabled = vis;
}
function set_hidden_values()
{
	document.f.h_streaming_server_ip.value = document.f.streaming_server_ip.value;
	document.f.h_streaming_server_port.value = document.f.streaming_server_port.value;
	document.f.h_streaming_server_cddrive.value = document.f.streaming_server_cddrive.value;
	document.f.h_streaming_server_startdir.value = document.f.streaming_server_startdir.value;
	document.f.h_streaming_videorate.value = document.f.streaming_videorate.value;
	document.f.h_streaming_force_transcode_video.value = obj_get_radio_value("streaming_force_transcode_video");
	document.f.h_streaming_transcode_video_codec.value = document.f.streaming_transcode_video_codec.selectedIndex;
	document.f.h_streaming_resolution.value = document.f.streaming_resolution.selectedIndex;
	document.f.h_streaming_audiorate.value = document.f.streaming_audiorate.value;
	document.f.h_streaming_transcode_audio.value = obj_get_radio_value("streaming_transcode_audio");
	document.f.h_streaming_force_avi_rawaudio.value = obj_get_radio_value("streaming_force_avi_rawaudio");
}
function do_submit()
{
	set_hidden_values();
	show_waitbox(true);
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_movieplayer

# ------- yWeb save Settings
start-block~neutrino_movieplayer_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_type;{=streaming_type=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_server_ip;{=h_streaming_server_ip=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_server_port;{=h_streaming_server_port=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_server_cddrive;{=h_streaming_server_cddrive=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_server_startdir;{=h_streaming_server_startdir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_videorate;{=h_streaming_videorate=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_force_transcode_video;{=h_streaming_force_transcode_video=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_transcode_video_codec;{=h_streaming_transcode_video_codec=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_resolution;{=h_streaming_resolution=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_audiorate;{=h_streaming_audiorate=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_transcode_audio;{=h_streaming_transcode_audio=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_force_avi_rawaudio;{=h_streaming_force_avi_rawaudio=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_moviedir;{=streaming_moviedir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_stopsectionsd;{=stopsectionsd_mp=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_use_buffer;{=streaming_use_buffer=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_buffer_segment_size;{=streaming_buffer_segment_size=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;streaming_show_tv_in_browser;{=streaming_show_tv_in_browser=}~save=}

end-block~neutrino_movieplayer_save_settings

# ------- Neutrino form-data: parental -------------------------------
start-block~neutrino_form-data_parental

	{=var-set:help_url=Help-Settings-Jugendschutz=}{=var-set:menu={=L:set.menue.parental=}=}{=include-block:Y_Blocks.txt;work_menu=}

				 {=L:set.parental.activate=}
				 					
					{=L:set.parental.type.never=}
					{=L:set.parental.type.bouquet=}
					{=L:set.parental.type.preset=}

				 {=L:set.parental.minimum_age=}
				 					
					12
					16
					18

				 {=L:set.parental.pin=}

		{=L:save=}
		 {=L:set.reload_neutrino=}
		 {=L:help=}

end-block~neutrino_form-data_parental

# ------- yWeb save Settings
start-block~neutrino_parental_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;parentallock_prompt;{=parentallock_prompt=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;parentallock_lockage;{=parentallock_lockage=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;parentallock_pincode;{=parentallock_pincode=}~save=}
end-block~neutrino_parental_save_settings

# ------- Neutrino form-data: diverse -------------------------------
start-block~neutrino_form-data_diverse

	{=var-set:help_url=Help-Settings-Diverse=}{=var-set:menu=Diverse Einstellungen=}{=include-block:Y_Blocks.txt;work_menu=}

				 Allgemein

				 Startmodus
				 					
					Letzter Modus
					TV-Modus
					Radio-Modus
					Scart-Eingang
					Audioplayer
					Internetradio
					Esound Soundserver
					Standby

				 Standbymodus
				 					{=L:off=} 
					{=L:on=}

				 Standby Stromsparmodus (exp.)
				 					{=L:off=} 
					{=L:on=}

				 Komplett ausschalten nach
				  Min.

				 Verzögerter Shutdown
				 					{=L:off=} 
					{=L:on=}

				 Standby aus mit
				 					
					Power
					Power, OK
					Power, Home
					Power, Home, OK

				 Videotext zwischenspeichern
				 					{=L:off=} 
					{=L:on=}

				 OSD-Extras

				 Lautstärkeanzeige
				 					
					oben rechts
					oben links
					unten links
					unten rechts
					unten Mitte
					erhöhte Mitte
					aus

				 Mute Icon bei Lautstärke 0
				 					{=L:off=} 
					{=L:on=} 
					nicht bei AC3

				 Infobar

				 Satellitenanzeige
				 					{=L:off=} 
					{=L:on=}

				 Unterkanalanzeige
				 					
					oben rechts
					oben links
					unten links
					unten rechts
					in Infobar

				 Virtual Zap
				 					{=L:off=} 
					{=L:on=}

				 Info bei EPG Änderung
				 					
					Aus
					Popup
					Infobar einblenden

				 Radiotext
				 					{=L:off=} 
					{=L:on=}

				 Kanalliste

				 Ausrichtung Programmtext
				 					links 
					rechts

				 erweiterte Kanalliste
				 					{=L:off=} 
					{=L:on=}

				 EPG-Einstellungen

				 EPG-Cache (Tage)

				 EPG-Langtext (Stunden)

				 EPG verwerfen nach (Std.)

				 Max. Events

				 EPG Verzeichnis
				  e.g. /media/sda2/epg/

				 Zapit (Hinweis: pzapit -kill vorm Speichern ausführen)

				 letzten Kanal speichern
				 					{=L:off=} 
					{=L:on=}

				 TV-Startkanal

				 Radio-Startkanal

				 Audio-PIDs speichern
				 					{=L:off=} 
					{=L:on=}

				 Bouquet Andere
				 					{=L:off=} 
					{=L:on=}

				 Fernbedienung

				 Anfangsverzögerung

				 Wiederholungsverzögerung

				 Filebrowser

				 Dateisystem
				 					ISO-8859-1 
					UTF-8

				 Dateirechte anzeigen
				 					{=L:off=} 
					{=L:on=}

				 Startverzeichnis absolut
				 					{=L:off=} 
					{=L:on=}

		{=L:save=}
		 reload Neutrino
		 {=L:help=}

//<![CDATA[
function form_init()
{
	var val = "";
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;startmode;0=}";
		document.f.startmode.selectedIndex = val;

	obj_set_radio_value('shutdown_real', "{=ini-get:/var/tuxbox/config/neutrino.conf;shutdown_real;true~cache=}");
	obj_set_radio_value('standby_save_power', "{=ini-get:/var/tuxbox/config/neutrino.conf;standby_save_power;false~cache=}");
	obj_set_radio_value('shutdown_real_rcdelay', "{=ini-get:/var/tuxbox/config/neutrino.conf;shutdown_real_rcdelay;true~cache=}");
	obj_set_radio_value('tuxtxt_cache', "{=ini-get:/var/tuxbox/config/neutrino.conf;tuxtxt_cache;false~cache=}");
	
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;volumebar_disp_pos;4=}";
		document.f.volumebar_disp_pos.selectedIndex = val;
	obj_set_radio_value('show_mute_icon', "{=ini-get:/var/tuxbox/config/neutrino.conf;show_mute_icon;1~cache=}");

	obj_set_radio_value('infobar_sat_display', "{=ini-get:/var/tuxbox/config/neutrino.conf;infobar_sat_display;true~cache=}");
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;infobar_subchan_disp_pos;0=}";
		document.f.infobar_subchan_disp_pos.selectedIndex = val;

	obj_set_radio_value('virtual_zap_mode', "{=ini-get:/var/tuxbox/config/neutrino.conf;virtual_zap_mode;false~cache=}");
	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;infobar_show;0=}";
		document.f.infobar_show.selectedIndex = val;
	obj_set_radio_value('radiotext', "{=ini-get:/var/tuxbox/config/neutrino.conf;radiotext_enable;false~cache=}");

	obj_set_radio_value('epgtext_align_right', "{=ini-get:/var/tuxbox/config/neutrino.conf;channellist_epgtext_align_right;false~cache=}");
	obj_set_radio_value('channellist_extended', "{=ini-get:/var/tuxbox/config/neutrino.conf;channellist_extended;false~cache=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;standby_off_with;0=}";
		document.f.standby_off_with.selectedIndex = val;

	obj_set_radio_value('filesystem_is_utf8', "{=ini-get:/var/tuxbox/config/neutrino.conf;filesystem_is_utf8;true~cache=}");
	obj_set_radio_value('filebrowser_showrights', "{=ini-get:/var/tuxbox/config/neutrino.conf;filebrowser_showrights;1~cache=}");
	obj_set_radio_value('filebrowser_denydirectoryleave', "{=ini-get:/var/tuxbox/config/neutrino.conf;filebrowser_denydirectoryleave;false~cache=}");
//zapit
	obj_set_radio_value('save_lastchannel', "{=ini-get:/var/tuxbox/config/zapit/zapit.conf;saveLastChannel;true~open=}");
	obj_set_radio_value('save_audio_pids', "{=ini-get:/var/tuxbox/config/zapit/zapit.conf;saveAudioPIDs;false~cache=}");
	obj_set_radio_value('bouquet_others', "{=ini-get:/var/tuxbox/config/zapit/zapit.conf;makeRemainingChannelsBouquet;true~cache=}");
	change_lastchannel();
}

function change_lastchannel()
{
}

function do_submit()
{
	show_waitbox(true);
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_diverse

# ------- yWeb save Settings
start-block~neutrino_diverse_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;channellist_epgtext_align_right;{=epgtext_align_right=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;channellist_extended;{=channellist_extended=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;epg_cache_time;{=epg_cache_time=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;epg_dir;{=epg_dir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;epg_extendedcache_time;{=epg_extendedcache_time=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;epg_max_events;{=epg_max_events=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;epg_old_events;{=epg_old_events=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;filebrowser_showrights;{=filebrowser_showrights=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;filebrowser_denydirectoryleave;{=filebrowser_denydirectoryleave=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;filesystem_is_utf8;{=filesystem_is_utf8=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;infobar_sat_display;{=infobar_sat_display=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;infobar_show;{=infobar_show=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;infobar_subchan_disp_pos;{=infobar_subchan_disp_pos=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;radiotext_enable;{=radiotext=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;repeat_blocker;{=repeat_blocker=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;repeat_genericblocker;{=repeat_genericblocker=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;show_mute_icon;{=show_mute_icon=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;shutdown_count;{=shutdown_count=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;shutdown_real;{=shutdown_real=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;shutdown_real_rcdelay;{=shutdown_real_rcdelay=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;standby_off_with;{=standby_off_with=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;standby_save_power;{=standby_save_power=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;startmode;{=startmode=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;tuxtxt_cache;{=tuxtxt_cache=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;virtual_zap_mode;{=virtual_zap_mode=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;volumebar_disp_pos;{=volumebar_disp_pos=}~save=}
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;saveAudioPIDs;{=save_audio_pids=}~open=}
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;saveLastChannel;{=save_lastchannel=}~cache=}
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;startChannelRadio;{=startchannel_radio=}~cache=}
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;startChannelTV;{=startchannel_tv=}~cache=}
{=ini-set:/var/tuxbox/config/zapit/zapit.conf;makeRemainingChannelsBouquet;{=bouquet_others=}~save=}
end-block~neutrino_diverse_save_settings

# ------- Neutrino form-data: bootoptions -------------------------------
start-block~neutrino_form-data_bootoptions

	{=var-set:help_url=Help-Settings-Bootoptionen=}{=var-set:menu=Treiber- und Bootoptionen=}{=include-block:Y_Blocks.txt;work_menu=}

				 SPTS-Mode Treiber laden
				 					{=L:off=} 
					{=L:on=}

				 Infos beim Booten anzeigen
				 					{=L:off=} 
					{=L:on=}

				 HW-Sections verwenden
				 					{=L:off=} 
					{=L:on=}

				 AVIA-Watchdog aktivieren
				 					{=L:off=} 
					{=L:on=}

				 eNX-Watchdog aktivieren
				 					{=L:off=} 
					{=L:on=}

				 Philips/Sagem FB Workaround
				 					{=L:off=} 
					{=L:on=}

				 SPTS-Fix AVIA500
				 					{=L:off=} 
					{=L:on=}

				 Realtime Clock (RTC) aktivieren
				 					{=L:off=} 
					{=L:on=}

				 PMT Update verwenden
				 					{=L:off=} 
					{=L:on=}

				 EXPERT! Boot-Konsole
				 					
					null
					seriell
					framebuffer

				 FullDuplex Mode
				 					{=L:off=} 
					{=L:on=}

				 Diverses

				 Bootmenü anzeigen
				 					{=L:off=} 
					{=L:on=}

		{=L:save=}
		 reload Neutrino
		 {=L:help=}

//<![CDATA[
function form_init()
{
	var val = "{=ini-get:/var/tuxbox/boot/boot.conf;console~open=}";
	var sel = 0;
	if(val=="ttyS0") sel=1;
	if(val=="tty") sel=2;
		document.f.console.selectedIndex = sel;
	
	obj_set_radio_value('dbox_duplex', "{=ini-get:/var/tuxbox/boot/boot.conf;dbox_duplex~cache=}");
	obj_set_radio_value('misc_spts', "{=ini-get:/var/tuxbox/config/neutrino.conf;misc_spts~open=}");
	obj_set_radio_value('bootmenu', "{=if-file-exists:/var/etc/.neutrino~0~1=}");
	obj_set_radio_value('bootinfo', "{=if-file-exists:/var/etc/.boot_info~1~0=}");
	obj_set_radio_value('hwsections', "{=if-file-exists:/var/etc/.hw_sections~0~1=}");
	obj_set_radio_value('no_watchdog', "{=if-file-exists:/var/etc/.no_watchdog~0~1=}");
	obj_set_radio_value('no_enxwatchdog', "{=if-file-exists:/var/etc/.no_enxwatchdog~0~1=}");
	obj_set_radio_value('philips_rc_patch', "{=if-file-exists:/var/etc/.philips_rc_patch~1~0=}");
	obj_set_radio_value('sptsfix', "{=if-file-exists:/var/etc/.sptsfix~1~0=}");
	obj_set_radio_value('rtc', "{=if-file-exists:/var/etc/.rtc~1~0=}");
	obj_set_radio_value('no_pmt_update', "{=if-file-exists:/var/etc/.no_pmt_update~0~1=}");
}

function do_submit()
{
	show_waitbox(true);
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_bootoptions

# ------- yWeb save Settings
start-block~neutrino_bootoptions_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;misc_spts;{=misc_spts=}=}
{=file-action:/var/etc/.neutrino;{=if-equal:{=bootmenu=}~0~add~delete=}=}
{=file-action:/var/etc/.boot_info;{=if-equal:{=bootinfo=}~1~add~delete=}=}
{=file-action:/var/etc/.hw_sections;{=if-equal:{=hwsections=}~0~add~delete=}=}
{=file-action:/var/etc/.no_watchdog;{=if-equal:{=no_watchdog=}~0~add~delete=}=}
{=file-action:/var/etc/.no_enxwatchdog;{=if-equal:{=no_enxwatchdog=}~0~add~delete=}=}
{=file-action:/var/etc/.philips_rc_patch;{=if-equal:{=philips_rc_patch=}~1~add~delete=}=}
{=file-action:/var/etc/.sptsfix;{=if-equal:{=sptsfix=}~1~add~delete=}=}
{=file-action:/var/etc/.rtc;{=if-equal:{=rtc=}~1~add~delete=}=}
{=file-action:/var/etc/.no_pmt_update;{=if-equal:{=no_pmt_update=}~0~add~delete=}=}
{=ini-set:/var/tuxbox/boot/boot.conf;console;{=console=}=}
{=ini-set:/var/tuxbox/boot/boot.conf;dbox_duplex;{=dbox_duplex=}=}

#{=file-action:/var/etc/.test;add;moin\nduu=}
end-block~neutrino_bootoptions_save_settings

# ------- Neutrino form-data: pictureviewer -------------------------------
start-block~neutrino_form-data_pictureviewer

	{=var-set:help_url=Help-Settings-Bildbetrachter=}{=var-set:menu={=L:set.pv.pictureviewer=}=}{=include-block:Y_Blocks.txt;work_menu=}

				 {=L:set.pv.scale=}
				 					
					{=L:set.pv.scale.none=}
					{=L:set.pv.scale.simple=}
					{=L:set.pv.scale.complex=}

				 {=L:set.pv.slideshow_duration=}

				 {=L:set.pv.start_dir=}

		{=if-not-equal:{=global-var-get:boxtype=}~cuberevo~
			
				 {=L:set.pv.decoding_server_ip=}

				 {=L:set.pv.decoding_server_port=}

		=}

		{=L:save=}
		 {=L:set.reload_neutrino=}
		 {=L:help=}

end-block~neutrino_form-data_pictureviewer

# ------- yWeb save Settings
start-block~neutrino_pictureviewer_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;picviewer_scaling;{=picviewer_scaling=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;picviewer_slide_time;{=picviewer_slide_time=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;picviewer_picturedir;{=picviewer_picturedir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;picviewer_decode_server_ip;{=picviewer_decode_server_ip=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;picviewer_decode_server_port;{=picviewer_decode_server_port=}~save=}
end-block~neutrino_pictureviewer_save_settings

# ------- Neutrino form-data: audioplayer -------------------------------
start-block~neutrino_form-data_audioplayer

	{=var-set:help_url=Help-Settings-Audioplayer=}{=var-set:menu={=L:set.ap.audioplayer=}=}{=include-block:Y_Blocks.txt;work_menu=}

				 {=L:set.ap.display_order=}
				 					
					{=L:set.ap.display_order.actor_title=}
					{=L:set.ap.display_order.title_actor=}

				 {=L:set.ap.select_actual_track=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.ap.search_by_name=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.ap.repeat_mode=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.ap.show_playlist=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.ap.screensaver=}

				 {=L:set.ap.decode_priority=}
				 					{=L:off=} 
					{=L:on=}

				 {=L:set.ap.start_dir=}

				 {=L:set.ap.parse_shoutcast=}
				 					{=L:off=} 
					{=L:on=}

		{=L:save=}
		 {=L:set.reload_neutrino=}
		 {=L:help=}

//<![CDATA[
function form_init()
{
	var val = "";
	obj_set_radio_value('audioplayer_follow', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_follow;0~cache=}");
	obj_set_radio_value('audioplayer_select_title_by_name', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_select_title_by_name;0~cache=}");
	obj_set_radio_value('audioplayer_repeat_on', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_repeat_on;0~cache=}");
	obj_set_radio_value('audioplayer_show_playlist', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_show_playlist;0~cache=}");
	obj_set_radio_value('audioplayer_highprio', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_highprio;0~cache=}");
	obj_set_radio_value('audioplayer_enable_sc_metadata', "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_enable_sc_metadata;0~cache=}");

	val = "{=ini-get:/var/tuxbox/config/neutrino.conf;audioplayer_display;0~cache=}";
	document.f.audioplayer_display.selectedIndex = val;
}

function do_submit()
{
	show_waitbox(true);
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_audioplayer

# ------- save Settings
start-block~neutrino_audioplayer_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_display;{=audioplayer_display=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_follow;{=audioplayer_follow=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_select_title_by_name;{=audioplayer_select_title_by_name=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_repeat_on;{=audioplayer_repeat_on=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_show_playlist;{=audioplayer_show_playlist=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_screensaver;{=audioplayer_screensaver=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_highprio;{=audioplayer_highprio=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_audioplayerdir;{=audioplayer_audioplayerdir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;audioplayer_enable_sc_metadata;{=audioplayer_enable_sc_metadata=}~save=}
end-block~neutrino_audioplayer_save_settings

# ------- Neutrino form-data: direct_recording -------------------------------
start-block~neutrino_form-data_direct_recording

	{=var-set:help_url=Help-Settings-Direktaufnahme=}{=var-set:menu=Direktaufnahme=}{=include-block:Y_Blocks.txt;work_menu=}

				 Aufnahmeeinstellungen

				 Max. Dateigröße (MB)

				 Größe Ringpuffer
				 					
					512 KB
					1 MB
					2 MB
					4 MB
					8 MB

				 Synchrones Schreiben (O_SYNC)
				 					{=L:off=} 
					{=L:on=}

				 Synchrones Schreiben (fdatasync)
				 					{=L:off=} 
					{=L:on=}

				 Videotext aufzeichnen
				 					{=L:off=} 
					{=L:on=}

				 Untertitel aufzeichnen
				 					{=L:off=} 
					{=L:on=}

				 Bei Sofortaufn. Verzeichnisauswahl
				 					{=L:off=} 
					{=L:on=}

				 lange Dateinamen (mit EPG-Daten)
				 					{=L:off=} 
					{=L:on=}

				 Vorlage für Dateinamen

				 Verzeichnisrechte

				 Aufnahmeverzeichnisse

				 Aufnahmeverzeichnis 0

				 Aufnahmeverzeichnis 1

				 Aufnahmeverzeichnis 2

				 Aufnahmeverzeichnis 3

				 Aufnahmeverzeichnis 4

				 Aufnahmeverzeichnis 5

				 Aufnahmeverzeichnis 6

				 Aufnahmeverzeichnis 7

				 Aufnahmeverzeichnis 8

				 Aufnahmeverzeichnis 9

		</table>
		<br/>
		<input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/>
		<input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_direct_recording_save_settings;nix"/>
		<input type="hidden" name="form" value="{=form=}"/>
		<button type="button" ytype="save" title="{=L:save_values_desc=}s" onclick="do_submit()">{=L:save=}</button>
		&nbsp;<button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">reload Neutrino</button>
		&nbsp;<a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:help=}</a>
	</form>
	</div>


//<![CDATA[
function form_init()
{
	var val = "{=ini-get:/var/tuxbox/config/neutrino.conf;recordingmenu.ringbuffers;2~cache=}";
	document.f.ringbuffers.selectedIndex = val;

	obj_set_radio_value('recordingmenu_use_o_sync', "{=ini-get:/var/tuxbox/config/neutrino.conf;recordingmenu.use_o_sync;0~cache=}");
	obj_set_radio_value('recordingmenu_use_fdatasync', "{=ini-get:/var/tuxbox/config/neutrino.conf;recordingmenu.use_fdatasync;0~cache=}");
	obj_set_radio_value('recordingmenu_stream_subtitle_pid', "{=ini-get:/var/tuxbox/config/neutrino.conf;recordingmenu.stream_subtitle_pid;0~cache=}");
	obj_set_radio_value('recordingmenu_stream_vtxt_pid', "{=ini-get:/var/tuxbox/config/neutrino.conf;recordingmenu.stream_vtxt_pid;0~cache=}");
	obj_set_radio_value('recording_choose_direct_rec_dir', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_choose_direct_rec_dir;0~cache=}");
	obj_set_radio_value('recording_epg_for_filename', "{=ini-get:/var/tuxbox/config/neutrino.conf;recording_epg_for_filename;0~cache=}");
}

function do_submit()
{
	document.f.recording_filename_template_0.value = encodeURI(document.f.recording_filename_template_0.value);
	show_waitbox(true);
	document.f.submit();
}
form_init();
//]]>

end-block~neutrino_form-data_direct_recording

# ------- direct recording save Settings
start-block~neutrino_direct_recording_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize;{=recording_splitsize=}~open=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recordingmenu.ringbuffers;{=recordingmenu_ringbuffers=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recordingmenu.use_o_sync;{=recordingmenu_use_o_sync=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recordingmenu.use_fdatasync;{=recordingmenu_use_fdatasync=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recordingmenu.stream_subtitle_pid;{=recordingmenu_stream_subtitle_pid=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recordingmenu.stream_vtxt_pid;{=recordingmenu_stream_vtxt_pid=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_choose_direct_rec_dir;{=recording_choose_direct_rec_dir=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_epg_for_filename;{=recording_epg_for_filename=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_filename_template_0;{=recording_filename_template_0=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_0;{=recording_dir_0=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_1;{=recording_dir_1=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_2;{=recording_dir_2=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_3;{=recording_dir_3=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_4;{=recording_dir_4=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_5;{=recording_dir_5=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_6;{=recording_dir_6=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_7;{=recording_dir_7=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_8;{=recording_dir_8=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_9;{=recording_dir_9=}~cache=}
{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_permissions_0;{=recording_dir_permissions_0=}~save=}
end-block~neutrino_direct_recording_save_settings

# ------- Neutrino form-data: esound -------------------------------
start-block~neutrino_form-data_esound

	{=var-set:help_url=Help-Settings-Esound_Soundserver=}{=var-set:menu=Esound Soundserver=}{=include-block:Y_Blocks.txt;work_menu=}

				 Esound Port
				  default: 16001

		{=L:save=}
		 reload Neutrino
		 {=L:help=}

end-block~neutrino_form-data_esound

# ------- yWeb save Settings
start-block~neutrino_esound_save_settings
{=ini-set:/var/tuxbox/config/neutrino.conf;esound_port;{=esound_port=}=}

end-block~neutrino_esound_save_settings
