vlc_meta.h: introduced VLC_META_NOW_PLAYING. http.c: use NOW_PLAYING for song title.

parent 072e4a8d
......@@ -36,6 +36,7 @@
#define VLC_META_SETTING N_("Setting")
#define VLC_META_URL N_("URL")
#define VLC_META_LANGUAGE N_("Language")
#define VLC_META_NOW_PLAYING N_("Now Playing")
#define VLC_META_CDDB_ARTIST N_("CDDB Artist")
#define VLC_META_CDDB_CATEGORY N_("CDDB Category")
......
......@@ -749,13 +749,13 @@ static int Control( access_t *p_access, int i_query, va_list args )
msg_Dbg( p_access, "GET META %s %s %s",
p_sys->psz_icy_name, p_sys->psz_icy_genre, p_sys->psz_icy_title );
if( p_sys->psz_icy_name )
vlc_meta_Add( *pp_meta, VLC_META_DESCRIPTION,
vlc_meta_Add( *pp_meta, VLC_META_TITLE,
p_sys->psz_icy_name );
if( p_sys->psz_icy_genre )
vlc_meta_Add( *pp_meta, VLC_META_GENRE,
p_sys->psz_icy_genre );
if( p_sys->psz_icy_title )
vlc_meta_Add( *pp_meta, VLC_META_TITLE,
vlc_meta_Add( *pp_meta, VLC_META_NOW_PLAYING,
p_sys->psz_icy_title );
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment