Basically it should open the dialog only if we're playing either TV or Radio (but not recordings or normal videos).
That means we have to enter the 'then' branch (and prevent it from opening) when it's not playing TV or Radio.
And ¬(p ∨ q) is equivalent to (¬p) ∧ (¬q), so it should be AND.

I've also retested it. If it would be changed to OR, we enter the 'then' branch when we're playing TV (because we're not playing radio at the same time).

Let me know if I miss something.