Skip to content

Commit

Permalink
[mythtv-cmyth] MythProgramInfo: Use RecordedStartTime for building th…
Browse files Browse the repository at this point in the history
…e UID.
  • Loading branch information
fetzerch committed Nov 1, 2012
1 parent 2f6c1a2 commit 8033732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/pvr.mythtv.cmyth/src/cppmyth/MythProgramInfo.cpp
Expand Up @@ -45,7 +45,7 @@ CStdString MythProgramInfo::StrUID()
// Creates unique IDs from ChannelID, RecordID and StartTime like "100_200_2011-12-10T12:00:00"
char buf[40] = "";
sprintf(buf, "%d_%ld_", ChannelID(), RecordID());
time_t starttime = StartTime();
time_t starttime = RecordingStartTime();
strftime(buf + strlen(buf), 20, "%Y-%m-%dT%H:%M:%S", localtime(&starttime));
return CStdString(buf);
}
Expand Down

0 comments on commit 8033732

Please sign in to comment.