- added Accessibility menu

- addes support for LG LH250C
This commit is contained in:
hbeham
2014-07-08 22:16:16 +02:00
parent df4954437c
commit 709190eb5c
8 changed files with 852 additions and 106 deletions

View File

@@ -323,6 +323,39 @@
offServiceType = 134
offAudioPid2 = 178
[ACTChannelDataMapping:184LH250]
; LH250C
reorderChannelData = 1
lenName = 40
offSignalSource = 8
offChannelTransponder = 10, 90, 128
offProgramNr = 12
offProgramNrPreset = 14, 126
offFavorites = 20
offPcrPid = 22, 176
offAudioPid = 24
offVideoPid = 26
offName = 32, 136
offNameLength = 72, 135
offServiceId = 74, 132
offFrequencyLong = 92
offOriginalNetworkId = 98
offTransportStreamId = 100
offProgramNr2 = 126
offFavorites2 = 130
offDeleted = 130
maskDeleted = 0x42
offLock = 131
maskLock = 0x01
offSkip = 131
maskSkip = 0x02
offHide = 131
maskHide = 0x04
offProgNrCustomized = 131
maskProgNrCustomized = 0x40
offServiceType = 134
offAudioPid2 = 178
[ACTChannelDataMapping:180]
; PT
reorderChannelData = 1

View File

