mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 12:16:31 +02:00
- merged projects so that there is one loader for each manufacturer
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
<Compile Include="Channel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Serializer.cs" />
|
||||
<Compile Include="SerializerPlugin.cs" />
|
||||
<Compile Include="GrundigPlugin.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ChanSort.Api\ChanSort.Api.csproj">
|
||||
|
||||
@@ -6,9 +6,6 @@ namespace ChanSort.Loader.Grundig
|
||||
internal class Channel : ChannelInfo
|
||||
{
|
||||
public readonly XmlNode Node;
|
||||
public string RawName;
|
||||
public string RawSatellite;
|
||||
public int Format;
|
||||
|
||||
internal Channel(SignalSource source, int order, int rowId, XmlNode node)
|
||||
{
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace ChanSort.Loader.Grundig
|
||||
{
|
||||
public class SerializerPlugin : ISerializerPlugin
|
||||
public class GrundigPlugin : ISerializerPlugin
|
||||
{
|
||||
public string DllName { get; set; }
|
||||
public string PluginName => "Grundig dvb?_config.xml";
|
||||
public string PluginName => "Grundig (dvb*_config.xml)";
|
||||
public string FileFilter => "*.xml";
|
||||
|
||||
public SerializerBase CreateSerializer(string inputFile)
|
||||
@@ -70,7 +70,7 @@ namespace ChanSort.Loader.Grundig
|
||||
this.LoadFile(fullPath);
|
||||
}
|
||||
if (this.fileDataList.Count == 0)
|
||||
throw new FileLoadException("No XML files found in folder structure");
|
||||
throw new FileLoadException("No dvb*_config.xml files found in folder structure");
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user