2014-05-07, 21:31
possible to post issue at forum?
i use pvr.hts plugin, while change client ip address, some channel not updated
fix below
xbmc/xbmc/pvr/channels/PVRChannel.cpp
i use pvr.hts plugin, while change client ip address, some channel not updated
fix below
xbmc/xbmc/pvr/channels/PVRChannel.cpp
Code:
bool CPVRChannel::UpdateFromClient(const CPVRChannel &channel)
{
SetClientID(channel.ClientID());
SetClientChannelNumber(channel.ClientChannelNumber());
SetInputFormat(channel.InputFormat());
SetStreamURL(channel.StreamURL());
SetEncryptionSystem(channel.EncryptionSystem());
SetClientChannelName(channel.ClientChannelName());
CSingleLock lock(m_critSection);
- if (m_strChannelName.empty())
- SetChannelName(channel.ClientChannelName());
+ SetChannelName(channel.ChannelName());
if (m_strIconPath.empty()||(!m_strIconPath.Equals(channel.IconPath()) && !IsUserSetIcon()))
SetIconPath(channel.IconPath());
return m_bChanged;
}