Skip to content

Commit

Permalink
Fix update of 'DVR configuration' property not working due to duplica…
Browse files Browse the repository at this point in the history
…te member after refactoring recording entity class hierarchy.
  • Loading branch information
ksooo committed Sep 13, 2024
1 parent b0fcbf3 commit 709d03c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
v22.4.1
- Fix pointless "Unknown property" log spam introduced with v22.4.0
- Fix update of "DVR configuration" property not working

v22.4.0
- PVR Add-on API v9.1.0
Expand Down
7 changes: 1 addition & 6 deletions src/tvheadend/entity/Recording.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ class Recording : public RecordingBase
m_contentType == other.m_contentType && m_season == other.m_season &&
m_episode == other.m_episode && m_part == other.m_part &&
m_ageRating == other.m_ageRating && m_ratingLabel == other.m_ratingLabel &&
m_ratingIcon == other.m_ratingIcon && m_ratingSource == other.m_ratingSource &&
m_configUuid == other.m_configUuid;
m_ratingIcon == other.m_ratingIcon && m_ratingSource == other.m_ratingSource;
}

bool operator!=(const Recording& other) { return !(*this == other); }
Expand Down Expand Up @@ -186,9 +185,6 @@ class Recording : public RecordingBase
const std::string& GetRatingSource() const { return m_ratingSource; }
void SetRatingSource(const std::string& ratingSource) { m_ratingSource = ratingSource; }

const std::string& GetConfigUuid() const { return m_configUuid; }
void SetConfigUuid(const std::string& uuid) { m_configUuid = uuid; }

private:
uint32_t m_channelType{0};
std::string m_channelName;
Expand Down Expand Up @@ -219,7 +215,6 @@ class Recording : public RecordingBase
std::string m_ratingLabel;
std::string m_ratingIcon;
std::string m_ratingSource;
std::string m_configUuid; // DVR configuration UUID.
};

} // namespace tvheadend::entity

0 comments on commit 709d03c

Please sign in to comment.