2015-11-25 23:19:39 +01:00
|
|
|
|
#define HISENSE_ENABLED
|
2015-09-24 12:46:52 +02:00
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
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
|
2016-04-16 20:01:51 +02:00
|
|
|
|
public class HisDbSerializerPlugin : ISerializerPlugin
|
2015-09-24 12:46:52 +02:00
|
|
|
|
{
|
2015-11-25 23:19:39 +01:00
|
|
|
|
public string PluginName => "Hisense *.db";
|
2016-04-27 19:03:50 +02:00
|
|
|
|
public string FileFilter => "channel*.db";
|
2015-09-24 12:46:52 +02:00
|
|
|
|
|
|
|
|
|
|
#region CreateSerializer()
|
|
|
|
|
|
public SerializerBase CreateSerializer(string inputFile)
|
|
|
|
|
|
{
|
2016-04-16 20:01:51 +02:00
|
|
|
|
return new HisDbSerializer(inputFile);
|
2015-09-24 12:46:52 +02:00
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|