@@ -12,7 +12,7 @@ namespace ChanSort.Loader.LG
{
public partial class TllFileSerializer : SerializerBase
{
enum SpecialHandlingModels { Standard, LH3000, PN, LP, LT };
enum SpecialHandlingModels { Standard, LH3000, LH250, PN, LP, LT };
private const long DVBS_S2 = 0x0032532D53425644; // reverse of "DVBS-S2\0"
private const long MaxFileSize = 2000000;
@@ -134,7 +134,9 @@ namespace ChanSort.Loader.LG
public override void Load()
{
string basename = (Path.GetFileNameWithoutExtension(this.FileName) ?? "").ToUpper();
if (basename.StartsWith("XXLH3000"))
if (basename.StartsWith("XXLH250"))
this.specialModel = SpecialHandlingModels.LH250;
else if (basename.StartsWith("XXLH3000"))
this.specialModel = SpecialHandlingModels.LH3000;
else if (basename.StartsWith("XXPN"))
this.specialModel = SpecialHandlingModels.PN;
@@ -313,7 +315,9 @@ namespace ChanSort.Loader.LG
private DataMapping GetActChannelMapping(int recordSize)
{
var key = recordSize.ToString();
if (this.specialModel == SpecialHandlingModels.LH3000)
if (this.specialModel == SpecialHandlingModels.LH250)
key += "LH250";
else if (this.specialModel == SpecialHandlingModels.LH3000)
key += "LH3000";
else if (this.specialModel == SpecialHandlingModels.PN)
key += "PN";

View File

@@ -123,9 +123,17 @@
this.miRenum = new DevExpress.XtraBars.BarButtonItem();
this.miRenumFavByPrNr = new DevExpress.XtraBars.BarButtonItem();
this.mnuFavSet = new DevExpress.XtraBars.BarSubItem();
this.miFavSet = new DevExpress.XtraBars.BarListItem();
this.miFavASet = new DevExpress.XtraBars.BarButtonItem();
this.miFavBSet = new DevExpress.XtraBars.BarButtonItem();
this.miFavCSet = new DevExpress.XtraBars.BarButtonItem();
this.miFavDSet = new DevExpress.XtraBars.BarButtonItem();
this.miFavESet = new DevExpress.XtraBars.BarButtonItem();
this.mnuFavUnset = new DevExpress.XtraBars.BarSubItem();
this.miFavUnset = new DevExpress.XtraBars.BarListItem();
this.miFavAUnset = new DevExpress.XtraBars.BarButtonItem();
this.miFavBUnset = new DevExpress.XtraBars.BarButtonItem();
this.miFavCUnset = new DevExpress.XtraBars.BarButtonItem();
this.miFavDUnset = new DevExpress.XtraBars.BarButtonItem();
this.miFavEUnset = new DevExpress.XtraBars.BarButtonItem();
this.miLockOn = new DevExpress.XtraBars.BarButtonItem();
this.miLockOff = new DevExpress.XtraBars.BarButtonItem();
this.miSkipOn = new DevExpress.XtraBars.BarButtonItem();
@@ -144,6 +152,13 @@
this.miCharsetForm = new DevExpress.XtraBars.BarButtonItem();
this.miIsoCharSets = new DevExpress.XtraBars.BarListItem();
this.miShowWarningsAfterLoad = new DevExpress.XtraBars.BarCheckItem();
this.barSubItem3 = new DevExpress.XtraBars.BarSubItem();
this.miGotoInputSource = new DevExpress.XtraBars.BarButtonItem();
this.miGotoFavList = new DevExpress.XtraBars.BarButtonItem();
this.miGotoLeftFilter = new DevExpress.XtraBars.BarButtonItem();
this.miGotoLeftList = new DevExpress.XtraBars.BarButtonItem();
this.miRightListFilter = new DevExpress.XtraBars.BarButtonItem();
this.miGotoRightList = new DevExpress.XtraBars.BarButtonItem();
this.mnuHelp = new DevExpress.XtraBars.BarSubItem();
this.miWiki = new DevExpress.XtraBars.BarButtonItem();
this.miOpenWebsite = new DevExpress.XtraBars.BarButtonItem();
@@ -863,7 +878,8 @@
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories"))),
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories1"))),
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories2"))),
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories3")))});
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories3"))),
((DevExpress.XtraBars.BarManagerCategory)(resources.GetObject("barManager1.Categories4")))});
this.barManager1.DockControls.Add(this.barDockControlTop);
this.barManager1.DockControls.Add(this.barDockControlBottom);
this.barManager1.DockControls.Add(this.barDockControlLeft);
@@ -898,9 +914,7 @@
this.miSort,
this.miRenum,
this.mnuFavSet,
this.miFavSet,
this.mnuFavUnset,
this.miFavUnset,
this.miLockOn,
this.miLockOff,
this.miSkipOn,
@@ -919,9 +933,26 @@
this.miPortuguese,
this.miAddFromRefList,
this.miPrint,
this.miRenumFavByPrNr});
this.miRenumFavByPrNr,
this.barSubItem3,
this.miGotoInputSource,
this.miGotoFavList,
this.miGotoLeftFilter,
this.miGotoLeftList,
this.miRightListFilter,
this.miGotoRightList,
this.miFavASet,
this.miFavBSet,
this.miFavCSet,
this.miFavDSet,
this.miFavESet,
this.miFavAUnset,
this.miFavBUnset,
this.miFavCUnset,
this.miFavDUnset,
this.miFavEUnset});
this.barManager1.MainMenu = this.bar1;
this.barManager1.MaxItemId = 64;
this.barManager1.MaxItemId = 83;
this.barManager1.ShowFullMenus = true;
//
// bar1
@@ -949,7 +980,8 @@
new DevExpress.XtraBars.LinkPersistInfo(this.miTvSettings),
new DevExpress.XtraBars.LinkPersistInfo(this.mnuOptions, true),
new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.mnuHelp, true),
new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem3, true),
new DevExpress.XtraBars.LinkPersistInfo(this.mnuHelp),
new DevExpress.XtraBars.LinkPersistInfo(this.miAbout)});
this.bar1.OptionsBar.AllowQuickCustomization = false;
this.bar1.OptionsBar.DisableClose = true;
@@ -1188,26 +1220,64 @@
this.mnuFavSet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.mnuFavSet.Id = 37;
this.mnuFavSet.ImageIndex = 13;
this.mnuFavSet.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.F));
this.mnuFavSet.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.miFavSet)});
new DevExpress.XtraBars.LinkPersistInfo(this.miFavASet),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavBSet),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavCSet),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavDSet),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavESet)});
this.mnuFavSet.Name = "mnuFavSet";
this.mnuFavSet.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu;
//
// miFavSet
// miFavASet
//
resources.ApplyResources(this.miFavSet, "miFavSet");
this.miFavSet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavSet.Id = 20;
this.miFavSet.Name = "miFavSet";
this.miFavSet.ShowNumbers = true;
this.miFavSet.Strings.AddRange(new object[] {
"A",
"B",
"C",
"D"});
this.miFavSet.ListItemClick += new DevExpress.XtraBars.ListItemClickEventHandler(this.miFavSet_ListItemClick);
resources.ApplyResources(this.miFavASet, "miFavASet");
this.miFavASet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavASet.Id = 73;
this.miFavASet.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D1));
this.miFavASet.Name = "miFavASet";
this.miFavASet.Tag = "A";
this.miFavASet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavSet_ItemClick);
//
// miFavBSet
//
resources.ApplyResources(this.miFavBSet, "miFavBSet");
this.miFavBSet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavBSet.Id = 74;
this.miFavBSet.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D2));
this.miFavBSet.Name = "miFavBSet";
this.miFavBSet.Tag = "B";
this.miFavBSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavSet_ItemClick);
//
// miFavCSet
//
resources.ApplyResources(this.miFavCSet, "miFavCSet");
this.miFavCSet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavCSet.Id = 75;
this.miFavCSet.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D3));
this.miFavCSet.Name = "miFavCSet";
this.miFavCSet.Tag = "C";
this.miFavCSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavSet_ItemClick);
//
// miFavDSet
//
resources.ApplyResources(this.miFavDSet, "miFavDSet");
this.miFavDSet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavDSet.Id = 76;
this.miFavDSet.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D4));
this.miFavDSet.Name = "miFavDSet";
this.miFavDSet.Tag = "D";
this.miFavDSet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavSet_ItemClick);
//
// miFavESet
//
resources.ApplyResources(this.miFavESet, "miFavESet");
this.miFavESet.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavESet.Id = 77;
this.miFavESet.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D5));
this.miFavESet.Name = "miFavESet";
this.miFavESet.Tag = "E";
this.miFavESet.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavSet_ItemClick);
//
// mnuFavUnset
//
@@ -1215,21 +1285,67 @@
this.mnuFavUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.mnuFavUnset.Id = 38;
this.mnuFavUnset.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.miFavUnset)});
new DevExpress.XtraBars.LinkPersistInfo(this.miFavAUnset),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavBUnset),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavCUnset),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavDUnset),
new DevExpress.XtraBars.LinkPersistInfo(this.miFavEUnset)});
this.mnuFavUnset.Name = "mnuFavUnset";
//
// miFavUnset
// miFavAUnset
//
resources.ApplyResources(this.miFavUnset, "miFavUnset");
this.miFavUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavUnset.Id = 21;
this.miFavUnset.Name = "miFavUnset";
this.miFavUnset.Strings.AddRange(new object[] {
"A",
"B",
"C",
"D"});
this.miFavUnset.ListItemClick += new DevExpress.XtraBars.ListItemClickEventHandler(this.miFavUnset_ListItemClick);
resources.ApplyResources(this.miFavAUnset, "miFavAUnset");
this.miFavAUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavAUnset.Id = 78;
this.miFavAUnset.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.D1));
this.miFavAUnset.Name = "miFavAUnset";
this.miFavAUnset.Tag = "A";
this.miFavAUnset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavUnset_ItemClick);
//
// miFavBUnset
//
resources.ApplyResources(this.miFavBUnset, "miFavBUnset");
this.miFavBUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavBUnset.Id = 79;
this.miFavBUnset.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.D2));
this.miFavBUnset.Name = "miFavBUnset";
this.miFavBUnset.Tag = "B";
this.miFavBUnset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavUnset_ItemClick);
//
// miFavCUnset
//
resources.ApplyResources(this.miFavCUnset, "miFavCUnset");
this.miFavCUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavCUnset.Id = 80;
this.miFavCUnset.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.D3));
this.miFavCUnset.Name = "miFavCUnset";
this.miFavCUnset.Tag = "C";
this.miFavCUnset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavUnset_ItemClick);
//
// miFavDUnset
//
resources.ApplyResources(this.miFavDUnset, "miFavDUnset");
this.miFavDUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavDUnset.Id = 81;
this.miFavDUnset.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.D4));
this.miFavDUnset.Name = "miFavDUnset";
this.miFavDUnset.Tag = "D";
this.miFavDUnset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavUnset_ItemClick);
//
// miFavEUnset
//
resources.ApplyResources(this.miFavEUnset, "miFavEUnset");
this.miFavEUnset.CategoryGuid = new System.Guid("d7eec464-59c9-4f45-88aa-602e64c81cc0");
this.miFavEUnset.Id = 82;
this.miFavEUnset.ItemShortcut = new DevExpress.XtraBars.BarShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.D5));
this.miFavEUnset.Name = "miFavEUnset";
this.miFavEUnset.Tag = "E";
this.miFavEUnset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miFavUnset_ItemClick);
//
// miLockOn
//
@@ -1407,6 +1523,73 @@
this.miShowWarningsAfterLoad.Id = 54;
this.miShowWarningsAfterLoad.Name = "miShowWarningsAfterLoad";
//
// barSubItem3
//
resources.ApplyResources(this.barSubItem3, "barSubItem3");
this.barSubItem3.Id = 64;
this.barSubItem3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.miGotoInputSource),
new DevExpress.XtraBars.LinkPersistInfo(this.miGotoFavList),
new DevExpress.XtraBars.LinkPersistInfo(this.miGotoLeftFilter),
new DevExpress.XtraBars.LinkPersistInfo(this.miGotoLeftList),
new DevExpress.XtraBars.LinkPersistInfo(this.miRightListFilter),
new DevExpress.XtraBars.LinkPersistInfo(this.miGotoRightList)});
this.barSubItem3.Name = "barSubItem3";
//
// miGotoInputSource
//
resources.ApplyResources(this.miGotoInputSource, "miGotoInputSource");
this.miGotoInputSource.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miGotoInputSource.Id = 65;
this.miGotoInputSource.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F1);
this.miGotoInputSource.Name = "miGotoInputSource";
this.miGotoInputSource.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miGotoInputSource_ItemClick);
//
// miGotoFavList
//
resources.ApplyResources(this.miGotoFavList, "miGotoFavList");
this.miGotoFavList.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miGotoFavList.Id = 66;
this.miGotoFavList.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F1));
this.miGotoFavList.Name = "miGotoFavList";
this.miGotoFavList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miGotoFavList_ItemClick);
//
// miGotoLeftFilter
//
resources.ApplyResources(this.miGotoLeftFilter, "miGotoLeftFilter");
this.miGotoLeftFilter.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miGotoLeftFilter.Id = 67;
this.miGotoLeftFilter.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F3);
this.miGotoLeftFilter.Name = "miGotoLeftFilter";
this.miGotoLeftFilter.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miGotoLeftFilter_ItemClick);
//
// miGotoLeftList
//
resources.ApplyResources(this.miGotoLeftList, "miGotoLeftList");
this.miGotoLeftList.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miGotoLeftList.Id = 69;
this.miGotoLeftList.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F4);
this.miGotoLeftList.Name = "miGotoLeftList";
this.miGotoLeftList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miGotoLeftList_ItemClick);
//
// miRightListFilter
//
resources.ApplyResources(this.miRightListFilter, "miRightListFilter");
this.miRightListFilter.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miRightListFilter.Id = 68;
this.miRightListFilter.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F5);
this.miRightListFilter.Name = "miRightListFilter";
this.miRightListFilter.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miRightListFilter_ItemClick);
//
// miGotoRightList
//
resources.ApplyResources(this.miGotoRightList, "miGotoRightList");
this.miGotoRightList.CategoryGuid = new System.Guid("9cf38b78-167f-4d95-b848-8a3c913209c4");
this.miGotoRightList.Id = 70;
this.miGotoRightList.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.F6);
this.miGotoRightList.Name = "miGotoRightList";
this.miGotoRightList.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.miGotoRightList_ItemClick);
//
// mnuHelp
//
resources.ApplyResources(this.mnuHelp, "mnuHelp");
@@ -1768,8 +1951,6 @@
private DevExpress.XtraEditors.Repository.RepositoryItemCheckedComboBoxEdit repositoryItemCheckedComboBoxEdit1;
private DevExpress.XtraBars.PopupMenu mnuContext;
private DevExpress.XtraBars.BarSubItem miEdit;
private DevExpress.XtraBars.BarListItem miFavSet;
private DevExpress.XtraBars.BarListItem miFavUnset;
private DevExpress.XtraBars.BarButtonItem miRemove;
private DevExpress.XtraBars.BarButtonItem miLockOn;
private DevExpress.XtraBars.BarButtonItem miLockOff;
@@ -1835,6 +2016,23 @@
private DevExpress.XtraBars.BarButtonItem miPrint;
private DevExpress.XtraGrid.Columns.GridColumn colProvider;
private DevExpress.XtraBars.BarButtonItem miRenumFavByPrNr;
private DevExpress.XtraBars.BarSubItem barSubItem3;
private DevExpress.XtraBars.BarButtonItem miGotoInputSource;
private DevExpress.XtraBars.BarButtonItem miGotoFavList;
private DevExpress.XtraBars.BarButtonItem miGotoLeftFilter;
private DevExpress.XtraBars.BarButtonItem miGotoLeftList;
private DevExpress.XtraBars.BarButtonItem miRightListFilter;
private DevExpress.XtraBars.BarButtonItem miGotoRightList;
private DevExpress.XtraBars.BarButtonItem miFavASet;
private DevExpress.XtraBars.BarButtonItem miFavBSet;
private DevExpress.XtraBars.BarButtonItem miFavCSet;
private DevExpress.XtraBars.BarButtonItem miFavDSet;
private DevExpress.XtraBars.BarButtonItem miFavESet;
private DevExpress.XtraBars.BarButtonItem miFavAUnset;
private DevExpress.XtraBars.BarButtonItem miFavBUnset;
private DevExpress.XtraBars.BarButtonItem miFavCUnset;
private DevExpress.XtraBars.BarButtonItem miFavDUnset;
private DevExpress.XtraBars.BarButtonItem miFavEUnset;
private DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1;
}
}

