if( !m_pItem )
return;
+ // update playtree
playlist_t* pPlaylist = getIntf()->p_sys->p_playlist;
playlist_Lock( pPlaylist );
playlist_item_t* p_plItem = playlist_ItemGetByInput( pPlaylist, m_pItem );
if( id )
VlcProc::instance( getIntf() )->getPlaytreeVar().onUpdateItem( id );
+
+ // update current input if needed
+ input_item_t* p_current = NULL;
+ input_thread_t* pInput = getIntf()->p_sys->p_input;
+ if( pInput )
+ p_current = input_GetItem( pInput );
+
+ if( p_current == m_pItem )
+ VlcProc::instance( getIntf() )->update_current_input();
}
bool CmdItemUpdate::checkRemove( CmdGeneric *pQueuedCommand ) const