mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Try to cache streaming contents
This commit is contained in:
parent
3e1c3133ca
commit
3d3d0fa856
7 changed files with 152 additions and 1 deletions
|
|
@ -32,6 +32,21 @@
|
|||
<item>300</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="streaming_cache_size_titles">
|
||||
<item>Disabled</item>
|
||||
<item>128 MiB</item>
|
||||
<item>256 MiB</item>
|
||||
<item>512 MiB</item>
|
||||
<item>1024 MiB</item>
|
||||
</string-array>
|
||||
<string-array name="streaming_cache_size_values">
|
||||
<item>0</item>
|
||||
<item>128</item>
|
||||
<item>256</item>
|
||||
<item>512</item>
|
||||
<item>1024</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="max_bitrate_wifi_list_titles">
|
||||
<item>Original</item>
|
||||
<item>32 kbps</item>
|
||||
|
|
|
|||
|
|
@ -367,4 +367,5 @@
|
|||
<string name="undraw_page">unDraw</string>
|
||||
<string name="undraw_thanks">A special thanks goes to unDraw without whose illustrations we could not have made this application more beautiful.</string>
|
||||
<string name="undraw_url">https://undraw.co/</string>
|
||||
<string name="settings_streaming_cache_size">Size of streaming cache</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -95,6 +95,14 @@
|
|||
app:title="@string/settings_image_size"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="256"
|
||||
app:dialogTitle="@string/settings_streaming_cache_size"
|
||||
app:entries="@array/streaming_cache_size_titles"
|
||||
app:entryValues="@array/streaming_cache_size_values"
|
||||
app:key="streaming_cache_size"
|
||||
app:title="@string/settings_streaming_cache_size" />
|
||||
|
||||
<SwitchPreference
|
||||
android:title="@string/settings_wifi_only_title"
|
||||
android:defaultValue="false"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue