Skip to content

Commit

Permalink
[mythtv-cmyth] Use StartTime instead of RecordingStartTime for record…
Browse files Browse the repository at this point in the history
…ings.

If StartTime is 20:15, RecordingStartTime might be set to 20:10 in case the show
starts a bit earlier.

Hence recordings represent a specific show, it's better to show the StartTime
in the recordings view.
  • Loading branch information
fetzerch committed Nov 1, 2012
1 parent 8033732 commit f8ceee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/pvr.mythtv.cmyth/src/pvrclient-mythtv.cpp
Expand Up @@ -471,7 +471,7 @@ PVR_ERROR PVRClientMythTV::GetRecordings(ADDON_HANDLE handle)
PVR_RECORDING tag;
memset(&tag, 0, sizeof(PVR_RECORDING));

tag.recordingTime = it->second.RecordingStartTime();
tag.recordingTime = it->second.StartTime();
tag.iDuration = it->second.Duration();
tag.iPlayCount = it->second.IsWatched() ? 1 : 0;

Expand Down

0 comments on commit f8ceee6

Please sign in to comment.