View File

@@ -25,7 +25,7 @@ namespace ChanSort.Ui
{
public partial class MainForm : XtraForm
{
public const string AppVersion = "v2014-06-10";
public const string AppVersion = "v2014-07-08";
private const int MaxMruEntries = 10;
@@ -298,14 +298,12 @@ namespace ChanSort.Ui
#region UpdateFavoritesEditor()
private void UpdateFavoritesEditor(Favorites favorites)
{
this.miFavSet.Strings.Clear();
this.miFavUnset.Strings.Clear();
this.repositoryItemCheckedComboBoxEdit1.Items.Clear();
this.repositoryItemCheckedComboBoxEdit2.Items.Clear();
byte mask = 0x01;
string regex = "[";
int favCount = 0;
for (int bit=0; bit<8; bit++, mask<<=1)
for (int bit=0; bit<5; bit++, mask<<=1)
{
if (((int) favorites & mask) != 0)
{
@@ -313,10 +311,6 @@ namespace ChanSort.Ui
this.repositoryItemCheckedComboBoxEdit1.Items.Add(c);
this.repositoryItemCheckedComboBoxEdit2.Items.Add(c);
regex += c;
string str = c.ToString();
this.miFavSet.Strings.Add(str);
this.miFavUnset.Strings.Add(str);
++favCount;
}
}
@@ -337,6 +331,7 @@ namespace ChanSort.Ui
this.subListIndex = 0;
}
this.grpSubList.Visible = this.dataRoot.SortedFavorites;
this.miGotoFavList.Enabled = this.dataRoot.SortedFavorites;
this.colOutFav.OptionsColumn.AllowEdit = !this.dataRoot.SortedFavorites;
this.colFavorites.OptionsColumn.AllowEdit = !this.dataRoot.SortedFavorites;
}
@@ -1511,6 +1506,42 @@ namespace ChanSort.Ui
}
#endregion
#region Accessibility
private void FocusRightList()
{
if (this.gviewRight.SelectedRowsCount > 0)
{
this.gviewRight.FocusedRowHandle = this.gviewRight.GetSelectedRows()[0];
this.gridRight.Focus();
}
}
private void FocusRightListFilter()
{
this.gviewRight.FocusedRowHandle = GridControl.AutoFilterRowHandle;
this.gviewRight.FocusedColumn = this.colName;
this.gridRight.Focus();
}
private void FocusLeftList()
{
if (this.gviewLeft.SelectedRowsCount > 0)
{
this.gviewLeft.FocusedRowHandle = this.gviewLeft.GetSelectedRows()[0];
this.gridLeft.Focus();
}
}
private void FocusLeftListFilter()
{
this.gviewLeft.FocusedRowHandle = GridControl.AutoFilterRowHandle;
this.gviewLeft.FocusedColumn = this.colOutName;
this.gridLeft.Focus();
}
#endregion
// UI events
#region MainForm_Load
@@ -1521,6 +1552,31 @@ namespace ChanSort.Ui
}
#endregion
#region ProcessCmdKey()
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
// select input source
if (keyData >= (Keys.Alt | Keys.D1) && keyData <= (Keys.Alt | Keys.D9))
{
int index = (int) keyData - (int) (Keys.Alt | Keys.D1);
if (index < this.tabChannelList.TabPages.Count)
this.tabChannelList.SelectedTabPageIndex = index;
return true;
}
// select program or fav list
if (keyData >= (Keys.Alt | Keys.Control | Keys.D0) && keyData <= (Keys.Alt | Keys.Control | Keys.D5))
{
int index = (int)keyData - (int)(Keys.Alt | Keys.Control | Keys.D0);
if (index < this.tabSubList.TabPages.Count)
this.tabSubList.SelectedTabPageIndex = index;
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
// -- menus
#region File menu
@@ -1624,14 +1680,16 @@ namespace ChanSort.Ui
this.TryExecute(this.RenumberSelectedChannels);
}
private void miFavSet_ListItemClick(object sender, ListItemClickEventArgs e)
private void miFavSet_ItemClick(object sender, ItemClickEventArgs e)
{
this.TryExecute(() => this.SetFavorite(this.miFavSet.Strings[e.Index], true));
string fav = e.Item.Tag as string;
this.SetFavorite(fav, true);
}
private void miFavUnset_ListItemClick(object sender, ListItemClickEventArgs e)
private void miFavUnset_ItemClick(object sender, ItemClickEventArgs e)
{
this.TryExecute(() => this.SetFavorite(this.miFavSet.Strings[e.Index], false));
string fav = e.Item.Tag as string;
this.SetFavorite(fav, false);
}
private void miLockOn_ItemClick(object sender, ItemClickEventArgs e)
@@ -1735,6 +1793,40 @@ namespace ChanSort.Ui
}
#endregion
#region Accessibility menu
private void miGotoInputSource_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.tabChannelList.Select);
}
private void miGotoFavList_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.tabSubList.Select);
}
private void miGotoLeftFilter_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.FocusLeftListFilter);
}
private void miGotoLeftList_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.FocusLeftList);
}
private void miRightListFilter_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.FocusRightListFilter);
}
private void miGotoRightList_ItemClick(object sender, ItemClickEventArgs e)
{
TryExecute(this.FocusRightList);
}
#endregion
// -- controls
#region picDonate_Click
@@ -2326,42 +2418,6 @@ namespace ChanSort.Ui
}
#endregion
#region ProcessCmdKey
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
switch (keyData)
{
case Keys.F3:
this.gviewLeft.FocusedRowHandle = GridControl.AutoFilterRowHandle;
this.gviewLeft.FocusedColumn = this.colOutName;
this.gridLeft.Focus();
return true;
case Keys.F4:
if (this.gviewLeft.SelectedRowsCount > 0)
{
this.gviewLeft.FocusedRowHandle = this.gviewLeft.GetSelectedRows()[0];
this.gridLeft.Focus();
}
return true;
case Keys.F5:
this.gviewRight.FocusedRowHandle = GridControl.AutoFilterRowHandle;
this.gviewRight.FocusedColumn = this.colName;
this.gridRight.Focus();
return true;
case Keys.F6:
if (this.gviewRight.SelectedRowsCount > 0)
{
this.gviewRight.FocusedRowHandle = this.gviewRight.GetSelectedRows()[0];
this.gridRight.Focus();
}
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
#region MainForm_FormClosing
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
{
@@ -2411,5 +2467,6 @@ namespace ChanSort.Ui
this.RefreshGrid(this.gviewLeft, this.gviewRight);
}
#endregion
}
}

