mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-27 08:40:42 +01:00
- ignore GlobalClone*.tll
- fixes for Samsung B-series - unhandled exception handling
This commit is contained in:
@@ -5,7 +5,7 @@ namespace ChanSort.Loader.LG
|
||||
public class TllFileSerializerPlugin : ISerializerPlugin
|
||||
{
|
||||
public string PluginName { get { return "LG-Electronics *.tll"; } }
|
||||
public string FileFilter { get { return "*.TLL"; } }
|
||||
public string FileFilter { get { return "xx*.TLL"; } }
|
||||
|
||||
#region CreateSerializer()
|
||||
public SerializerBase CreateSerializer(string inputFile)
|
||||
|
||||
@@ -127,8 +127,8 @@
|
||||
offVideoPid = 2
|
||||
offPcrPid = 4
|
||||
offServiceId = 10
|
||||
offDeleted = 8
|
||||
maskDeleted = 0x01
|
||||
offDeleted = 7
|
||||
maskDeleted = 0x20
|
||||
offQam = 7
|
||||
offServiceType = 9
|
||||
offEncrypted = 23
|
||||
|
||||
@@ -14,6 +14,10 @@ namespace ChanSort.Loader.Samsung
|
||||
var signalSource = SignalSource.Digital;
|
||||
signalSource |= isCable ? SignalSource.Cable : SignalSource.Antenna;
|
||||
this.InitCommonData(slot, signalSource, data);
|
||||
|
||||
if (this.OldProgramNr == 0)
|
||||
return;
|
||||
|
||||
this.InitDvbData(data);
|
||||
|
||||
int transp = data.GetByte(_ChannelOrTransponder);
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace ChanSort.Ui
|
||||
{
|
||||
public partial class MainForm : XtraForm
|
||||
{
|
||||
public const string AppVersion = "v2013-07-22";
|
||||
public const string AppVersion = "v2013-??-??";
|
||||
|
||||
private const int MaxMruEntries = 5;
|
||||
|
||||
@@ -1302,6 +1302,8 @@ namespace ChanSort.Ui
|
||||
this.miTvSettings.Enabled = this.currentTvSerializer != null;
|
||||
this.miCleanupChannels.Visibility = this.currentTvSerializer != null &&
|
||||
this.currentTvSerializer.Features.CleanUpChannelData ? BarItemVisibility.Always : BarItemVisibility.Never;
|
||||
|
||||
this.txtSetSlot.Enabled = mayEdit;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace ChanSort.Ui
|
||||
@@ -12,11 +13,32 @@ namespace ChanSort.Ui
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||
Application.ThreadException += Application_ThreadException;
|
||||
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
|
||||
do
|
||||
{
|
||||
ChangeLanguage = false;
|
||||
Application.Run(new MainForm());
|
||||
} while (ChangeLanguage);
|
||||
}
|
||||
|
||||
private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
|
||||
{
|
||||
HandleException(e.Exception);
|
||||
}
|
||||
|
||||
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
HandleException(e.ExceptionObject as Exception);
|
||||
}
|
||||
|
||||
private static void HandleException(Exception ex)
|
||||
{
|
||||
MessageBox.Show(
|
||||
"Bei der Programmausführung trat folgender Fehler auf:\n" + (ex == null ? "(null)" : ex.ToString()),
|
||||
"Fehler bei Programmausführung", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
17
readme.txt
17
readme.txt
@@ -1,7 +1,11 @@
|
||||
Version v2013-07-23 ======================================================
|
||||
Version v2013-08-19 ======================================================
|
||||
|
||||
Changes:
|
||||
- Added support for LG LT-series (tested with xxLT380H)
|
||||
- Fixed loading Samsung B-series channel lists
|
||||
- Changed file filter for LG to "xx*.TLL" to exclude the GlobalClone*.TLL
|
||||
files of LA and LN series.
|
||||
- Fixed "New version available" info screen
|
||||
- Improved error handling
|
||||
|
||||
The complete change log can be found at the end of this document
|
||||
|
||||
@@ -42,7 +46,7 @@ Samsung
|
||||
|
||||
LG
|
||||
------
|
||||
Series: CS, DM, LA, LD, LE, LH, LK, LM*, LN, LS, LV, LW, LX, PM, PT
|
||||
Series: CS, DM, LA, LD, LE, LH, LK, LM*, LN, LS, LT, LV, LW, LX, PM, PT
|
||||
Lists: Analog TV, DTV (DVB-C, DVB-T), Radio (DVB-C/T), Sat-DTV (DVB-S2),
|
||||
Sat-Radio (DVB-S2)
|
||||
|
||||
@@ -107,6 +111,13 @@ OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Change log ================================================================
|
||||
|
||||
2013-08-19
|
||||
- Fixed loading Samsung B-series channel lists
|
||||
- Changed file filter for LG to "xx*.TLL" to exclude the GlobalClone*.TLL
|
||||
files of LA and LN series.
|
||||
- Fixed "New version available" info screen
|
||||
- Improved error handling
|
||||
|
||||
2013-07-23
|
||||
- Added support for LG LT-series (tested with xxLT380H)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user