added parser to config and register on startup

This commit is contained in:
2018-12-28 23:49:13 +01:00
parent 1df7934e8a
commit 85d07d12ab
4 changed files with 40 additions and 6 deletions

View File

@@ -2,7 +2,14 @@ namespace Tv7Playlist
{
public class AppConfig
{
public enum SourceTypeEnum
{
M3U,
XSPF
}
public string TV7Url { get; set; }
public SourceTypeEnum SourceType { get; set; }
public string UdpxyUrl { get; set; }
public string DownloadFileName { get; set; }
}