xbmc/xbmc — pull request #843 by xbmcfanboy (2012-04-04 08:39:01+00:00)
Title: Fix for ticket #12724: External cuesheet issue

This improves flac album with external cuesheet support. Exact steps to reproduce the problems
are in the bug report.

1) Three functions which previously compared path1==path2 now call CFileItem::IsSamePath() for the
comparison. IsSamePath() is unchanged. IsSamePath() compares m_lStartOffset as well as the path. This
extra criteria is needed to differentiate among tracks in a flac album.

2) CFileItemList::UpdateItem() has been rewritten to match jmarshall's description of what it is supposed to
do. I don't believe the function worked properly to begin with. See the discussion here: http://forum.xbmc.org
/showthread.php?tid=127408