View File

@@ -259,6 +259,33 @@
<data name="miShowWarningsAfterLoad.Hint" xml:space="preserve">
<value>Eventuelle Warnungen nach dem Laden einer TV-Datei automatisch anzeigen</value>
</data>
<data name="barSubItem3.Caption" xml:space="preserve">
<value>Einga&amp;behilfe</value>
</data>
<data name="miGotoInputSource.Caption" xml:space="preserve">
<value>&amp;Eingangsquelle auswählen</value>
</data>
<data name="miGotoInputSource.Hint" xml:space="preserve">
<value>Mit Alt+1 bis Alt+9 kann direkt eine Eingangsquelle ausgewählt werden</value>
</data>
<data name="miGotoFavList.Caption" xml:space="preserve">
<value>&amp;Favoritenliste auswählen</value>
</data>
<data name="miGotoFavList.Hint" xml:space="preserve">
<value>Mit Ctrl+Alt+0 bis Ctrl+Alt+5 kann zwischen der Programmliste und den Favoritenlisten gewechselt werden</value>
</data>
<data name="miGotoLeftFilter.Caption" xml:space="preserve">
<value>Filterzeile in der &amp;linken Liste</value>
</data>
<data name="miGotoLeftList.Caption" xml:space="preserve">
<value>Linke Liste</value>
</data>
<data name="miRightListFilter.Caption" xml:space="preserve">
<value>Filterzeile in der &amp;rechten Liste</value>
</data>
<data name="miGotoRightList.Caption" xml:space="preserve">
<value>Rechte Liste</value>
</data>
<data name="mnuHelp.Caption" xml:space="preserve">
<value>&amp;Hilfe</value>
</data>
@@ -307,6 +334,16 @@
bGUBAwALU3lzdGVtLkd1aWQBAgAAAAYDAAAAB09wdGlvbnME/P///wtTeXN0ZW0uR3VpZAsAAAACX2EC
X2ICX2MCX2QCX2UCX2YCX2cCX2gCX2kCX2oCX2sAAAAAAAAAAAAAAAgHBwICAgICAgICXJMOh9nzAkKc
WIeWYGkVXQEL
</value>
</data>
<data name="barManager1.Categories4" type="DevExpress.XtraBars.BarManagerCategory, DevExpress.XtraBars.v13.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFCYXJzLnYxMy4yLCBWZXJzaW9uPTEz
LjIuOS4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAA
ACZEZXZFeHByZXNzLlh0cmFCYXJzLkJhck1hbmFnZXJDYXRlZ29yeQMAAAAETmFtZQRHdWlkB1Zpc2li
bGUBAwALU3lzdGVtLkd1aWQBAgAAAAYDAAAADUFjY2Vzc2liaWxpdHkE/P///wtTeXN0ZW0uR3VpZAsA
AAACX2ECX2ICX2MCX2QCX2UCX2YCX2cCX2gCX2kCX2oCX2sAAAAAAAAAAAAAAAgHBwICAgICAgICeIvz
nH8WlU24SIo8kTIJxAEL
</value>
</data>
<data name="miMoveUp.Caption" xml:space="preserve">

