
Defines | |
| #define | SHOUTCAST_BASE_URL "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml" |
| #define | SHOUTCAST_TUNEIN_BASE_URL "http://www.shoutcast.com" |
| #define | SHOUTCAST_TV_TUNEIN_URL "http://www.shoutcast.com/sbin/tunein-tvstation.pls?id=" |
| #define | GET_VALUE(a) |
| #define | SADD_INFO(type, field) |
Functions | |
| static int | Demux (demux_t *p_demux) |
| static int | Control (demux_t *p_demux, int i_query, va_list args) |
| static int | DemuxGenre (demux_t *p_demux, xml_reader_t *p_xml_reader, input_item_node_t *p_input_node) |
| static int | DemuxStation (demux_t *p_demux, xml_reader_t *p_xml_reader, input_item_node_t *p_input_node, bool b_adult) |
| int | Import_Shoutcast (vlc_object_t *p_this) |
| void | Close_Shoutcast (vlc_object_t *p_this) |
| #define GET_VALUE | ( | a | ) |
Value:
Referenced by DemuxGenre(), and DemuxStation().
| #define SADD_INFO | ( | type, | |||
| field | ) |
Value:
if( field ) \ input_item_AddInfo( p_input, _("Shoutcast"), \ vlc_gettext(type), "%s", field )
| #define SHOUTCAST_BASE_URL "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml" |
Referenced by DemuxGenre().
| #define SHOUTCAST_TUNEIN_BASE_URL "http://www.shoutcast.com" |
Referenced by DemuxStation().
| #define SHOUTCAST_TV_TUNEIN_URL "http://www.shoutcast.com/sbin/tunein-tvstation.pls?id=" |
Referenced by DemuxStation().
| void Close_Shoutcast | ( | vlc_object_t * | p_this | ) |
| static int Control | ( | demux_t * | p_demux, | |
| int | i_query, | |||
| va_list | args | |||
| ) | [static] |
References VLC_EGENERIC, and VLC_UNUSED.
| static int Demux | ( | demux_t * | p_demux | ) | [static] |
References DemuxGenre(), DemuxStation(), GetCurrentItem(), input_item_node_Create(), input_item_node_Delete(), input_item_node_PostAndDelete(), msg_Err, demux_t::s, var_InheritBool, vlc_gc_decref, xml_Create, xml_Delete(), XML_READER_STARTELEM, xml_ReaderCreate, xml_ReaderDelete, xml_ReaderName, xml_ReaderNodeType, and xml_ReaderRead.
| static int DemuxGenre | ( | demux_t * | p_demux, | |
| xml_reader_t * | p_xml_reader, | |||
| input_item_node_t * | p_input_node | |||
| ) | [static] |
References asprintf(), FREENULL, GET_VALUE, input_item_CopyOptions(), input_item_New, input_item_node_AppendItem(), msg_Warn, name, input_item_node_t::p_item, psz_name, SHOUTCAST_BASE_URL, vlc_gc_decref, VLC_SUCCESS, XML_READER_ENDELEM, XML_READER_STARTELEM, XML_READER_TEXT, xml_ReaderName, xml_ReaderNextAttr, xml_ReaderNodeType, xml_ReaderRead, and xml_ReaderValue.
Referenced by Demux().
| static int DemuxStation | ( | demux_t * | p_demux, | |
| xml_reader_t * | p_xml_reader, | |||
| input_item_node_t * | p_input_node, | |||
| bool | b_adult | |||
| ) | [static] |
References asprintf(), FREENULL, GET_VALUE, i_type, input_item_CopyOptions(), input_item_New, input_item_node_AppendItem(), input_item_SetGenre(), input_item_SetNowPlaying(), input_item_SetRating(), load(), msg_Warn, N_, name, input_item_node_t::p_item, psz_name, SADD_INFO, SHOUTCAST_TUNEIN_BASE_URL, SHOUTCAST_TV_TUNEIN_URL, vlc_gc_decref, VLC_SUCCESS, XML_READER_ENDELEM, XML_READER_STARTELEM, XML_READER_TEXT, xml_ReaderName, xml_ReaderNextAttr, xml_ReaderNodeType, xml_ReaderRead, and xml_ReaderValue.
Referenced by Demux().
| int Import_Shoutcast | ( | vlc_object_t * | p_this | ) |
References Control(), Demux(), demux_IsForced(), msg_Dbg, demux_t::pf_control, demux_t::pf_demux, VLC_EGENERIC, and VLC_SUCCESS.
1.5.6