Front panel channel number

There are 6 replies in this Thread which was already clicked 767 times. The last Post () by KiddaC.

  • Hi. I am using zgemma box with ATV firmware.
    I need to know how to change front panel channel numbers from 0001 to 1. I want to remove unnecessary zeros from front display.


    Wysłane z mojego HTC U Ultra przy użyciu Tapatalka

  • I am pretty sure it will be coded into the main source code. It would have to be amended before the main the source is compiled into an image.

    I don't think it is something that can be changed afterwards.

    I may be wrong, but through my delving through all the screens for my skinning work, I have never found anywhere this can be changed.


    Not so long ago, I tried changing what was displayed on the front panel due to a bug in my dinobot display. I found where I assumed the correct place to edit it was (I have forgotten now), but what ever I changed it to, never displayed and just got overwritten by the software.


    One of the more hands on team developers might be able to correctly answer your question, but I still don't think it can be done.

    ** A person who feels appreciated will always do more than what is expected **

  • Ok..Thank you. I noticed when I switch channel by numeric keypad, channel number is displayed without a zeros till one second, however when I am switching by zap, all time with zero prefix. I am thinking about remove XML skin file then use some plugin from old device from openpli, but it is plugin for SH , and zgemma it is MIPS .


    Wysłane z mojego HTC U Ultra przy użyciu Tapatalka

  • Just had a nosey around my box.


    in


    /usr/lib/python/Components/Renderer/FrontpanelLed.py


    it has this code.

    Code
    if self.which == 0:
    if path.exists("/proc/stb/fp/led_set_pattern"):
    f = open("/proc/stb/fp/led_set_pattern", "w")
    f.write("%08x" % pattern_4bit)
    f.close()


    The line there looks likely to be of some relevance.

    basically that looks likes it print 4 digits and the %08x is prefixing it with zeros. What it effects, I have no idea.


    Here are some other reference points to maybe assist with your solution.

    https://github.com/openatv/enigma2/blob/6.2/lib/gdi/lcd.cpp

    https://github.com/openatv/eni…/python/Components/Lcd.py

    https://github.com/openatv/eni…Renderer/FrontpanelLed.py


    But I can offer no other help. It's beyond my skill level.

    ** A person who feels appreciated will always do more than what is expected **

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!