diff --git a/modules/base/enum.py b/modules/base/enum.py index 5b73c2c7c6ed36eb98a15bf4c0e1c3f193244fb6..d31a4a03317502d5b3612e830f1db95d8f4720af 100644 --- a/modules/base/enum.py +++ b/modules/base/enum.py @@ -92,6 +92,14 @@ class ChannelType(Enum): return str(self.value["id"]) +class TransitionType(Enum): + """ + Types of fade-in and fade-out transition. + """ + INSTANT = "instant" + FADE = "fade" + + class FallbackType(Enum): SHOW = "show" # the first played when the show playlist fails TIMESLOT = "timeslot" # the second played when timeslot fallback fails