- yWeb: read timer recording dir from timerd.conf

This commit is contained in:
vanhofen
2023-01-30 21:05:45 +01:00
committed by Thilo Graf
parent 3be9ee4c79
commit d610cd9604
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
version=2.9.3
date=14.01.2023
version=2.9.4
date=31.01.2023
info=Neutrino-Webinterface

View File

@@ -1150,7 +1150,12 @@ end-block~neutrino_direct_recording_save_settings
# ------- list possible directorys for records
start-block~neutrino_list_record_dirs
<select name="rec_dir" id="rec_dir" class="y_live_button">
<option value="{=ini-get:%(CONFIGDIR)/neutrino.conf;network_nfs_recordingdir~open=}" selected="selected">
{=if-empty:{=ini-get:%(CONFIGDIR)/timerd.conf;REC_DIR_{=tid=}~open=}~~
<option value="{=ini-get:%(CONFIGDIR)/timerd.conf;REC_DIR_{=tid=}~cache=}" selected="selected">
{=ini-get:%(CONFIGDIR)/timerd.conf;REC_DIR_{=tid=}~cache=}
</option>
=}
<option value="{=ini-get:%(CONFIGDIR)/neutrino.conf;network_nfs_recordingdir~open=}">
{=ini-get:%(CONFIGDIR)/neutrino.conf;network_nfs_recordingdir~cache=}
</option>
{=if-empty:{=ini-get:%(CONFIGDIR)/neutrino.conf;network_nfs_local_dir_0~cache=}~~