aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <3226626+ksooo@users.noreply.github.com>2024-03-03 08:20:21 +0100
committerGitHub <noreply@github.com>2024-03-03 08:20:21 +0100
commit4c7f977c9516074e46e8b0e9438189921be550c6 (patch)
treeeb18af4763f497049a357d1ba61e1c89e76e16aa
parent9e44b1c284bacc64e590fa195329b4d898f96d85 (diff)
parent13bbb7744f0c925b1ef5593a04f3152fe38d2ddf (diff)
Merge pull request #24793 from ksooo/pvr-fix-channelmgr-icons
[PVR] Channel Manager: Fix refresh channel icons; old icons still shown after refresh.
-rw-r--r--xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp b/xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp
index d61e3b0355..d6665fcf4b 100644
--- a/xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp
+++ b/xbmc/pvr/dialogs/GUIDialogPVRChannelManager.cpp
@@ -828,7 +828,7 @@ void CGUIDialogPVRChannelManager::Update()
channelFile->SetProperty(PROPERTY_CHANNEL_USER_SET_NAME, channel->IsUserSetName());
channelFile->SetProperty(PROPERTY_CHANNEL_NAME, channel->ChannelName());
channelFile->SetProperty(PROPERTY_CHANNEL_EPG_ENABLED, channel->EPGEnabled());
- channelFile->SetProperty(PROPERTY_CHANNEL_ICON, channel->ClientIconPath());
+ channelFile->SetProperty(PROPERTY_CHANNEL_ICON, channel->IconPath());
channelFile->SetProperty(PROPERTY_CHANNEL_CUSTOM_ICON, channel->IsUserSetIcon());
channelFile->SetProperty(PROPERTY_CHANNEL_EPG_SOURCE, 0);
channelFile->SetProperty(PROPERTY_CHANNEL_LOCKED, channel->IsLocked());
@@ -1080,7 +1080,7 @@ bool IsItemChanged(const std::shared_ptr<CFileItem>& item)
channel->IsUserSetName() ||
item->GetProperty(PROPERTY_CHANNEL_NAME).asString() != channel->ChannelName() ||
item->GetProperty(PROPERTY_CHANNEL_EPG_ENABLED).asBoolean() != channel->EPGEnabled() ||
- item->GetProperty(PROPERTY_CHANNEL_ICON).asString() != channel->ClientIconPath() ||
+ item->GetProperty(PROPERTY_CHANNEL_ICON).asString() != channel->IconPath() ||
item->GetProperty(PROPERTY_CHANNEL_CUSTOM_ICON).asBoolean() != channel->IsUserSetIcon() ||
item->GetProperty(PROPERTY_CHANNEL_EPG_SOURCE).asInteger() != 0 ||
item->GetProperty(PROPERTY_CHANNEL_LOCKED).asBoolean() != channel->IsLocked() ||