Commit 12ff6966 authored by Thomas Guillem's avatar Thomas Guillem

playback_service: init notification progress

parent 98620e3f
......@@ -146,8 +146,10 @@ ps_notification_update_meta(playback_service *p_ps, media_item *p_mi)
if (psz_meta_title && psz_meta_artist)
notification_set_text(p_ps->p_notification, NOTIFICATION_TEXT_TYPE_CONTENT, psz_meta_artist, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
p_ps->i_last_notification_pos = 0.0f;
p_ps->i_last_notification_pos = 0.0001f;
notification_post(p_ps->p_notification);
notification_set_progress(p_ps->p_notification, p_ps->i_last_notification_pos);
notification_update(p_ps->p_notification);
}
static void
......
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