proginfo.c File Reference

#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <mvp_refmem.h>
#include <cmyth.h>
#include <cmyth_local.h>

Go to the source code of this file.

Defines

#define STRCMP(a, b)

Functions

static void cmyth_proginfo_destroy (cmyth_proginfo_t p)
cmyth_proginfo_t cmyth_proginfo_create (void)
 Create a new program info data structure.
static cmyth_proginfo_t cmyth_proginfo_dup (cmyth_proginfo_t p)
int cmyth_proginfo_stop_recording (cmyth_conn_t control, cmyth_proginfo_t prog)
int cmyth_proginfo_check_recording (cmyth_conn_t control, cmyth_proginfo_t prog)
static int delete_command (cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd)
int cmyth_proginfo_delete_recording (cmyth_conn_t control, cmyth_proginfo_t prog)
 Delete a program.
int cmyth_proginfo_forget_recording (cmyth_conn_t control, cmyth_proginfo_t prog)
 Delete a program such that it may be recorded again.
int cmyth_proginfo_get_recorder_num (cmyth_conn_t control, cmyth_rec_num_t rnum, cmyth_proginfo_t prog)
long cmyth_proginfo_chan_id (cmyth_proginfo_t prog)
 Retrieve the channel number of a program.
char * cmyth_proginfo_title (cmyth_proginfo_t prog)
 Retrieve the title of a program.
char * cmyth_proginfo_subtitle (cmyth_proginfo_t prog)
 Retrieve the subtitle of a program.
char * cmyth_proginfo_description (cmyth_proginfo_t prog)
 Retrieve the description of a program.
char * cmyth_proginfo_category (cmyth_proginfo_t prog)
 Retrieve the category of a program.
char * cmyth_proginfo_seriesid (cmyth_proginfo_t prog)
 Retrieve the series ID of a program.
char * cmyth_proginfo_programid (cmyth_proginfo_t prog)
 Retrieve the program ID of a program.
char * cmyth_proginfo_stars (cmyth_proginfo_t prog)
 Retrieve the critics rating (number of stars) of a program.
char * cmyth_proginfo_playgroup (cmyth_proginfo_t prog)
cmyth_timestamp_t cmyth_proginfo_originalairdate (cmyth_proginfo_t prog)
 Retrieve the original air date of a program.
char * cmyth_proginfo_chanstr (cmyth_proginfo_t prog)
 Retrieve the channel number of a program.
char * cmyth_proginfo_chansign (cmyth_proginfo_t prog)
 Retrieve the channel name of a program.
char * cmyth_proginfo_channame (cmyth_proginfo_t prog)
 Retrieve the channel name of a program.
char * cmyth_proginfo_pathname (cmyth_proginfo_t prog)
 Retrieve the pathname of a program file.
long long cmyth_proginfo_length (cmyth_proginfo_t prog)
 Retrieve the size, in bytes, of a program.
int cmyth_proginfo_length_sec (cmyth_proginfo_t prog)
 Retrieve the program length in seconds.
cmyth_timestamp_t cmyth_proginfo_start (cmyth_proginfo_t prog)
 Retrieve the start time of a program.
cmyth_timestamp_t cmyth_proginfo_end (cmyth_proginfo_t prog)
 Retrieve the end time of a program.
cmyth_timestamp_t cmyth_proginfo_rec_start (cmyth_proginfo_t prog)
 Retrieve the start time of a program.
cmyth_timestamp_t cmyth_proginfo_rec_end (cmyth_proginfo_t prog)
 Retrieve the end time of a program.
cmyth_proginfo_rec_status_t cmyth_proginfo_rec_status (cmyth_proginfo_t prog)
 Retrieve the recording status of a program.
