-
Notifications
You must be signed in to change notification settings - Fork 16
Description
In the present setup, if a cloud program plays it turns green, if it fails it turns red. Some programs however fail due to the absence of media and turn red but this is a dilemma: technically, the program succeeded because it was processed to the end according to the logic but content-wise, the program failed because nothing was played. The status field is a boolean (null -> not yet played, true-> played successfully, -> false).
In this task, make the status field an int with acceptable values (null-> not yet played, 0-> failed to play, 1-> played successfully, 2-> played successfully but no media was available) the color for this new state is grey and should be visible even for future programs. When rendering future programs, a program with no media to play should be grey, also, a program with status 2 should be grey