Files
ersatztv/ErsatzTV.Core/Domain/ChannelOrigin.cs
T
timothyandtimothy 8b9a7ed541
Build ErsatzTV Image / API docs in sync (OpenAPI + endpoint index) (push) Has been skipped
Build ErsatzTV Image / Formatting (changed .cs conform to .editorconfig) (push) Has been skipped
Build ErsatzTV Image / EF migration integrity (SQLite + MySql) (push) Successful in 6m23s
Build ErsatzTV Image / Functional E2E (curl contracts) (push) Successful in 14m21s
Build ErsatzTV Image / Build & test (.NET) (push) Successful in 19m9s
Build ErsatzTV Image / Build & push image (amd64) (push) Successful in 12m1s
feat(414): stamp immutable Channel.Origin (auto-tuned vs user-created) and surface it (#575)
Co-authored-by: Timothy <timothy.look@gmail.com>
Co-committed-by: Timothy <timothy.look@gmail.com>
2026-07-23 18:12:25 +00:00

13 lines
530 B
C#

namespace ErsatzTV.Core.Domain;
// How a Channel row came to exist. This is immutable creation-provenance: it records how the channel
// was born and a later user edit never changes it. Unknown is the honest default for rows that predate
// this column — provenance was never recorded for them and is deliberately not back-filled (inferring it
// from the "Channel Lineups" system playlist group is the mislabeling heuristic #414 rejected).
public enum ChannelOrigin
{
Unknown = 0,
UserCreated = 1,
AutoTuned = 2
}