EPG-Erinnerungen: Rechtsklick auf Sendung, Glocke-Indikator, MessageBox-Benachrichtigung

This commit is contained in:
administrator 2026-05-17 16:55:16 +02:00
parent faa852016d
commit 5bf1f06bfe
4 changed files with 175 additions and 0 deletions

16
Models/Reminder.cs Normal file
View file

@ -0,0 +1,16 @@
namespace FritzTV.Models;
public class Reminder
{
public Guid Id { get; set; } = Guid.NewGuid();
public required string ChannelName { get; set; }
public required string Title { get; set; }
public string Description { get; set; } = "";
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public int MinutesBefore { get; set; } = 5;
public bool Fired { get; set; } = false;
/// <summary>Zeitpunkt zu dem die Benachrichtigung ausgelöst wird</summary>
public DateTime NotifyAt => StartTime.AddMinutes(-MinutesBefore);
}