From c12dee25002c6646fb24e5c5d03970b9ec5f1e23 Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 2 Apr 2020 18:15:59 +0200
Subject: [PATCH] Added transition types.

---
 modules/base/enum.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/modules/base/enum.py b/modules/base/enum.py
index 5b73c2c7..d31a4a03 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
-- 
GitLab