xbmc/xbmc — pull request #955 by pieh (2012-05-10 15:59:16+00:00)
Title: GUI_MSG_UPDATE_ITEM 

GUI_MSG_UPDATE_ITEM msg from https://github.com/xbmc/xbmc/blob/master/xbmc/utils/SaveFileStateJob.h#L92 will not work correctly when old item in items vector has startOffset set to STARTOFFSET_RESUME and new one has set it 0 (it won't update item because CFileItem::IsSamePath will return false).

This is more request for comments than pull request (my commit is just dummy fix that work in my case, but propably will fail somewhere else). We could have flag to determine if we need to compare startoffset to differentiate items - f.e. add some property to fileitems when creating them from cuesheet (and anything similiar). Any thoughts on this?