- Philips: fixes for ChannelMap_100, 105 and 110 formats

- Philips: support for FLASH/*.bin DVB-T/C and preset DVB-S lists (mgr_chan_s_pkg.db)
- Toshiba: lists with chmgt_type001\\chmgt.bin can now be opened without zipping them
- Toshiba: selecting the hotelopt_type001.bin will now also load the list (if the type is supported)
- Alden: added support for "Alden" Android SmartTV channel list format (dvr_rtk_tv.db)
This commit is contained in:
Horst Beham
2021-09-06 20:42:45 +02:00
parent 79fb621d69
commit 9c2a7b9195
20 changed files with 796 additions and 98 deletions

View File

@@ -0,0 +1,23 @@
using System.IO;
using ChanSort.Api;
namespace ChanSort.Loader.Android
{
public class AndroidPlugin : ISerializerPlugin
{
public string DllName { get; set; }
public string PluginName => "Android (*.db)";
public string FileFilter => "*.db";
public SerializerBase CreateSerializer(string inputFile)
{
var file = Path.GetFileName(inputFile).ToLowerInvariant();
// dvr_rtk_tv.db known from "Alden"
if (file.StartsWith("dvr_rtk_tv") && file.EndsWith(".db"))
return new AldenSerializer(inputFile);
throw new FileLoadException(SerializerBase.ERR_UnknownFormat);
}
}
}