timeshift: add new style capability check.
This commit is contained in:
parent
88a9d96039
commit
564340b32d
3 changed files with 5 additions and 2 deletions
|
@ -128,6 +128,9 @@ const tvh_caps_t tvheadend_capabilities[] = {
|
|||
#endif
|
||||
#if ENABLE_IMAGECACHE
|
||||
{ "imagecache", &imagecache_enabled },
|
||||
#endif
|
||||
#if ENABLE_TIMESHIFT
|
||||
{ "timeshift", ×hift_enabled },
|
||||
#endif
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
static int timeshift_index = 0;
|
||||
|
||||
int timeshift_enabled;
|
||||
uint32_t timeshift_enabled;
|
||||
int timeshift_ondemand;
|
||||
char *timeshift_path;
|
||||
int timeshift_unlimited_period;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#ifndef __TVH_TIMESHIFT_H__
|
||||
#define __TVH_TIMESHIFT_H__
|
||||
|
||||
extern int timeshift_enabled;
|
||||
extern uint32_t timeshift_enabled;
|
||||
extern int timeshift_ondemand;
|
||||
extern char *timeshift_path;
|
||||
extern int timeshift_unlimited_period;
|
||||
|
|
Loading…
Add table
Reference in a new issue