View File

@@ -464,14 +464,38 @@
<data name="mnuFavSet.Caption" xml:space="preserve">
<value>Add to &amp;Favorites</value>
</data>
<data name="miFavSet.Caption" xml:space="preserve">
<value>Add to favorites</value>
<data name="miFavASet.Caption" xml:space="preserve">
<value>Set &amp;A</value>
</data>
<data name="miFavBSet.Caption" xml:space="preserve">
<value>Set &amp;B</value>
</data>
<data name="miFavCSet.Caption" xml:space="preserve">
<value>Set &amp;C</value>
</data>
<data name="miFavDSet.Caption" xml:space="preserve">
<value>Set &amp;D</value>
</data>
<data name="miFavESet.Caption" xml:space="preserve">
<value>Set &amp;E</value>
</data>
<data name="mnuFavUnset.Caption" xml:space="preserve">
<value>Remove from Favorites</value>
</data>
<data name="miFavUnset.Caption" xml:space="preserve">
<value>Favoriten entfernen</value>
<data name="miFavAUnset.Caption" xml:space="preserve">
<value>Unset &amp;A</value>
</data>
<data name="miFavBUnset.Caption" xml:space="preserve">
<value>Unset &amp;B</value>
</data>
<data name="miFavCUnset.Caption" xml:space="preserve">
<value>Unset &amp;C</value>
</data>
<data name="miFavDUnset.Caption" xml:space="preserve">
<value>Unset &amp;D</value>
</data>
<data name="miFavEUnset.Caption" xml:space="preserve">
<value>Unset &amp;E</value>
</data>
<data name="miLockOn.Caption" xml:space="preserve">
<value>&amp;Lock channel: on</value>
@@ -530,6 +554,33 @@
<data name="miShowWarningsAfterLoad.Caption" xml:space="preserve">
<value>Show warnings after loading file</value>
</data>
<data name="barSubItem3.Caption" xml:space="preserve">
<value>&amp;Accessibility</value>
</data>
<data name="miGotoInputSource.Caption" xml:space="preserve">
<value>&amp;Input source selection</value>
</data>
<data name="miGotoInputSource.Hint" xml:space="preserve">
<value>Press Alt+1 to Alt+9 to select a specific input source</value>
</data>
<data name="miGotoFavList.Caption" xml:space="preserve">
<value>&amp;Favorite list selection</value>
</data>
<data name="miGotoFavList.Hint" xml:space="preserve">
<value>Press Ctrl+Alt+0 to Ctrl+Alt+5 to switch between program and favorite lists</value>
</data>
<data name="miGotoLeftFilter.Caption" xml:space="preserve">
<value>&amp;Left list filter</value>
</data>
<data name="miGotoLeftList.Caption" xml:space="preserve">
<value>Left list</value>
</data>
<data name="miRightListFilter.Caption" xml:space="preserve">
<value>&amp;Right list filter</value>
</data>
<data name="miGotoRightList.Caption" xml:space="preserve">
<value>Right list</value>
</data>
<data name="mnuHelp.Caption" xml:space="preserve">
<value>&amp;Help</value>
</data>
@@ -584,6 +635,16 @@
bGUBAwALU3lzdGVtLkd1aWQBAgAAAAYDAAAAB09wdGlvbnME/P///wtTeXN0ZW0uR3VpZAsAAAACX2EC
X2ICX2MCX2QCX2UCX2YCX2cCX2gCX2kCX2oCX2sAAAAAAAAAAAAAAAgHBwICAgICAgICXJMOh9nzAkKc
WIeWYGkVXQEL
</value>
</data>
<data name="barManager1.Categories4" type="DevExpress.XtraBars.BarManagerCategory, DevExpress.XtraBars.v13.2" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAF1EZXZFeHByZXNzLlh0cmFCYXJzLnYxMy4yLCBWZXJzaW9uPTEz
LjIuOS4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI4OGQxNzU0ZDcwMGU0OWEFAQAA
ACZEZXZFeHByZXNzLlh0cmFCYXJzLkJhck1hbmFnZXJDYXRlZ29yeQMAAAAETmFtZQRHdWlkB1Zpc2li
bGUBAwALU3lzdGVtLkd1aWQBAgAAAAYDAAAADUFjY2Vzc2liaWxpdHkE/P///wtTeXN0ZW0uR3VpZAsA
AAACX2ECX2ICX2MCX2QCX2UCX2YCX2cCX2gCX2kCX2oCX2sAAAAAAAAAAAAAAAgHBwICAgICAgICeIvz
nH8WlU24SIo8kTIJxAEL
</value>
</data>
<data name="barDockControlTop.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
@@ -1382,11 +1443,35 @@
<data name="&gt;&gt;mnuFavSet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarSubItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavSet.Name" xml:space="preserve">
<value>miFavSet</value>
<data name="&gt;&gt;miFavASet.Name" xml:space="preserve">
<value>miFavASet</value>
</data>
<data name="&gt;&gt;miFavSet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarListItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
<data name="&gt;&gt;miFavASet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavBSet.Name" xml:space="preserve">
<value>miFavBSet</value>
</data>
<data name="&gt;&gt;miFavBSet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavCSet.Name" xml:space="preserve">
<value>miFavCSet</value>
</data>
<data name="&gt;&gt;miFavCSet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavDSet.Name" xml:space="preserve">
<value>miFavDSet</value>
</data>
<data name="&gt;&gt;miFavDSet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavESet.Name" xml:space="preserve">
<value>miFavESet</value>
</data>
<data name="&gt;&gt;miFavESet.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;mnuFavUnset.Name" xml:space="preserve">
<value>mnuFavUnset</value>
@@ -1394,11 +1479,35 @@
<data name="&gt;&gt;mnuFavUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarSubItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavUnset.Name" xml:space="preserve">
<value>miFavUnset</value>
<data name="&gt;&gt;miFavAUnset.Name" xml:space="preserve">
<value>miFavAUnset</value>
</data>
<data name="&gt;&gt;miFavUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarListItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
<data name="&gt;&gt;miFavAUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavBUnset.Name" xml:space="preserve">
<value>miFavBUnset</value>
</data>
<data name="&gt;&gt;miFavBUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavCUnset.Name" xml:space="preserve">
<value>miFavCUnset</value>
</data>
<data name="&gt;&gt;miFavCUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavDUnset.Name" xml:space="preserve">
<value>miFavDUnset</value>
</data>
<data name="&gt;&gt;miFavDUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miFavEUnset.Name" xml:space="preserve">
<value>miFavEUnset</value>
</data>
<data name="&gt;&gt;miFavEUnset.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miLockOn.Name" xml:space="preserve">
<value>miLockOn</value>
@@ -1508,6 +1617,48 @@
<data name="&gt;&gt;miShowWarningsAfterLoad.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarCheckItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;barSubItem3.Name" xml:space="preserve">
<value>barSubItem3</value>
</data>
<data name="&gt;&gt;barSubItem3.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarSubItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miGotoInputSource.Name" xml:space="preserve">
<value>miGotoInputSource</value>
</data>
<data name="&gt;&gt;miGotoInputSource.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miGotoFavList.Name" xml:space="preserve">
<value>miGotoFavList</value>
</data>
<data name="&gt;&gt;miGotoFavList.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miGotoLeftFilter.Name" xml:space="preserve">
<value>miGotoLeftFilter</value>
</data>
<data name="&gt;&gt;miGotoLeftFilter.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miGotoLeftList.Name" xml:space="preserve">
<value>miGotoLeftList</value>
</data>
<data name="&gt;&gt;miGotoLeftList.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miRightListFilter.Name" xml:space="preserve">
<value>miRightListFilter</value>
</data>
<data name="&gt;&gt;miRightListFilter.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;miGotoRightList.Name" xml:space="preserve">
<value>miGotoRightList</value>
</data>
<data name="&gt;&gt;miGotoRightList.Type" xml:space="preserve">
<value>DevExpress.XtraBars.BarButtonItem, DevExpress.XtraBars.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;mnuHelp.Name" xml:space="preserve">
<value>mnuHelp</value>
</data>
@@ -1575,7 +1726,7 @@
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v13.2, Version=13.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="SharedImageCollection.Timestamp" type="System.DateTime, mscorlib">
<value>06/10/2014 17:55:01</value>
<value>07/08/2014 22:14:23</value>
</data>
<data name="SharedImageCollection.ImageSize" type="System.Drawing.Size, System.Drawing">
<value>16, 16</value>

