- Panasonic LS 500 / LX 700 series: support for new firmware which doesn't export a hotel.bin file.

- Loewe servicelist.xml (and maybe some other .xml files) larger than 2 000 000 bytes were
  not loaded.
- Enigma/Linux lists can now also be opened by selecting a .tv or .radio file (not just lamedb)
This commit is contained in:
Horst Beham
2023-06-01 11:11:33 +02:00
parent 072d9b2502
commit 68d3fc4963
12 changed files with 41 additions and 15 deletions

View File

@@ -1,4 +1,5 @@
using ChanSort.Api;
using System.IO;
using ChanSort.Api;
namespace ChanSort.Loader.Enigma2
{
@@ -6,10 +7,13 @@ namespace ChanSort.Loader.Enigma2
{
public string DllName { get; set; }
public string PluginName => "Enigma2 (Linux Receiver)";
public string FileFilter => "lamedb";
public string FileFilter => "lamedb;*.tv;*.radio";
public SerializerBase CreateSerializer(string inputFile)
{
var ext = Path.GetExtension(inputFile).ToLowerInvariant();
if (ext == ".tv" || ext == ".radio")
inputFile = Path.Combine(Path.GetDirectoryName(inputFile) ?? "", "lamedb");
return new Serializer(inputFile);
}
}

View File

@@ -38,6 +38,8 @@ namespace ChanSort.Loader.Enigma2
this.Features.CanSkipChannels = false;
this.Features.CanLockChannels = false;
this.Features.CanHideChannels = false;
this.Features.CanHaveGaps = false;
this.Features.AllowGapsInFavNumbers = false;
this.Features.FavoritesMode = FavoritesMode.MixedSource;
this.Features.MaxFavoriteLists = 0; // dynamically added