static int fill_command (cmyth_conn_t control, cmyth_proginfo_t prog, char *cmd)
static int cmyth_proginfo_fill (cmyth_conn_t control, cmyth_proginfo_t prog)
cmyth_proginfo_t cmyth_proginfo_get_detail (cmyth_conn_t control, cmyth_proginfo_t p)
int cmyth_proginfo_compare (cmyth_proginfo_t a, cmyth_proginfo_t b)
 Determine if two proginfo handles refer to the same program.
char * cmyth_proginfo_host (cmyth_proginfo_t prog)
 Retrieve the hostname of the MythTV backend that recorded a program.
long cmyth_proginfo_card_id (cmyth_proginfo_t prog)
 Retrieve the card ID where the program was recorded.
char * cmyth_proginfo_recgroup (cmyth_proginfo_t prog)
 Retrieve the recording group of a program.
int cmyth_get_delete_list (cmyth_conn_t conn, char *msg, cmyth_proglist_t prog)


Define Documentation

#define STRCMP a,
 ) 
 

Value:

( (a && b && (strcmp(a,b) == 0)) ? 0 : \
                       ((a == NULL) && (b == NULL) ? 0 : -1) )

Referenced by cmyth_proginfo_compare().


Function Documentation

int cmyth_get_delete_list cmyth_conn_t  conn,
char *  msg,
cmyth_proglist_t  prog
 

Definition at line 1600 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proglist_get_count(), cmyth_rcv_length, cmyth_rcv_proglist, cmyth_send_message, and mutex.

Referenced by run_mythtv_utils_delrecordings().

long cmyth_proginfo_card_id cmyth_proginfo_t  prog  ) 
 

Retrieve the card ID where the program was recorded.

Parameters:
prog proginfo handle
Returns:
card ID

Definition at line 1577 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, and cmyth_proginfo::proginfo_card_id.

Referenced by myth_sql_program_info(), and mythtv_pending_filter().

char* cmyth_proginfo_category cmyth_proginfo_t  prog  ) 
 

Retrieve the category of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 797 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_category, and ref_hold().

Referenced by episode_exists(), mythtv_proginfo(), and mythtv_update().

long cmyth_proginfo_chan_id cmyth_proginfo_t  prog  ) 
 

Retrieve the channel number of a program.

Parameters:
prog proginfo handle
Returns:
channel number

Definition at line 675 of file proginfo.c.

References cmyth_proginfo::proginfo_chanId.

Referenced by hilite_mythtv_delete_recorded(), myth_sql_program_info(), mythtv_delete_recorded(), and mythtv_video_key().

char* cmyth_proginfo_channame cmyth_proginfo_t  prog  ) 
 

Retrieve the channel name of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 947 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_channame, and ref_hold().

Referenced by hilite_callback(), mythtv_proginfo(), and pending_hilite_callback().

char* cmyth_proginfo_chansign cmyth_proginfo_t  prog  ) 
 

Retrieve the channel name of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 915 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_chansign, and ref_hold().

Referenced by hilite_mythtv_delete_recorded(), mythtv_delete_recorded(), and mythtv_program().

char* cmyth_proginfo_chanstr cmyth_proginfo_t  prog  ) 
 

Retrieve the channel number of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 883 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_chanstr, and ref_hold().

int cmyth_proginfo_check_recording cmyth_conn_t  control,
cmyth_proginfo_t  prog
 

Definition at line 393 of file proginfo.c.

References cmyth_dbg(), and CMYTH_DBG_DEBUG.

int cmyth_proginfo_compare cmyth_proginfo_t  a,
cmyth_proginfo_t  b
 

Determine if two proginfo handles refer to the same program.

Parameters:
a proginfo handle a
b proginfo handle b
Return values:
0 programs are the same
-1 programs are different

Definition at line 1518 of file proginfo.c.

References cmyth_timestamp_compare(), cmyth_proginfo::proginfo_description, cmyth_proginfo::proginfo_end_ts, cmyth_proginfo::proginfo_start_ts, cmyth_proginfo::proginfo_subtitle, cmyth_proginfo::proginfo_title, cmyth_proginfo::proginfo_url, and STRCMP.

Referenced by cmyth_proglist_delete_item(), episode_index(), mythtv_delete_prog(), mythtv_start_thumbnail(), and show_select_callback().

cmyth_proginfo_t cmyth_proginfo_create void   ) 
 

Create a new program info data structure.

Returns:
proginfo handle

Definition at line 172 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, cmyth_proginfo_destroy(), cmyth_timestamp_create(), ref_alloc, ref_release(), and ref_set_destroy().

Referenced by cmyth_event_get(), cmyth_proginfo_dup(), cmyth_rcv_proglist(), cmyth_recorder_get_next_proginfo(), and cmyth_recorder_get_program_info().

int cmyth_proginfo_delete_recording cmyth_conn_t  control,
cmyth_proginfo_t  prog
 

Delete a program.

Parameters:
control backend control handle
prog proginfo handle
Return values:
0 success
<0 error

Definition at line 603 of file proginfo.c.

References control, and delete_command().

Referenced by commit_mythtv_delete_recorded(), and mythtv_delete_prog().

char* cmyth_proginfo_description cmyth_proginfo_t  prog  ) 
 

Retrieve the description of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 766 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_description, and ref_hold().

Referenced by hilite_callback(), hilite_mythtv_delete_recorded(), mythtv_delete_recorded(), mythtv_proginfo(), mythtv_program(), and pending_hilite_callback().

static void cmyth_proginfo_destroy cmyth_proginfo_t  p  )  [static]
 

Definition at line 57 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, cmyth_proginfo::proginfo_category, cmyth_proginfo::proginfo_chan_output_filters, cmyth_proginfo::proginfo_chancommfree, cmyth_proginfo::proginfo_chanicon, cmyth_proginfo::proginfo_channame, cmyth_proginfo::proginfo_chansign, cmyth_proginfo::proginfo_chanstr, cmyth_proginfo::proginfo_description, cmyth_proginfo::proginfo_end_ts, cmyth_proginfo::proginfo_host, cmyth_proginfo::proginfo_hostname, cmyth_proginfo::proginfo_lastmodified, cmyth_proginfo::proginfo_originalairdate, cmyth_proginfo::proginfo_pathname, cmyth_proginfo::proginfo_playgroup, cmyth_proginfo::proginfo_programid, cmyth_proginfo::proginfo_rec_end_ts, cmyth_proginfo::proginfo_rec_priority, cmyth_proginfo::proginfo_rec_profile, cmyth_proginfo::proginfo_rec_start_ts, cmyth_proginfo::proginfo_recgroup, cmyth_proginfo::proginfo_seriesid, cmyth_proginfo::proginfo_stars, cmyth_proginfo::proginfo_start_ts, cmyth_proginfo::proginfo_storagegroup, cmyth_proginfo::proginfo_subtitle, cmyth_proginfo::proginfo_title, cmyth_proginfo::proginfo_unknown_0, cmyth_proginfo::proginfo_url, and ref_release().

Referenced by cmyth_proginfo_create(), and cmyth_proginfo_dup().

static cmyth_proginfo_t cmyth_proginfo_dup cmyth_proginfo_t  p  )  [static]
 

