
Defines | |
| #define | addstr(t, v) input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%s",v) |
| #define | addnum(t, v) input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%d",v) |
| #define | addhex(t, v) input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%x",v) |
| #define | TEMP_STR_SIZE 256 |
Functions | |
| static char * | VCDFormatStr (vcdplayer_t *p_vcdplayer, const char *format_str, const char *mrl, const vcdinfo_itemid_t *itemid) |
| void | VCDMetaInfo (access_t *p_access, char *psz_mrl) |
| void | VCDUpdateTitle (access_t *p_access) |
| #define addhex | ( | t, | |||
| v | ) | input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%x",v) |
Referenced by VCDMetaInfo().
| #define addnum | ( | t, | |||
| v | ) | input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%d",v) |
Referenced by VCDMetaInfo().
| #define addstr | ( | t, | |||
| v | ) | input_Control(p_input,INPUT_ADD_INFO,psz_cat,t,"%s",v) |
Referenced by VCDMetaInfo().
| #define TEMP_STR_SIZE 256 |
| static char * VCDFormatStr | ( | vcdplayer_t * | p_vcdplayer, | |
| const char * | format_str, | |||
| const char * | mrl, | |||
| const vcdinfo_itemid_t * | itemid | |||
| ) | [static] |
Take a format string and expand escape sequences, that is sequences that begin with %, with information from the current VCD. The expanded string is returned. Here is a list of escape sequences:
A : The album information C : The VCD volume count - the number of CD's in the collection. c : The VCD volume num - the number of the CD in the collection. F : The VCD Format, e.g. VCD 1.0, VCD 1.1, VCD 2.0, or SVCD I : The current entry/segment/playback type, e.g. ENTRY, TRACK, SEGMENT... L : The playlist ID prefixed with " LID" if it exists M : MRL N : The current number of the I - a decimal number P : The publisher ID p : The preparer ID S : If we are in a segment (menu), the kind of segment T : The track number V : The volume set ID v : The volume ID A number between 1 and the volume count. %% : a %
References _, vcdplayer_input_s::i_lid, vcdplayer_input_s::i_track, strdup(), TEMP_STR_SIZE, vcdplayer_input_s::vcd, and vcdplayer_pbc_is_on().
Referenced by VCDMetaInfo(), and VCDUpdateTitle().
| void VCDMetaInfo | ( | access_t * | p_access, | |
| char * | psz_mrl | |||
| ) |
References _, addhex, addnum, addstr, vcdplayer_input_s::b_svd, config_GetPsz, vcdplayer_input_s::i_lids, vcdplayer_input_s::i_tracks, input_Control(), INPUT_SET_NAME, vcdplayer_input_s::p_input, access_t::p_sys, vcdplayer_input_s::play_item, psz_name, vcdplayer_input_s::vcd, and VCDFormatStr().
Referenced by VCDControl().
| void VCDUpdateTitle | ( | access_t * | p_access | ) |
References config_GetPsz, input_Control(), INPUT_SET_NAME, vcdplayer_input_s::p_input, access_t::p_sys, vcdplayer_input_s::play_item, psz_name, vcdplayer_input_s::psz_source, VCD_MRL_PREFIX, and VCDFormatStr().
Referenced by VCDSetOrigin().
1.5.6