Reply to thread

[USER=19448]@framug[/USER] we have in code this block: MediaPortal/MediaPortal-1

[CODE=csharp]        int level = _currentCard.SignalLevel;

        if (level < 0) level = 0;

        if (level > 100) level = 100;

        progressBarLevel.Value = level;[/CODE]

Maybe the signal level should always be normalized? And in the GUI, as far as I remember, it is always displayed within 0..100.


Top Bottom