void InputManager::UpdateNowPlaying()
{
char *psz_now_playing = vlc_input_item_GetInfo( p_input->input.p_item,
- _("Meta-information"), _(VLC_META_NOW_PLAYING) );
+ _(VLC_META_INFO_CAT), _(VLC_META_NOW_PLAYING) );
if( psz_now_playing && *psz_now_playing )
{
p_main_intf->statusbar->SetStatusText(
var_Get( p_input, "position", &pos );
var_Get( p_input, "length", &len );
- if( len.i_time > 0 && pos.f_float >= 0 &&
- !slider->IsShown() ) ShowSlider();
- else if( len.i_time < 0 && pos.f_float <= 0 &&
- slider->IsShown() ) HideSlider();
+ if( pos.f_float > 0 && !slider->IsShown() ) ShowSlider();
+ else if( pos.f_float <= 0 && slider->IsShown() ) HideSlider();
/* Update the slider if the user isn't dragging it. */
if( slider->IsShown() && b_slider_free )