mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-05 19:50:43 +01:00
- added support for 2016 Hisense channels.db SQLite file format
- DevExpress upgrade
This commit is contained in:
26
source/ChanSort.Loader.Hisense/HisDbSerializerPlugin.cs
Normal file
26
source/ChanSort.Loader.Hisense/HisDbSerializerPlugin.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
#define HISENSE_ENABLED
|
||||
|
||||
/*
|
||||
Support for the Hisense file format (Sep 2015) is currently disabled due to the risk of damaging the TV when
|
||||
users import files in an older/newer format than the currently installed firmware expects.
|
||||
*/
|
||||
|
||||
using ChanSort.Api;
|
||||
|
||||
namespace ChanSort.Loader.Hisense
|
||||
{
|
||||
#if HISENSE_ENABLED
|
||||
public class HisDbSerializerPlugin : ISerializerPlugin
|
||||
{
|
||||
public string PluginName => "Hisense *.db";
|
||||
public string FileFilter => "channel.db";
|
||||
|
||||
#region CreateSerializer()
|
||||
public SerializerBase CreateSerializer(string inputFile)
|
||||
{
|
||||
return new HisDbSerializer(inputFile);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user