#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.
|
|
Value: ( (a && b && (strcmp(a,b) == 0)) ? 0 : \
((a == NULL) && (b == NULL) ? 0 : -1) )
Referenced by cmyth_proginfo_compare(). |
|
||||||||||||||||
|
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(). |
|
|
Retrieve the card ID where the program was recorded.
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(). |
|
|
Retrieve the category of a program.
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(). |
|
|
Retrieve the channel number of a program.
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(). |
|
|
Retrieve the channel name of a program.
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(). |
|
|
Retrieve the channel name of a program.
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(). |
|
|
Retrieve the channel number of a program.
Definition at line 883 of file proginfo.c. References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_chanstr, and ref_hold(). |
|
||||||||||||
|
Definition at line 393 of file proginfo.c. References cmyth_dbg(), and CMYTH_DBG_DEBUG. |
|
||||||||||||
|
Determine if two proginfo handles refer to the same program.
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(). |
|
|
Create a new program info data structure.
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(). |
|
||||||||||||
|
Delete a program.
Definition at line 603 of file proginfo.c. References control, and delete_command(). Referenced by commit_mythtv_delete_recorded(), and mythtv_delete_prog(). |
|
|
Retrieve the description of a program.
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(). |
|
|
|
|
Retrieve the end time of a program.
Definition at line 1094 of file proginfo.c. References cmyth_proginfo::proginfo_end_ts, and ref_hold(). Referenced by mythtv_program(). |
|
||||||||||||
|
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(). |
|
||||||||||||
|
Delete a program such that it may be recorded again.
Definition at line 626 of file proginfo.c. References control, and delete_command(). Referenced by commit_mythtv_delete_recorded(), and mythtv_delete_prog(). |
|
||||||||||||
|
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(). |
|
||||||||||||||||
|
Definition at line 651 of file proginfo.c. |
|
|
Retrieve the hostname of the MythTV backend that recorded a program.
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(). |
|
|
Retrieve the size, in bytes, of a program.
Definition at line 1005 of file proginfo.c. References cmyth_proginfo::proginfo_Length. Referenced by mythtv_size(), and run_mythtv_utils_delrecordings(). |
|
|
Retrieve the 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(). |
|
|
Retrieve the original air date of a program.
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(). |
|
|
Retrieve the pathname of a program file.
Definition at line 979 of file proginfo.c. References cmyth_proginfo::proginfo_pathname, and ref_hold(). Referenced by hilite_callback(). |
|
|
Definition at line 841 of file proginfo.c. References cmyth_dbg(), CMYTH_DBG_ERROR, cmyth_proginfo::proginfo_playgroup, and ref_hold(). |
|
|
Retrieve the program ID of a program.
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(). |
|
|
Retrieve the end time of a program.
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(). |
|
|
Retrieve the start time of a program.
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(). |
|
|
Retrieve the recording status of a program.
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(). |
|
|
Retrieve the recording group of a program.
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(). |
|
|
Retrieve the series ID of a program.
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(). |
|
|
Retrieve the critics rating (number of stars) of a program.
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(). |
|
|
Retrieve the start time of a program.
Definition at line 1064 of file proginfo.c. References cmyth_proginfo::proginfo_start_ts, and ref_hold(). Referenced by mythtv_program(). |
|
||||||||||||
|
Definition at line 369 of file proginfo.c. References cmyth_dbg(), and CMYTH_DBG_DEBUG. |
|
|
Retrieve the subtitle of a program.
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(). |
|
|
Retrieve the title of a program.
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(). |
|
||||||||||||||||
|
||||||||||||||||
1.4.6