/*****************************************************************************
* Module descriptor
****************************************************************************/
+
+/// \bug [String] REmove all "Growl" in short desc
+
#define SERVER_DEFAULT "127.0.0.1"
#define SERVER_TEXT N_("Growl server")
#define SERVER_LONGTEXT N_("This is the host to which Growl notifications " \
"will be sent. By default, notifications are sent locally." )
#define PASS_DEFAULT ""
#define PASS_TEXT N_("Growl password")
+/// \bug [String] Password on the Growl server.
#define PASS_LONGTEXT N_("Growl password on the server.")
#define PORT_TEXT N_("Growl UDP port")
+/// \bug [String] UDP port on the Growl server
#define PORT_LONGTEXT N_("Growl UDP port on the server.")
vlc_module_begin();
char *psz_album = NULL;
input_thread_t *p_input;
- p_playlist = (playlist_t *)vlc_object_find( p_this, VLC_OBJECT_INPUT,
+ p_playlist = (playlist_t *)vlc_object_find( p_this, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
if( !p_playlist ) return VLC_EGENERIC;
}
/* Playing something ... */
- psz_artist = vlc_input_item_GetInfo( p_input->input.p_item,
- _("Meta-information"),
- _(VLC_META_ARTIST) );
- psz_album = vlc_input_item_GetInfo( p_input->input.p_item,
- _("Meta-information"),
- _("Album/movie/show title" ) );
+ psz_artist = p_input->input.p_item->p_meta->psz_artist ?
+ strdup( p_input->input.p_item->p_meta->psz_artist ) :
+ strdup( "" );
+ psz_album = p_input->input.p_item->p_meta->psz_album ?
+ strdup( p_input->input.p_item->p_meta->psz_album ) :
+ strdup( "" );
psz_title = strdup( p_input->input.p_item->psz_name );
if( psz_title == NULL ) psz_title = strdup( N_("(no title)") );
if( psz_artist == NULL ) psz_artist = strdup( N_("(no artist)") );