]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Timeshift user interface level
authorGlenn-1990 <g_christiaensen@msn.com>
Sat, 8 Oct 2016 19:58:51 +0000 (21:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 20 Oct 2016 12:08:06 +0000 (14:08 +0200)
src/timeshift.c

index 60121c24dbcc22e2f738f4b7dd5f12c2b8da6d2a..7d75f294f25999b00bb112528c2e6e532717319d 100644 (file)
@@ -197,6 +197,7 @@ const idclass_t timeshift_conf_class = {
                    "because there is no buffer on the first request "
                    "rewinding is not possible at that point."),
       .off    = offsetof(timeshift_conf_t, ondemand),
+      .opts   = PO_EXPERT,
     },
     {
       .type   = PT_STR,
@@ -206,6 +207,7 @@ const idclass_t timeshift_conf_class = {
                    "If nothing is specified this will default to "
                    "CONF_DIR/timeshift/buffer."),
       .off    = offsetof(timeshift_conf_t, path),
+      .opts   = PO_ADVANCED,
     },
     {
       .type   = PT_U32,
@@ -224,6 +226,7 @@ const idclass_t timeshift_conf_class = {
                    "enabling this option may cause your system to slow "
                    "down or crash completely!"),
       .off    = offsetof(timeshift_conf_t, unlimited_period),
+      .opts   = PO_EXPERT,
     },
     {
       .type   = PT_S64,
@@ -234,6 +237,7 @@ const idclass_t timeshift_conf_class = {
                    "recommended you specify a value here."),
       .set    = timeshift_conf_class_max_size_set,
       .get    = timeshift_conf_class_max_size_get,
+      .opts   = PO_ADVANCED,
     },
     {
       .type   = PT_S64,
@@ -245,6 +249,7 @@ const idclass_t timeshift_conf_class = {
                    "storage."),
       .set    = timeshift_conf_class_ram_size_set,
       .get    = timeshift_conf_class_ram_size_get,
+      .opts   = PO_ADVANCED,
     },
     {
       .type   = PT_BOOL,
@@ -254,6 +259,7 @@ const idclass_t timeshift_conf_class = {
                    "potentially grow unbounded until your storage media "
                    "runs out of space."),
       .off    = offsetof(timeshift_conf_t, unlimited_size),
+      .opts   = PO_EXPERT,
     },
     {
       .type   = PT_BOOL,
@@ -261,6 +267,7 @@ const idclass_t timeshift_conf_class = {
       .name   = N_("RAM only"),
       .desc   = N_("Only use system RAM for timeshift buffers."),
       .off    = offsetof(timeshift_conf_t, ram_only),
+      .opts   = PO_EXPERT,
     },
     {
       .type   = PT_BOOL,
@@ -269,6 +276,7 @@ const idclass_t timeshift_conf_class = {
       .desc   = N_("If possible, maintain the timeshift data in the server memory only. "
                    "This may reduce the amount of allowed rewind time."),
       .off    = offsetof(timeshift_conf_t, ram_fit),
+      .opts   = PO_EXPERT,
     },
     {}
   }