View File

@@ -0,0 +1,261 @@
#include "tll-common.h"
#define MAX_SAT_COUNT 64
#define MAX_LNB_COUNT 40
#define MAX_DVBS_COUNT 7520
#define MAX_TP_COUNT 2400
struct LH184_AnalogChannel
{
byte t1[8];
TLL_SignalSource SignalSource;
byte t1b;
word ChannelTransponder1;
word ProgramNr;
word LogicalProgramNr1;
word t2[2];
byte Favorites1;
byte t2b;
word Frequency1Div50;
word APID1;
byte ChannelNumberInBand;
byte ChannelBand;
byte t3[4];
char CH_Name1[40];
byte CH_NameLength1;
byte t4[1];
word SID1;
byte t5a[14];
word ChannelTransponder2;
dword Frequency;
byte t6[2];
word ONID;
word TSID;
byte t7[22];
word ProgramNr2Times4;
word LogicalProgramNr2;
word ChannelTransponder4;
byte Favorites2;
byte LockSkipHide;
word SID2;
byte ServiceType;
byte CH_NameLength2;
char CH_Name2[40];
word Frequency2Div50;
word APID2;
byte t11[4];
};
struct LH184_DvbCtChannel
{
byte t1[8];
TLL_SignalSource SignalSource;
byte t1b;
word ChannelTransponder1;
word ProgramNr;
word LogicalProgramNr2;
word t2[2];
byte Favorites1;
byte t2d;
word PcrPid1;
word APID1;
word VPID1;
byte t3[4];
char CH_Name1[40];
byte CH_NameLength1;
byte t4;
word SID1;
byte t5a[14];
word ChannelTransponder2;
dword Frequency;
byte t6[2];
word ONID;
word TSID;
byte t7[22];
word ProgramNr2Times4;
word LogicalProgramNr2;
word ChannelTransponder4;
byte Favorites2;
byte LockSkipHide;
word SID2;
byte ServiceType;
byte CH_NameLength2;
char CH_Name2[40];
word PcrPid2;
word APID2;
byte t11[4];
};
struct LH184_AnalogBlock
{
dword BlockSize;
dword ChannelCount;
LH184_AnalogChannel Channels[ChannelCount];
};
struct LH184_FirmwareBlock
{
dword BlockSize;
byte Data[BlockSize];
};
struct LH184_DvbCTBlock
{
dword BlockSize;
dword ChannelCount;
LH184_DvbCtChannel Channels[ChannelCount];
};
struct LH184_DvbsHeaderSubblock
{
dword Crc32;
byte DVBS_S2_Tag[8];
word Temp03[2];
};
struct LH184_Satellite
{
char Name[32];
byte PosDeg;
byte PosCDeg;
word Unknown1;
word Unknown2;
word Unknown3;
word TransponderCount;
word Unknown4;
};
struct LH184_DvbsSatelliteSubblock
{
dword Crc32;
word Unknown1;
byte SatAllocationBitmap[MAX_SAT_COUNT/8];
word Unknown2;
word SatCount;
byte SatOrder[MAX_SAT_COUNT];
word Unknown3;
LH184_Satellite Satellites[MAX_SAT_COUNT];
};
struct LH184_Transponder
{
byte t1[10];
word TP_Number;
word TP_Freq;
byte t2[4];
word NID;
word TID;
byte t3[3];
word SRate;
byte t4[9];
byte SatIndexTimes2;
byte t5[3];
};
struct LH184_DvbsTransponderSubblock
{
dword Crc32;
word Unknown1;
word Unknown2;
word Unknown3;
word Unknown4;
word TransponderCount;
byte AllocationBitmap[MAX_TP_COUNT/8];
struct LH184_DvbsTransponderTable1
{
word Prev;
word Next;
word Current;
} TransponderTable1[MAX_TP_COUNT];
word Unknown5;
LH184_Transponder Transponder[MAX_TP_COUNT];
};
struct LH184_SatChannel
{
word LnbIndex;
byte t2[2];
TLL_SignalSource SignalSource;
word TP_Number;
byte t2b;
word CH_Number;
word CH_NumberFixed;
word TP_Number2;
byte t3b;
byte EditFlag;
word SID;
byte ServiceType;
byte CH_NameLength;
char CH_Name[40];
word VID;
word AID;
word t4;
byte t5[2];
};
struct LH184_DvbsChannelSubblock
{
dword Crc32;
word Unknown[2];
word LinkedListStartIndex;
word LinkedListEndIndex1;
word LinkedListEndIndex2;
word ChannelCount;
byte AllocationBitmap[MAX_DVBS_COUNT/8];
struct LH184_LinkedChannelList
{
word Prev;
word Next;
word Current;
word Zero;
} LinkedList[MAX_DVBS_COUNT];
LH184_SatChannel Channels[MAX_DVBS_COUNT];
};
struct LH184_Lnb
{
byte SettingsID;
byte t2[3];
byte SatelliteID;
byte t3[3];
char FrequenceName[12];
word LOF1;
byte t4[2];
word LOF2;
byte t5[18];
};
struct LH184_DvbsLnbSubblock
{
dword Crc32;
word Unknown1;
byte AllocationBitmap[5];
byte Unknown2;
LH184_Lnb Lnb[MAX_LNB_COUNT];
};
struct LH184_DvbSBlock
{
dword BlockSize;
LH184_DvbsHeaderSubblock HeaderBlock;
LH184_DvbsSatelliteSubblock SatelliteBlock;
LH184_DvbsTransponderSubblock TransponderBlock;
LH184_DvbsChannelSubblock ChannelBlock;
LH184_DvbsLnbSubblock LnbBlock;
};
struct LH184_SettingsBlock
{
dword BlockSize;
byte Data[BlockSize];
};
public struct LH184
{
byte Header[4];
LH184_AnalogBlock Analog;
LH184_FirmwareBlock Firmware;
LH184_DvbCTBlock DvbCT;
LH184_SettingsBlock Settings;
};

View File

@@ -1,9 +1,9 @@
Version v2014-06-10 =======================================================
Version v2014-07-08 =======================================================
Changes:
- fixed problem with incorrect favorites when applying a reference list
- added function "Edit / Renumber Favorites by Pr#" to use the same numbers
in all lists
- added Accessibility menu and hotkeys to directly select the input source
(Alt+1 to Alt+9) and the program/favorite lists (Ctrl+Alt+0, ...)
- addes support for LG LH250C
The complete change log can be found at the end of this document
@@ -117,7 +117,12 @@ OTHER DEALINGS IN THE SOFTWARE.
Change log ================================================================
2015-06-10
2014-07-08
- added Accessibility menu and hotkeys to directly select the input source
(Alt+1 to Alt+9) and the program/favorite lists (Ctrl+Alt+0, ...)
- addes support for LG LH250C
2014-06-10
- fixed problem with incorrect favorites when applying a reference list
- added function "Edit / Renumber Favorites by Pr#" to use the same numbers
in all lists