Files
ChanSort/source/ChanSort.Loader.Toshiba/ToshibaPlugin.cs
Horst Beham 1b250b2a18 - ChanSort didn't work properly for Turkish (and other system locales) that don't translate ".bin" to uppercase
".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.
2021-08-31 22:13:28 +02:00

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);
}
}
}