Commit 710d099a authored by François Cartegnie's avatar François Cartegnie 🤞

input: item: EPG lookups/updates needs program+id

parent 3417f267
......@@ -906,7 +906,8 @@ void input_item_SetEpg( input_item_t *p_item, const vlc_epg_t *p_update )
vlc_epg_t *p_epg = NULL;
for( int i = 0; i < p_item->i_epg; i++ )
{
if( p_item->pp_epg[i]->i_source_id == p_update->i_source_id )
if( p_item->pp_epg[i]->i_source_id == p_update->i_source_id &&
p_item->pp_epg[i]->i_id == p_update->i_id )
{
p_epg = p_item->pp_epg[i];
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