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
|
|
|
|
|
|
public class HisSerializerPlugin : ISerializerPlugin
|
|
|
|
|
|
{
|
2015-11-25 23:19:39 +01:00
|
|
|
|
public string PluginName => "Hisense *.db";
|
|
|
|
|
|
public string FileFilter => "channel.db";
|
2015-09-24 12:46:52 +02:00
|
|
|
|
|
|
|
|
|
|
#region CreateSerializer()
|
|
|
|
|
|
public SerializerBase CreateSerializer(string inputFile)
|
|
|
|
|
|
{
|
|
|
|
|
|
return new HisSerializer(inputFile);
|
|
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|
|
|
|
|
|
}
|