exerimental support for Hisense's new channellist.db format

This commit is contained in:
hbeham
2017-03-31 16:55:37 +02:00
parent 09255695fc
commit 16b3f3fbc0
18 changed files with 1651 additions and 20 deletions

View 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 servicelist.db";
public string FileFilter => "servicelist*.db";
#region CreateSerializer()
public SerializerBase CreateSerializer(string inputFile)
{
return new HisDbSerializer(inputFile);
}
#endregion
}
#endif
}