mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-06 21:35:46 +02:00
- fixed application of .txt reference lists (which had no effect at all on philips lists)
- improved support for Vidaa 5.1 Hisense format
This commit is contained in:
@@ -48,16 +48,16 @@ left outer join Lcn l on l.ServiceId=fi.ServiceId and l.FavoriteId=fi.FavoriteId
|
||||
public string DvbServiceTable => "DigitalService";
|
||||
|
||||
public string SelectChannels => @"
|
||||
select fi.ServiceListId, fi.ServiceId, fi.ChannelNumber, 1, 1, 0, 0, l.Lcn
|
||||
select fi.ServiceListId, fi.ServiceId, fi.ChannelNumber, fi.ServiceItem3, fi.ServiceItem4, fi.ServiceItem6, fi.ServiceItem7, l.Lcn
|
||||
from ServiceItem fi
|
||||
left outer join Lcn l on l.ServiceId=fi.ServiceId and l.ServiceListId=fi.ServiceListId
|
||||
";
|
||||
|
||||
public string ShortName => "Name";
|
||||
public string ParentalLock => "0";
|
||||
public string ShortName => "Service9";
|
||||
public string ParentalLock => "0"; // supposedly "Service11", but that's not plausible
|
||||
public string UpdateService =>
|
||||
"update Service set Name=@name, Visible=@vis, Selectable=@sel where Pid=@servId";
|
||||
public string UpdateChannelItem => "update ServiceItem set ChannelNumber=@ch /*, isDeleted=@del, Protected=@prot, Selectable=@sel, Visible=@vis */ where ServiceListId=@favId and ServiceId=@servId";
|
||||
"update Service set Name=@name, Service9=@sname, Service11=@lock, Visible=@vis, /*Selectable=@sel,*/ Service16=@fav1, Service17=@fav2, Service18=@fav3, Service19=@fav4 where Pid=@servId";
|
||||
public string UpdateChannelItem => "update ServiceItem set ChannelNumber=@ch, ServiceItem6=@del, ServiceItem7=@prot, ServiceItem3=@sel, ServiceItem4=@vis where ServiceListId=@favId and ServiceId=@servId";
|
||||
public string DeleteChannelItem => "delete from ServiceItem where ServiceListId in (select Pid from ServiceList where name like 'FAV_')";
|
||||
public string InsertChannelItem => "insert into ServiceItem (ServiceListId, ServiceId, ChannelNumber) values (@favId, @servId, @ch)";
|
||||
|
||||
|
||||
@@ -539,6 +539,9 @@ left outer join {dbSchema.DvbServiceTable} digs on digs.ServiceId=s.Pid
|
||||
if (list.ReadOnly) // don't update read-only lists (i.e. containing LCNs)
|
||||
continue;
|
||||
|
||||
if (list.IsMixedSourceFavoritesList)
|
||||
continue;
|
||||
|
||||
// don't update the $all list directly. It will be updated while iterating all other lists
|
||||
var favId = entry.Key;
|
||||
if (favId == pidAll)
|
||||
|
||||
Reference in New Issue
Block a user