xbmc/xbmc — pull request #1099 by Voyager-xbmc (2012-06-21 20:08:26+00:00)
Title: Cleanup ISO stack resume code

this pull request addresses a number of things in the sphere of resume-play of ISO stacks.

1) move the intelligence down from GUIWindowVideoBase to the VideoDatabase. All we need to know in the GUIWindowVideoBase is what to do with a Bookmark that contains a partnumber > 0.
The VideoDatabase methods GetBookmarksForFile and GetResumePoint know how to deal with ISO stacks now, which makes the code more reusable for non-GUI callers.

2) the resume "flag" as well as "percent complete" for an ISO stack (the little white triangle in Confluence lists) now correctly shows. This was not the case due to the VideoInfoTag resume bookmark not set (prior to the code changes described above in 1). The rule is that the bookmark of the "highest" part having a bookmark counts.