- printing support for channel/fav lists

- fixed: modified Panasonic channel names are now saved
- fixed: ClassCastException when saving Panasonic and Toshiba channel lists containing proxy-channels from a reference list
This commit is contained in:
hbeham
2013-11-23 15:09:20 +01:00
parent c8e5b98b47
commit 5de0ab8795
26 changed files with 1331 additions and 88 deletions

View File

@@ -594,8 +594,11 @@ order by s.ntype,major_channel
cmd.Parameters.Add(new SQLiteParameter("@lock", DbType.Int32));
cmd.Parameters.Add(new SQLiteParameter("@skip", DbType.Int32));
cmd.Prepare();
foreach (DbChannel channel in channelList.Channels)
foreach (ChannelInfo channelInfo in channelList.Channels)
{
var channel = channelInfo as DbChannel;
if (channel == null) // skip reference list proxy channels
continue;
if (channel.NewProgramNr < 0 || channel.OldProgramNr < 0)
continue;
channel.UpdateRawData();