Online-Streams: OeR-TV + Webradio aus Assets-JSON, Sidebar-Kategorie, Settings-Toggle
This commit is contained in:
parent
7702330c9a
commit
a129f9b98e
9 changed files with 341 additions and 17 deletions
|
|
@ -5,6 +5,9 @@ namespace FritzTV.Models;
|
|||
|
||||
public enum ChannelKind { TvSd, TvHd, Radio }
|
||||
|
||||
/// <summary>Woher kommt der Sender? FritzBox (DVB-C/lokal) oder Online (HLS-Stream)</summary>
|
||||
public enum ChannelSource { FritzBox, Online }
|
||||
|
||||
public class Channel : INotifyPropertyChanged
|
||||
{
|
||||
public required string Name { get; init; }
|
||||
|
|
@ -12,6 +15,9 @@ public class Channel : INotifyPropertyChanged
|
|||
public required ChannelKind Kind { get; init; }
|
||||
public int Number { get; set; }
|
||||
|
||||
/// <summary>Quelle: lokale FritzBox oder Online-Stream. Default ist FritzBox (Abwärtskompatibilität).</summary>
|
||||
public ChannelSource Source { get; init; } = ChannelSource.FritzBox;
|
||||
|
||||
private bool _isFavorite;
|
||||
public bool IsFavorite
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue