Skip to content

Commit

Permalink
[pvr] changed: add the filename of the recording (if any) to the epg …
Browse files Browse the repository at this point in the history
…tag serialised data
  • Loading branch information
opdenkamp committed Mar 5, 2015
1 parent 2b9b9ca commit 67bf6a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xbmc/epg/EpgInfoTag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ bool CEpgInfoTag::operator !=(const CEpgInfoTag& right) const

void CEpgInfoTag::Serialize(CVariant &value) const
{
CPVRRecordingPtr recording(Recording());
value["broadcastid"] = m_iUniqueBroadcastID;
value["parentalrating"] = m_iParentalRating;
value["rating"] = m_iStarRating;
Expand All @@ -178,6 +179,7 @@ void CEpgInfoTag::Serialize(CVariant &value) const
value["episodepart"] = m_iEpisodePart;
value["hastimer"] = HasTimer();
value["hasrecording"] = HasRecording();
value["recording"] = recording ? recording->m_strFileNameAndPath : "";
value["isactive"] = IsActive();
value["wasactive"] = WasActive();
}
Expand Down

0 comments on commit 67bf6a4

Please sign in to comment.