OLEDproc add-on

  • Congratulations - good job!

    I would probably figure it out in time too - I was actually getting close to it. Obviously, if I had a grayscale display available, it would be much faster.

    I still have a question for clarification - if you change the relevant line like this:

    self.device = driver(serial, width, height, rotate, mode = '1')

    then there is no need to comment the lines that are used to display the LE logo (as I wrote in the last post) and the LE logo is also displayed when the add-on is started?

  • It works with additional edit of lines.

    Thank you.

    As everything is concentrate on left side of the display, maybe some changes are required to extend the texts to all the space available.

    Maybe change the fonts?

    I will look about, but here I have none experience.

  • As everything is concentrate on left side of the display, maybe some changes are required to extend the texts to all the space available.

    I was worried that it might happen. Although during development I tried to do it independently of the specific resolution of the display, I probably still made a mistake, and somewhere the fixed width of 128 pixels is still calculated. I'll look into it, it shouldn't be hard to find.


    Now I looked at the picture from you more carefully and it's probably not like that. According to the time, the movie is about one quarter and the progressbar also occupies about one quarter of the display.

    Can you confirm that when there is some longer text than half of the display, it behaves normally and the text occupies the other half of the display as well?

    Scrolling should only occur if the text is longer than the full width of the display.

    There isn't much you can do with the font. It would look very unnatural if the width of the letter was the same as its height.

    Edited once, last by LuRu ().

  • Yes, display content is configured using LCD.xml. So it should be possible to add some information and thereby expand the text.

    The second option is to reduce the number of emulated lines in the addon configuration. This will make the font bigger.

  • I did change the font with arial bold, it is better now.

    On the one hand, this is very subjective, and on the other hand, there are copyrights. I hope you understand that I cannot (as part of my product) distribute the fonts covered by these rights.

    However, your initiative led me to one idea - to make the font not fixed, but user selectable. This means that each user can copy any number of fonts to the appropriate folder and then choose which font to use in the configuration dialog. I don't care where the user gets these fonts from.

    It is really easy:

    1) Create a fonts folder in the /storage/.kodi/userdata folder

    2) In the /storage/.kodi/userdata/fonts folder, create two subfolders regular and mono

    3) In the /storage/.kodi/userdata/fonts/regular folder, copy the regular fonts you want to try

    4) In the /storage/.kodi/userdata/fonts/mono folder, copy the fixed-width fonts you want to try

    5) In the configuration dialog of the add-on, select the fonts you want to use

    6) The change on the display will take place immediately (the add-on will automatically restart)


    I tried it on an Orange Pi PC board (I have it with me on vacation). I don't have an RPi with me, so I couldn't try the CM4 version. There were quite a lot of changes, so it's quite likely that I forgot about some change in the CM4 version.

  • Changing the fonts was a tentative to improve how a particular oled will show information and how much is visible from some distance.

    I did't think about copyrights, as I download the fonts free from internet.

    I understand your concern so to avoid any problem I will keep for myself any changes which may involve copyright issues.

    As Libreelec use fonts under public license, maybe a connection (symlink?) with the font folder is usefull.

  • 1. Can you please tell me if version 104 (for CM4) works without problems?

    2. Of course, LibreELEC has a folder with fonts. The path to them is /usr/share/fonts/liberation

    3. If version 104 works and the font selection also works, you can normally (using the configuration dialog) also select a font from the above folder (via the Root filesystem)

    4. Obviously, not every font that looks good on a monitor or TV screen looks equally good on an OLED display. That's why I think that the option to add more fonts to the menu will be useful (for example, I personally liked the Ubuntu font the most so far).

  • Hi LuRu,

    I put aside the project for a while waiting for a green oled. Now it comes and installed.

    I am still looking for the right font to be displayed in a 3 line configuration.

    I have some issues with scrolling, as the speed can not be configured, any value selected is the same speed.

    What can I do?

    To add information, I update to LE 11 and it works fine.

  • To respond to myself, the issue with scrolling speed was because I had 3 lines in LCD.xml, should be 4.

    Oledproc could be in 3 line configuration, and in this case the display will not show last line. Which is fine.