int dae_minduration;
int dae_maxduration;
int dae_retention;
-
+
time_t dae_start_extra;
time_t dae_stop_extra;
comment);
}
-static inline int strempty(const char* c) {
- return !c || c[0] == 0;
-}
-
-static inline int lang_str_empty(lang_str_t* str) {
- return strempty(lang_str_get(str, NULL));
-}
-
-
/**
*
*/
{
char buf[200];
- /* Dup detection */
+ /* Identical duplicate detection
+ NOTE: Semantic duplicate detection is deferred to the start time of recording and then done using _dvr_duplicate_event by dvr_timer_start_recording. */
dvr_entry_t* de;
LIST_FOREACH(de, &dvrentries, de_global_link) {
if (de->de_bcast == e || (de->de_bcast && de->de_bcast->episode == e->episode))
dae->dae_start_extra, dae->dae_stop_extra,
dae->dae_owner, buf, dae, dae->dae_pri, dae->dae_retention,
dae->dae_comment);
-
-
}
/**
return &s;
}
-
static int
dvr_entry_class_disp_subtitle_set(void *o, const void *v)
{
return de ? &de->de_start : &null;
}
-
htsmsg_t *
dvr_entry_class_duration_list(void *o, const char *not_set, int max, int step)
{
( const epg_episode_t *e, const char *lang );
const char *epg_episode_get_subtitle
( const epg_episode_t *e, const char *lang );
-lang_str_t *epg_episode_get_subtitle2
- ( const epg_episode_t *e );
const char *epg_episode_get_summary
( const epg_episode_t *e, const char *lang );
const char *epg_episode_get_description
( epg_broadcast_t *b, const char *lang );
const char *epg_broadcast_get_subtitle
( epg_broadcast_t *b, const char *lang );
-lang_str_t *epg_broadcast_get_subtitle2
- ( epg_broadcast_t *b );
const char *epg_broadcast_get_summary
( epg_broadcast_t *b, const char *lang );
const char *epg_broadcast_get_description
return 0;
}
+int strempty(const char* c) {
+ return !c || c[0] == 0;
+}
+
+int lang_str_empty(lang_str_t* str) {
+ return strempty(lang_str_get(str, NULL));
+}
+
void lang_str_done( void )
{
SKEL_FREE(lang_str_ele_skel);
/* Compare */
int lang_str_compare ( lang_str_t *ls1, lang_str_t *ls2 );
+/* Empty */
+int strempty(const char* c);
+int lang_str_empty(lang_str_t* str);
+
/* Init/Done */
void lang_str_done( void );