Definition at line 282 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_DEBUG, cmyth_proginfo_create(), cmyth_proginfo_destroy(), cmyth_proginfo::proginfo_audioproperties, cmyth_proginfo::proginfo_card_id, cmyth_proginfo::proginfo_category, cmyth_proginfo::proginfo_chan_output_filters, cmyth_proginfo::proginfo_chancommfree, cmyth_proginfo::proginfo_chanicon, cmyth_proginfo::proginfo_chanId, cmyth_proginfo::proginfo_channame, cmyth_proginfo::proginfo_chansign, cmyth_proginfo::proginfo_chanstr, cmyth_proginfo::proginfo_conflicting, cmyth_proginfo::proginfo_description, cmyth_proginfo::proginfo_end_ts, cmyth_proginfo::proginfo_hasairdate, cmyth_proginfo::proginfo_host, cmyth_proginfo::proginfo_hostname, cmyth_proginfo::proginfo_input_id, cmyth_proginfo::proginfo_lastmodified, cmyth_proginfo::proginfo_Length, cmyth_proginfo::proginfo_originalairdate, cmyth_proginfo::proginfo_override, cmyth_proginfo::proginfo_parentid, cmyth_proginfo::proginfo_pathname, cmyth_proginfo::proginfo_playgroup, cmyth_proginfo::proginfo_port, cmyth_proginfo::proginfo_program_flags, cmyth_proginfo::proginfo_programid, cmyth_proginfo::proginfo_rec_dups, cmyth_proginfo::proginfo_rec_end_ts, cmyth_proginfo::proginfo_rec_priority, cmyth_proginfo::proginfo_rec_profile, cmyth_proginfo::proginfo_rec_start_ts, cmyth_proginfo::proginfo_rec_status, cmyth_proginfo::proginfo_rec_type, cmyth_proginfo::proginfo_recgroup, cmyth_proginfo::proginfo_record_id, cmyth_proginfo::proginfo_recording, cmyth_proginfo::proginfo_recpriority_2, cmyth_proginfo::proginfo_repeat, cmyth_proginfo::proginfo_seriesid, cmyth_proginfo::proginfo_source_id, cmyth_proginfo::proginfo_stars, cmyth_proginfo::proginfo_start_ts, cmyth_proginfo::proginfo_storagegroup, cmyth_proginfo::proginfo_subtitle, cmyth_proginfo::proginfo_subtitletype, cmyth_proginfo::proginfo_title, cmyth_proginfo::proginfo_unknown_0, cmyth_proginfo::proginfo_unknown_1, cmyth_proginfo::proginfo_url, cmyth_proginfo::proginfo_version, cmyth_proginfo::proginfo_videoproperties, ref_hold(), and ref_set_destroy().

Referenced by cmyth_proginfo_get_detail().

cmyth_timestamp_t cmyth_proginfo_end cmyth_proginfo_t  prog  ) 
 

Retrieve the end time of a program.

Parameters:
prog proginfo handle
Returns:
timestamp handle

Definition at line 1094 of file proginfo.c.

References cmyth_proginfo::proginfo_end_ts, and ref_hold().

Referenced by mythtv_program().

static int cmyth_proginfo_fill cmyth_conn_t  control,
cmyth_proginfo_t  prog
[static]
 

Definition at line 1397 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_rcv_length, cmyth_rcv_proginfo, control, fill_command(), mutex, and cmyth_proginfo::proginfo_Length.

Referenced by cmyth_proginfo_get_detail().

int cmyth_proginfo_forget_recording cmyth_conn_t  control,
cmyth_proginfo_t  prog
 

Delete a program such that it may be recorded again.

Parameters:
control backend control handle
prog proginfo handle
Return values:
0 success
<0 error

Definition at line 626 of file proginfo.c.

References control, and delete_command().

Referenced by commit_mythtv_delete_recorded(), and mythtv_delete_prog().

cmyth_proginfo_t cmyth_proginfo_get_detail cmyth_conn_t  control,
cmyth_proginfo_t  p
 

Definition at line 1482 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo_dup(), cmyth_proginfo_fill(), control, and ref_release().

Referenced by mythtv_size().

int cmyth_proginfo_get_recorder_num cmyth_conn_t  control,
cmyth_rec_num_t  rnum,
cmyth_proginfo_t  prog
 

Definition at line 651 of file proginfo.c.

char* cmyth_proginfo_host cmyth_proginfo_t  prog  ) 
 

Retrieve the hostname of the MythTV backend that recorded a program.

Parameters:
prog proginfo handle
Returns:
MythTV backend hostname

Definition at line 1565 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_host, and ref_hold().

