Commit 9ac8ebb0 authored by Antoine Cellerier's avatar Antoine Cellerier

Add 'GENRE' to the list of vlc_get_meta language independent wrappers.

parent 226eab71
...@@ -986,6 +986,11 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars, ...@@ -986,6 +986,11 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t *vars,
psz_val = vlc_input_item_GetInfo( p_item, psz_val = vlc_input_item_GetInfo( p_item,
_(VLC_META_INFO_CAT), _(VLC_META_COLLECTION) ); _(VLC_META_INFO_CAT), _(VLC_META_COLLECTION) );
} }
else if( !strcmp( psz_meta, "GENRE" ) )
{
psz_val = vlc_input_item_GetInfo( p_item,
_(VLC_META_INFO_CAT), _(VLC_META_GENRE) );
}
else else
{ {
psz_val = vlc_input_item_GetInfo( p_item, psz_val = vlc_input_item_GetInfo( p_item,
......
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