mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-20 21:36:49 +01:00
".BIN" and ".BIN" to lowercase ".bin". - Philips: Removing a channel from a list is no longer possible (because it is not supported by the TV's import). When saving a file, all unsorted channels will be placed at the end of the list. - support for Philips Repair\mgr_chan_s_fta.db lists is now read-only. Files can be used as a reference list, but modifying them won't be possible.
21 lines
542 B
C#
21 lines
542 B
C#
using System.IO;
|
|
using ChanSort.Api;
|
|
|
|
namespace ChanSort.Loader.Toshiba
|
|
{
|
|
public class ToshibaPlugin : ISerializerPlugin
|
|
{
|
|
public string DllName { get; set; }
|
|
public string PluginName => "Toshiba (*.zip, settingsDB.db)";
|
|
public string FileFilter => "*.zip;*.db";
|
|
|
|
public SerializerBase CreateSerializer(string inputFile)
|
|
{
|
|
if (Path.GetExtension(inputFile).ToLowerInvariant() == ".db")
|
|
return new SettingsDbSerializer(inputFile);
|
|
else
|
|
return new ChmgtDbSerializer(inputFile);
|
|
}
|
|
}
|
|
}
|