Referenced by mythtv_open().

long long cmyth_proginfo_length cmyth_proginfo_t  prog  ) 
 

Retrieve the size, in bytes, of a program.

Parameters:
prog proginfo handle
Returns:
program length

Definition at line 1005 of file proginfo.c.

References cmyth_proginfo::proginfo_Length.

Referenced by mythtv_size(), and run_mythtv_utils_delrecordings().

int cmyth_proginfo_length_sec cmyth_proginfo_t  prog  ) 
 

Retrieve the program length in seconds.

Parameters:
prog proginfo handle
Returns:
program length in seconds

Definition at line 1030 of file proginfo.c.

References cmyth_timestamp_diff, cmyth_proginfo::proginfo_end_ts, and cmyth_proginfo::proginfo_start_ts.

Referenced by mythtv_program_runtime().

cmyth_timestamp_t cmyth_proginfo_originalairdate cmyth_proginfo_t  prog  ) 
 

Retrieve the original air date of a program.

Parameters:
prog proginfo handle
Returns:
timestamp handle

Definition at line 852 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_originalairdate, and ref_hold().

Referenced by mythtv_proginfo().

char* cmyth_proginfo_pathname cmyth_proginfo_t  prog  ) 
 

Retrieve the pathname of a program file.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 979 of file proginfo.c.

References cmyth_proginfo::proginfo_pathname, and ref_hold().

Referenced by hilite_callback().

char* cmyth_proginfo_playgroup cmyth_proginfo_t  prog  ) 
 

Definition at line 841 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_playgroup, and ref_hold().

char* cmyth_proginfo_programid cmyth_proginfo_t  prog  ) 
 

Retrieve the program ID of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 819 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_programid, and ref_hold().

Referenced by myth_sql_program_info(), and mythtv_proginfo().

cmyth_timestamp_t cmyth_proginfo_rec_end cmyth_proginfo_t  prog  ) 
 

Retrieve the end time of a program.

Parameters:
prog proginfo handle
Returns:
timestamp handle

Definition at line 1153 of file proginfo.c.

References cmyth_proginfo::proginfo_rec_end_ts, and ref_hold().

Referenced by hilite_callback(), hilite_mythtv_delete_recorded(), myth_sql_program_info(), mythtv_delete_recorded(), mythtv_pending_filter(), mythtv_proginfo(), and pending_hilite_callback().

cmyth_timestamp_t cmyth_proginfo_rec_start cmyth_proginfo_t  prog  ) 
 

Retrieve the start time of a program.

Parameters:
prog proginfo handle
Returns:
timestamp handle

Definition at line 1123 of file proginfo.c.

References cmyth_proginfo::proginfo_rec_start_ts, and ref_hold().

Referenced by hilite_callback(), hilite_mythtv_delete_recorded(), myth_sql_program_info(), mythtv_delete_recorded(), mythtv_pending_filter(), mythtv_proginfo(), mythtv_video_key(), pending_hilite_callback(), and run_mythtv_utils_delrecordings().

cmyth_proginfo_rec_status_t cmyth_proginfo_rec_status cmyth_proginfo_t  prog  ) 
 

Retrieve the recording status of a program.

Parameters:
prog proginfo handle
Returns:
recording status

Definition at line 1195 of file proginfo.c.

References cmyth_proginfo::proginfo_rec_status.

Referenced by myth_sql_program_info(), mythtv_pending_filter(), and pending_hilite_callback().

char* cmyth_proginfo_recgroup cmyth_proginfo_t  prog  ) 
 

Retrieve the recording group of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 1589 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_recgroup, and ref_hold().

Referenced by add_shows(), episode_exists(), load_episodes(), mythtv_proginfo(), and mythtv_update().

char* cmyth_proginfo_seriesid cmyth_proginfo_t  prog  ) 
 

Retrieve the series ID of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 808 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_seriesid, and ref_hold().

Referenced by myth_sql_program_info(), and mythtv_proginfo().

char* cmyth_proginfo_stars cmyth_proginfo_t  prog  ) 
 

Retrieve the critics rating (number of stars) of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 830 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_stars, and ref_hold().

Referenced by mythtv_proginfo().

cmyth_timestamp_t cmyth_proginfo_start cmyth_proginfo_t  prog  ) 
 

Retrieve the start time of a program.

Parameters:
prog proginfo handle
Returns:
timestamp handle

Definition at line 1064 of file proginfo.c.

References cmyth_proginfo::proginfo_start_ts, and ref_hold().

Referenced by mythtv_program().

int cmyth_proginfo_stop_recording cmyth_conn_t  control,
cmyth_proginfo_t  prog
 

Definition at line 369 of file proginfo.c.

References cmyth_dbg(), and CMYTH_DBG_DEBUG.

char* cmyth_proginfo_subtitle cmyth_proginfo_t  prog  ) 
 

Retrieve the subtitle of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 735 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_subtitle, and ref_hold().

Referenced by hilite_mythtv_delete_recorded(), myth_sql_program_info(), mythtv_delete_recorded(), mythtv_pending_filter(), mythtv_proginfo(), mythtv_program(), and run_mythtv_utils_delrecordings().

char* cmyth_proginfo_title cmyth_proginfo_t  prog  ) 
 

Retrieve the title of a program.

Parameters:
prog proginfo handle
Returns:
null-terminated string

Definition at line 704 of file proginfo.c.

References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_title, and ref_hold().

Referenced by episode_exists(), hilite_mythtv_delete_recorded(), myth_sql_program_info(), mythtv_delete_recorded(), mythtv_pending_filter(), mythtv_proginfo(), mythtv_program(), mythtv_update(), and run_mythtv_utils_delrecordings().

static int delete_command cmyth_conn_t  control,
cmyth_proginfo_t  prog,
char *  cmd
[static]
 

Definition at line 400 of file proginfo.c.

References cmyth_datetime_to_string(), cmyth_dbg(), CMYTH_DBG_ERROR, CMYTH_LONG_LEN, CMYTH_LONGLONG_LEN, cmyth_rcv_length, cmyth_rcv_long, cmyth_send_message, CMYTH_TIMESTAMP_LEN, cmyth_timestamp_to_isostring(), cmyth_timestamp_to_string(), cmyth_conn::conn_version, control, mutex, cmyth_proginfo::proginfo_audioproperties, cmyth_proginfo::proginfo_card_id, cmyth_proginfo::proginfo_category, cmyth_proginfo::proginfo_chan_output_filters, cmyth_proginfo::proginfo_chancommfree, cmyth_proginfo::proginfo_chanicon, cmyth_proginfo::proginfo_chanId, cmyth_proginfo::proginfo_channame, cmyth_proginfo::proginfo_chansign, cmyth_proginfo::proginfo_chanstr, cmyth_proginfo::proginfo_description, cmyth_proginfo::proginfo_end_ts, cmyth_proginfo::proginfo_hasairdate, cmyth_proginfo::proginfo_hostname, cmyth_proginfo::proginfo_input_id, cmyth_proginfo::proginfo_lastmodified, cmyth_proginfo::proginfo_Length, cmyth_proginfo::proginfo_originalairdate, cmyth_proginfo::proginfo_override, cmyth_proginfo::proginfo_parentid, cmyth_proginfo::proginfo_playgroup, cmyth_proginfo::proginfo_program_flags, cmyth_proginfo::proginfo_programid, cmyth_proginfo::proginfo_rec_dups, cmyth_proginfo::proginfo_rec_end_ts, cmyth_proginfo::proginfo_rec_priority, cmyth_proginfo::proginfo_rec_start_ts, cmyth_proginfo::proginfo_rec_status, cmyth_proginfo::proginfo_rec_type, cmyth_proginfo::proginfo_recgroup, cmyth_proginfo::proginfo_record_id, cmyth_proginfo::proginfo_recording, cmyth_proginfo::proginfo_recpriority_2, cmyth_proginfo::proginfo_repeat, cmyth_proginfo::proginfo_seriesid, cmyth_proginfo::proginfo_source_id, cmyth_proginfo::proginfo_stars, cmyth_proginfo::proginfo_start_ts, cmyth_proginfo::proginfo_storagegroup, cmyth_proginfo::proginfo_subtitle, cmyth_proginfo::proginfo_subtitletype, cmyth_proginfo::proginfo_title, cmyth_proginfo::proginfo_unknown_0, cmyth_proginfo::proginfo_unknown_1, cmyth_proginfo::proginfo_url, and cmyth_proginfo::proginfo_videoproperties.

