shout.c File Reference

Include dependency graph for shout.c:


Data Structures

struct  shout_item_t
struct  shout_category_t

Defines

#define endItem()   { NULL, NULL, { NULL }, NULL }
#define item(title, url)   { url, title, { NULL }, NULL }
#define itemWithOption(title, url, option)   { url, title, { option, NULL }, NULL }
#define itemWithChildren(title, children)   { "vlc://nop", title, { NULL }, children }
#define OPEN(type)

Enumerations

enum  type_e { ShoutRadio = 0, ShoutTV = 1, Freebox = 2, FrenchTV = 3 }

Functions

static int Open (vlc_object_t *, enum type_e)
static void Close (vlc_object_t *)
static int OpenShoutRadio (vlc_object_t *p_this)
static int OpenShoutTV (vlc_object_t *p_this)
static int OpenFreebox (vlc_object_t *p_this)
static int OpenFrenchTV (vlc_object_t *p_this)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static void Run (services_discovery_t *p_sd)
static void ItemAdded (const vlc_event_t *p_event, void *user_data)
static input_item_tCreateInputItemFromShoutItem (services_discovery_t *p_sd, const struct shout_item_t *p_item)
static void AddSubitemsOfShoutItemURL (services_discovery_t *p_sd, const struct shout_item_t *p_item, const char *psz_category)

Variables

static struct shout_item_t p_frenchtv_canalplus []
static struct shout_item_t p_frenchtv []
static struct shout_item_t p_items []

Define Documentation

 
#define endItem (  )     { NULL, NULL, { NULL }, NULL }

#define item ( title,
url   )     { url, title, { NULL }, NULL }

#define itemWithChildren ( title,
children   )     { "vlc://nop", title, { NULL }, children }

#define itemWithOption ( title,
url,
option   )     { url, title, { option, NULL }, NULL }

#define OPEN ( type   ) 

Value:

static int Open ## type ( vlc_object_t *p_this )    \
{                                                   \
    msg_Dbg( p_this, "Starting " #type );           \
    return Open( p_this, type );                    \
}


Enumeration Type Documentation

enum type_e

Enumerator:
ShoutRadio 
ShoutTV 
Freebox 
FrenchTV 


Function Documentation

static void AddSubitemsOfShoutItemURL ( services_discovery_t p_sd,
const struct shout_item_t p_item,
const char *  psz_category 
) [static]

static void Close ( vlc_object_t  )  [static]

static input_item_t* CreateInputItemFromShoutItem ( services_discovery_t p_sd,
const struct shout_item_t p_item 
) [static]

static void ItemAdded ( const vlc_event_t p_event,
void *  user_data 
) [static]

static int Open ( vlc_object_t ,
enum  type_e 
) [static]

static int OpenFreebox ( vlc_object_t p_this  )  [static]

static int OpenFrenchTV ( vlc_object_t p_this  )  [static]

static int OpenShoutRadio ( vlc_object_t p_this  )  [static]

static int OpenShoutTV ( vlc_object_t p_this  )  [static]

static void Run ( services_discovery_t p_sd  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

struct shout_item_t p_frenchtv[] [static]

Initial value:

 {
    { "vlc://nop",  N_("Canal +") , { NULL },  p_frenchtv_canalplus  },
    { NULL, NULL, { NULL }, NULL }
}

struct shout_item_t p_frenchtv_canalplus[] [static]

Initial value:

 {
    {  "http://www.canalplus.fr/index.php?pid=1784" ,  N_("Les Guignols") , {  "http-forward-cookies" , NULL }, NULL },
    { NULL, NULL, { NULL }, NULL }
}

struct shout_item_t p_items[] [static]

Initial value:

 {
    {  "http/shout-winamp://www.shoutcast.com/sbin/newxml.phtml" ,  N_("Shoutcast Radio") , { NULL }, NULL },
    {  "http/shout-winamp://www.shoutcast.com/sbin/newtvlister.phtml?alltv=1" ,  N_("Shoutcast TV") , { NULL }, NULL },
    {  "http://mafreebox.freebox.fr/freeboxtv/playlist.m3u" ,  N_("Freebox TV") , { NULL }, NULL },
    { "vlc://nop",  N_("French TV") , { NULL },  p_frenchtv  },
    { NULL, NULL, { NULL }, NULL }
}


Generated on Wed Aug 13 08:03:01 2008 for VLC by  doxygen 1.5.1