mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 12:27:49 +02:00
- 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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user