opdenkamp/xbmc — Issue #430: Resume recording broken for TVHeadend after 46b12d1
Author: mikkle
Created: 2012-02-25 15:06:11+00:00
State: open

Problem is that state is recorded for the recording identified by the streamURL:
15:29:51 T:139733288060672 DEBUG: DoWork - Saving file state for video item http://xbmc:xbmc@10.22.22.22:9981/dvrfile/68

Works great before 46b12d1:
15:25:22 T:140220807796704 DEBUG: MIKKLE: CGUIWindowPVRRecordings - GetResumeString - itemPath: http://xbmc:xbmc@10.22.22.22:9981/dvrfile/68

But after this commit, state is still saved to the recording identified by streamURL, but the resume functionality queries for FileNameAndPath:
15:25:22 T:140220807796704 DEBUG: MIKKLE: CGUIWindowPVRRecordings - GetResumeString - itemPath: http://xbmc:xbmc@10.22.22.22:9981/dvrfile/68

The state saving takes place in xbmc/utils/SaveFileStateJob.h in CSaveFileStateJob::DoWork() starting at line 24.
This method might need updating to reflect this commit, or something else entirely may need chaning.