diff options
Diffstat (limited to 'vdrmanager/res')
-rw-r--r-- | vdrmanager/res/values/arrays.xml | 6 | ||||
-rw-r--r-- | vdrmanager/res/values/preferences.xml | 14 | ||||
-rw-r--r-- | vdrmanager/res/xml/preferences.xml | 1 | ||||
-rw-r--r-- | vdrmanager/res/xml/vdr_prefs.xml | 18 |
4 files changed, 38 insertions, 1 deletions
diff --git a/vdrmanager/res/values/arrays.xml b/vdrmanager/res/values/arrays.xml index 647865e..2baad7c 100644 --- a/vdrmanager/res/values/arrays.xml +++ b/vdrmanager/res/values/arrays.xml @@ -26,5 +26,11 @@ <item>imdb.it</item> <item>imdb.pt</item> </string-array> + + + <string-array name="recstream_entry_values"> + <item>vdr-live</item> + </string-array> + </resources>
\ No newline at end of file diff --git a/vdrmanager/res/values/preferences.xml b/vdrmanager/res/values/preferences.xml index ab2e584..85ef268 100644 --- a/vdrmanager/res/values/preferences.xml +++ b/vdrmanager/res/values/preferences.xml @@ -150,4 +150,18 @@ <string name="vdr_name_title">Name</string> <string name="vdr_name_summary">A name for this device</string> <string name="vdr_device_delete_qeustion">Delete this device?</string> + + <string name="recstream">Streaming of recordings</string> + <string name="recstream_enable_title">Streaming of recordings</string> + <string name="recstream_enable_summary">Enable Streaming of recordings</string> + + + <string-array name="recstream_entries"> + <item>VDR live plugin</item> + </string-array> + + <string name="recstream_method_title">Streaming method</string> + <string name="recstream_method_summary">Currently Streaming over VDR live plugin is supported</string> + <string name="settings_live_port">VDR live plugin port</string> + <string name="settings_live_port_summary">VDR live plugin has default port 8008.</string> </resources> diff --git a/vdrmanager/res/xml/preferences.xml b/vdrmanager/res/xml/preferences.xml index 824522a..c17e4ff 100644 --- a/vdrmanager/res/xml/preferences.xml +++ b/vdrmanager/res/xml/preferences.xml @@ -54,4 +54,5 @@ android:key="@string/gui_custom_locale_key" android:summary="@string/gui_custom_locale_sum" android:title="@string/gui_custom_locale_title" /> </PreferenceCategory> + </PreferenceScreen>
\ No newline at end of file diff --git a/vdrmanager/res/xml/vdr_prefs.xml b/vdrmanager/res/xml/vdr_prefs.xml index b5a48a2..3128f8e 100644 --- a/vdrmanager/res/xml/vdr_prefs.xml +++ b/vdrmanager/res/xml/vdr_prefs.xml @@ -29,7 +29,6 @@ android:enabled="false" android:summary="@string/vdr_ssl_summary" android:title="@string/vdr_ssl_title" /> - </PreferenceCategory> <PreferenceCategory android:key="filter_preferences" @@ -132,6 +131,23 @@ android:summary="@string/remux_parameter_summary" android:title="@string/remux_parameter_title" /> </PreferenceCategory> +<PreferenceCategory android:title="@string/recstream"> + + <CheckBoxPreference android:key="key_rec_stream_enable" + android:defaultValue="false" + android:summary="@string/recstream_enable_summary" android:title="@string/recstream_enable_title" /> + + <ListPreference android:defaultValue="vdr-live" android:dependency="key_rec_stream_enable" + android:entries="@array/recstream_entries" android:entryValues="@array/recstream_entry_values" + android:key="key_recstream_method" + android:summary="@string/recstream_method_summary" android:title="@string/recstream_method_title" /> + + <EditTextPreference android:defaultValue="8008" + android:dependency="key_rec_stream_enable" + android:inputType="number" android:key="key_live_port" + android:summary="@string/settings_live_port_summary" android:title="@string/settings_live_port" /> + +</PreferenceCategory> <PreferenceScreen android:title="Advanced"> |