fetzerch/xbmc-pvr-addons — pull request #42 by fetzerch (2012-11-11 14:36:40+00:00)
Title: Querying Framerate using recording markup

I worked the last days on retreiving the cutlists (Edl) from the addon.
Because of the feature freeze, Edl will come after Frodo.

This PR separates 2 commits from the Edl branch, that could be used already now in the addon.
The commits try to improve reading the framerate for a recording. Currently we use the framerate for getting, setting bookmarks (resume points). Later we need it also for the cutlist.
(Mythtv stores a frameoffset, while xbmc needs a time based offset.)

The idea is to read this data from the recordedmarkup table and if that doesn't deliver a proper reasonable framerate, we fallback to the current solution of calculating it.

@janbar: could you review and help testing this? I had 2 crashes when finishing a recording. Unfortunately not really reproduceable.
If you have a better idea for querying the framerate, let me know!
It's low prio, just if you have time.

Thanks,
Christian