Referenced by cmyth_proginfo_delete_recording(), and cmyth_proginfo_forget_recording().

static int fill_command cmyth_conn_t  control,
cmyth_proginfo_t  prog,
char *  cmd
[static]
 

Definition at line 1204 of file proginfo.c.

References cmyth_datetime_to_string(), cmyth_dbg(), CMYTH_DBG_ERROR, CMYTH_LONG_LEN, CMYTH_LONGLONG_LEN, cmyth_send_message, CMYTH_TIMESTAMP_LEN, cmyth_timestamp_to_isostring(), cmyth_timestamp_to_string(), cmyth_conn::conn_version, control, cmyth_proginfo::proginfo_audioproperties, cmyth_proginfo::proginfo_card_id, cmyth_proginfo::proginfo_category, cmyth_proginfo::proginfo_chan_output_filters, cmyth_proginfo::proginfo_chancommfree, cmyth_proginfo::proginfo_chanicon, cmyth_proginfo::proginfo_chanId, cmyth_proginfo::proginfo_channame, cmyth_proginfo::proginfo_chansign, cmyth_proginfo::proginfo_chanstr, cmyth_proginfo::proginfo_description, cmyth_proginfo::proginfo_end_ts, cmyth_proginfo::proginfo_hasairdate, cmyth_proginfo::proginfo_hostname, cmyth_proginfo::proginfo_input_id, cmyth_proginfo::proginfo_lastmodified, cmyth_proginfo::proginfo_Length, cmyth_proginfo::proginfo_originalairdate, cmyth_proginfo::proginfo_override, cmyth_proginfo::proginfo_parentid, cmyth_proginfo::proginfo_playgroup, cmyth_proginfo::proginfo_program_flags, cmyth_proginfo::proginfo_programid, cmyth_proginfo::proginfo_rec_dups, cmyth_proginfo::proginfo_rec_end_ts, cmyth_proginfo::proginfo_rec_priority, cmyth_proginfo::proginfo_rec_start_ts, cmyth_proginfo::proginfo_rec_status, cmyth_proginfo::proginfo_rec_type, cmyth_proginfo::proginfo_recgroup, cmyth_proginfo::proginfo_record_id, cmyth_proginfo::proginfo_recording, cmyth_proginfo::proginfo_recpriority_2, cmyth_proginfo::proginfo_repeat, cmyth_proginfo::proginfo_seriesid, cmyth_proginfo::proginfo_source_id, cmyth_proginfo::proginfo_stars, cmyth_proginfo::proginfo_start_ts, cmyth_proginfo::proginfo_storagegroup, cmyth_proginfo::proginfo_subtitle, cmyth_proginfo::proginfo_subtitletype, cmyth_proginfo::proginfo_title, cmyth_proginfo::proginfo_unknown_0, cmyth_proginfo::proginfo_unknown_1, cmyth_proginfo::proginfo_url, and cmyth_proginfo::proginfo_videoproperties.

Referenced by cmyth_proginfo_fill().


Generated on Fri Sep 10 03:13:22 2010 for mvpmc by  doxygen 1.4.6