• 1
  • 20
  • 21
  • 22
  • 23(current)
  • 24
Release XBMC LCDproc Python addon
Question 
Hey,

does Kodi (m.e. the plugin) support Adafruits SSD1306 oleds with i2c interface?

Thanks for your help
Reply
Hello, I am working on some Orange PI based media player. I have already setup lcd, i am using 16x2 i2c lcd. Main problem i cannot set to show volume when changing volume.
Thanks in advanceBig Grin
Reply
I love this extension, and it is working without a hassle.

My LCD hardware is from cwlinux.com.
The lcdproc driver is CwLnx. This is not part of my Openelec/Kodi distribution, but I simply installed lcdproc on another Rpi2 running Raspbian, and copied /usr/lib/lcdproc/cwlnx.so into /storage/.config of my Openelec.
Then I started LCDd in /storage/.config/autostart.sh.

It is a CW12832 module, has a resolution of 128 by 32 pixels, and 4 lines of 21 characters.
It has hardware buttons : up, down, left, right, ok, cancel (i guess),
like you can see here: http://cwlinux.com/products/cw12832

Is there a chance to get it mapped into Kodi?

<edit>
See here for a help about this keypad:
http://cwlinux.com/sites/downloads/cw128...manual.pdf, on page 27, §5.3.3
</>

Regards,
Louis
Reply
I love this extension.

i have a modified driver for my 40x4 hd44780 display, this works without any problems.

only with this extension i cant seem to get any custom characters, except for the heartbeat.
using bargraph i only get the opening and ending, and instead of filling up the ending moves closer to the beginning.
and the play icon is just a black square.

is this because your extension doesnt work with this? or should i search for something in the sourcecode of lcdproc, maybe my driver is made in a newer version then the version in rasplex.
Reply
Hi
I was just wondering if development of this add-on is still on going? I've submitted a pull request at github (from http://github.com/ajw107/script.xbmc.lcdproc branch add_futaba_support), but notice that the last work done on this add-on was in 2014. Have I submitted the pull reequest to the right place (https://github.com/herrnst/script.xbmc.lcdproc)?
Reply
Hi,
I have a problem with the display of Polish characters. Could you add the code page for Polish characters? The best will be ISO 8859-2, but you can choose any other as well.
https://en.wikipedia.org/wiki/Polish_ort...r_encoding
Reply
I listen to internet radios a lot and the song name is mostly displayed as Artist - Song name and it does not fit to my 20x4 LCD's line I decided to split the text into 2 lines where Artist is on first line and Song name appears below on second line. It relies on existence of " - " in the line text.

I have tweaked the code, so if anyone is interested then I can share the new code. Best it would be to have it as an option in settings, but it would be something for the author of the add-on.

Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Reply
I have a RPi2 with LibreELEC installed and a HD44780 4x20 display. I use the "XBMC LCDproc" addon in version 2.6.0.

Everything worked fine till I updated to LibreELEC 8 (KODI 17). Now the display shows nothing. I can downgrade to LibreELEC 7 with KODI 16 and the displays works fine again. Upgrading to 8 again and the display stays dark. To be precise the display keeps on showing the last message (goodbye message) till I power off the RPi. After powering on again the display shows nothing.

I noticed that the LibreELEC configuration screen in version 8 is missing the LCD part. I searched the addons and installed "LCDproc" version 8.1.103 and configured it for a HD44780 controller. Sadly this did not help.
With LibreELEC 7 (KODI16) working perfectly it seems to me that the driver (hd44780.so) and the configuration (LCDd.conf) are OK.
Has anyone else this problem or has anyone a clue what to do to get the display working again?


EDIT:

With the LCDd not included anymore and installed as an addon I found two more LCDd.conf - files.
I found it in the Samba-Share: \Userdata\addon_data\service.lcdd\
and via SSH here: /storage/.kodi/addons/service.lcdd/config/

I made these changes to both files:

DriverPath=/storage/downloads/
(I first tried the orignal path with the includd drivers. Under "/storage/downloads/" is my hd44780.so which works with KODI 16 running on a RPi2/3.)
...
Driver=hd44780
...
ConnectionType=raspberrypi
D7=18
D6=23
D5=24
D4=25
RS=7
EN=8
...

The display is still not working.


Thank you!
Reply
A few tests later (still not working):

The LCDproc add-on for KODI 17 uses this config-file:
/storage/.kodi/userdata/addon_data/service.lcdd/LCDd.conf
(Samba-Share: \\<ip-address>\Userdata\addon_data\service.lcdd\LCDd.conf)
and not this on:
/storage/.kodi/addons/service.lcdd/config/LCDd.conf
and not the old one:
/storage/.config/LCDd.conf

I executed this: "/storage/.kodi/addons/service.lcdd/bin/lcdd.start"

With the hd44780.so driver included in the add-on LCDproc v8.1.103 i get this error-message:
Code:
check_board_rev: This board is not recognized as a Raspberry Pi!
Driver [hd44780] init failed, return code -1
Could not load driver hd44780
There is no output driver
Critical error while initializing, abort.

When I use the driver which works with Kodi 16 (DriverPath=/storage/downloads/) the first line is missing:
Code:
Driver [hd44780] init failed, return code -1
Could not load driver hd44780
There is no output driver
Critical error while initializing, abort.

At least my driver knows how a RPi looks like!
But I still down't know why it cannot initialize?!
Reply
Hi,

I'm very interested in a vacuum fluorescent display (VFD) for my HTPC.
Can you recommend some VFDs that are working with Kodi (LibreELEC), preferably 20x2 dot matrix?

I found Newhaven Display M0220MD-202MDAR1-3-ND
that looks very interesting but I do not know if it is working with lcdproc. Does anyone know?

The display can be connected by parallel or serial connector. There is a driver called serialVFD for lcdproc but the webpage http://lcdproc.sourceforge.net/docs/lcdp...lVFD-howto does not list any supported display from Newhaven Display. Should any VFD connected by serial connector work out of the box with that driver or does it need to be supported explicitly by lcdproc? Does anyone know?

Thanks!
Reply
I have a RPi3 (OS: LE8.0.1) with a HD44780 compatible 16x2 display.
I installed LCDproc from the LE addon repository.
Now, I got the display working with the GPIO but it's only showing the welcome message and the shutdown message. It would seem it's not reading LCD.xml or something?
I'm at a loss, am I missing something?
The only setting I can change in the GUI is choosing a HD44780 driver for the addon.
LCD.xml is located in "/storage/.kodi/userdata/"
Since I'm getting the welcome/shutdown messages the display should be hooked up correctly and "talking" with the Pi?
I'm sure it's some trivial detail that I'm missing?
Reply
I too have a adafruit 128x64 old display and need a hd44780.so for it.
Can please anyone help?
Reply
Hello,
i have an issue with Libreelec and with the LCD Display on a RPi2.
I use the Milhouse build #0209, because of Amazon prime and Netflix.
Since the build #1231 (2017) from Milhouse (New 4.14.10 kernel) the LCD shows always: 00:00 in screensaver mode

I have an RPi 2. The LCDd.conf:
## Hitachi HD44780 driver ##
[hd44780]
# Select what type of connection. See documentation for types.
ConnectionType=i2c
# Port where the LPT is. Usual value are: 0x278, 0x378 and 0x3BC
Port=0x3f
# Device of the serial interface [default: /dev/lcd]
Device=/dev/i2c-1

i tried this:
   <screensaver>
      <line>$INFO[LCD.Time41]</line>
      <line>$INFO[LCD.Time42]</line>
      <line>$INFO[LCD.Time43]</line>
      <line>$INFO[LCD.Time44]</line>
   </screensaver>

and this:
   <screensaver>
      <line>$INFO[System.CurrentWindow]</line>
      <line>$INFO[LCD.TimeWide21]</line>
      <line>$INFO[LCD.TimeWide22]</line>
      <line>Freemem: $INFO[System.FreeMemory]</line>
   </screensaver>

this is ok:
   <general>
      <line>XBMC running...</line>
      <line>$INFO[System.Time] $INFO[System.Date]</line>
      <line>Freemem: $INFO[System.FreeMemory]</line>
      <line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
   </general>

Milhouse rebuilt the lcdd addon. But nothing changed.
Hias said, that the same issue is in the Windows Version.
https://forum.kodi.tv/showthread.php?pid...pid2701429

I always have to replace the hd44780.so.
Because the new on wont work. (Maybe because of the parms i2c, can't remember)
I dont know, if that has something to do with that.

Any ideas to make it work again?
Reply
Hi @all, now it works. I didn't change anything.
Looks like, that the Addon autoupdate works ;-)
Reply
Librelec + LCDproc

Hello, I'm trying to setup my LCD screen (20x4, hd44750) to work with librelec (intel platform).
Hardware is ok, tested on another machine (hd44750 screen, lcd2usb interface and driver, connected via standard usb)

And... it actually works. At least LCDd server.
Display starts and shows "Welcome to LIBREELEC" message.
When I restart the addon - it shows also goodbye message.
But it's all I can see on the display. Nothing more is displayed in any mode/kodi section/anything.
As far as I understand, I have working LCDd server and no working client. And I don't know how to debug that case.

My config files are below. Most entries are copied from somewhere, but I have no idea how to fix it. Help please Smile

LCDd.conf
Code:
# LCDd.conf -- configuration file for the LCDproc server daemon LCDd
#
# This file contains the configuration for the LCDd server.
#
# The format is ini-file-like. It is divided into sections that start at
# markers that look like [section]. Comments are all line-based comments,
# and are lines that start with '#' or ';'.
#
# The server has a 'central' section named [server]. For the menu there is
# a section called [menu]. Further each driver has a section which
# defines how the driver acts.
#
# The drivers are activated by specifying them in a driver= line in the
# server section, like:
#
# Driver=curses
#
# This tells LCDd to use the curses driver.
# The first driver that is loaded and is capable of output defines the
# size of the display. The default driver to use is curses.
# If the driver is specified using the -d <driver> command line option,
# the Driver= options in the config file are ignored.
#
# The drivers read their own options from the respective sections.



## Server section with all kinds of settings for the LCDd server ##
[server]

# Where can we find the driver modules ?
# IMPORTANT: Make sure to change this setting to reflect your
# specific setup! Otherwise LCDd won't be able to find
# the driver modules and will thus not be able to
# function properly.
# NOTE: Always place a slash as last character !
DriverPath=/storage/.kodi/addons/service.lcdd/lib/lcdproc/

# Tells the server to load the given drivers. Multiple lines can be given.
# The name of the driver is case sensitive and determines the section
# where to look for further configuration options of the specific driver
# as well as the name of the dynamic driver module to load at runtime.
# The latter one can be changed by giving a File= directive in the
# driver specific section.
#
# The following drivers are supported:
# bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, EyeboxOne, futaba,
# g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,, IOWarrior,
# irman, joy, lb216, lcdm001, lcterm, linux_input, lirc, lis, MD8800,
# mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD,
# Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330,
# sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963,
# text, tyan, ula200, vlsys_m428, xosd, yard2LCD
Driver=hd44750

# Tells the driver to bind to the given interface. [default: 127.0.0.1]
Bind=127.0.0.1

# Listen on this specified port. [default: 13666]
Port=13666

# Sets the reporting level; defaults to warnings and errors only.
# [default: 2; legal: 0-5]
#ReportLevel=3

# Should we report to syslog instead of stderr? [default: no; legal: yes, no]
#ReportToSyslog=yes

# User to run as. LCDd will drop its root privileges and run as this user
# instead. [default: nobody]
User=nobody

# The server will stay in the foreground if set to yes.
# [default: no, legal: yes, no]
Foreground=no

# Hello message: each entry represents a display line; default: builtin
Hello="Welcome to"
Hello="LibreELEC"

# GoodBye message: each entry represents a display line; default: builtin
GoodBye="Thanks for using"
GoodBye="LibreELEC"

# Sets the default time in seconds to displays a screen. [default: 4]
WaitTime=4

# If set to no, LCDd will start with screen rotation disabled. This has the
# same effect as if the ToggleRotateKey had been pressed. Rotation will start
# if the ToggleRotateKey is pressed. Note that this setting does not turn off
# priority sorting of screens. [default: on; legal: on, off]
#AutoRotate=off

# If yes, the the serverscreen will be rotated as a usual info screen. If no,
# it will be a background screen, only visible when no other screens are
# active. The special value 'blank' is similar to no, but only a blank screen
# is displayed. [default: on; legal: on, off, blank]
ServerScreen=blank

# Set master backlight setting. If set to 'open' a client may control the
# backlight for its own screens (only). [default: open; legal: off, open, on]
Backlight=open

# Set master heartbeat setting. If set to 'open' a client may control the
# heartbeat for its own screens (only). [default: open; legal: off, open, on]
Heartbeat=open

# set title scrolling speed [default: 10; legal: 0-10]
TitleSpeed=4

# The "...Key=" lines define what the server does with keypresses that
# don't go to any client. The ToggleRotateKey stops rotation of screens, while
# the PrevScreenKey and NextScreenKey go back / forward one screen (even if
# rotation is disabled.
# Assign the key string returned by the driver to the ...Key setting. These
# are the defaults:
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right
#ScrollUpKey=Up
#ScrollDownKey=Down


## The menu section. The menu is an internal LCDproc client. ##
[menu]
# You can configure what keys the menu should use. Note that the MenuKey
# will be reserved exclusively, the others work in shared mode.

# Up to six keys are supported. The MenuKey (to enter and exit the menu), the
# EnterKey (to select values) and at least one movement keys are required.
# These are the default key assignments:
MenuKey=Escape
EnterKey=Enter
UpKey=Up
DownKey=Down
#LeftKey=Left
#RightKey=Right


### Driver sections are below this line, in alphabetical order ###

## Hitachi HD44780 driver ##
[hd44780]

# Select what type of connection. See documentation for available types.
ConnectionType=lcd2usb

# I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC.
# For I2C connections this sets the slave address (usually 0x20).
#Port=0x3BC

# Device of the serial, I2C, or SPI interface [default: /dev/lcd]
Device=/dev/i2c-0

# Bitrate of the serial port (0 for interface default)
Speed=0

# If you have a keypad connected.
# You may also need to configure the keypad layout further on in this file.
Keypad=no

# Set the initial contrast (bwctusb, lcd2usb, and usb4all)
# [default: 800; legal: 0 - 1000]
#Contrast=0

# Set brightness of the backlight (lcd2usb and usb4all):
# Brightness is the brightness while the backlight is set to 'on'.
# [default: 800; legal: 0 - 1000]
#Brightness=1000

# OffBrightness is the brightness while the backlight is set to 'off'.
# [default: 300; legal: 0 - 1000]
#OffBrightness=0

# If you have a switchable backlight.
Backlight=no

# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
Size=20x4

# Character map to to map ISO-8859-1 to the LCD's character set
# [default: hd44780_default; legal: hd44780_default, hd44780_euro, ea_ks0073,
# sed1278f_0b, hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5, upd16314 ]
# (hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if
# compiled with additional charmaps)
CharMap=hd44780_default

# You can reduce the inserted delays by setting this to false.
# On fast PCs it is possible your LCD does not respond correctly.
# Default: true.
DelayBus=true


# EOF

LCD.xml
Code:
<lcd>
<navigation>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[System.CurrentControl]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
<line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
</navigation>
<music>
<line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
<line>$INFO[MusicPlayer.Title]</line>
<line>$INFO[MusicPlayer.Artist]</line>
<line>$INFO[MusicPlayer.Album] ($INFO[MusicPlayer.Year])</line>
</music>
<video>
<line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
<line>$INFO[VideoPlayer.Title]</line>
<line>$INFO[VideoPlayer.Genre]</line>
<line>$INFO[LCD.ProgressBar]</line>
</video>
<tvshow>
<line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
<line>$INFO[VideoPlayer.TVShowTitle]</line>
<line>$INFO[VideoPlayer.Title]</line>
<line>$INFO[LCD.ProgressBar]</line>
</tvshow>
<general>
<line>KODI running...</line>
<line>$INFO[System.Time] $INFO[System.Date]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
<line>$INFO[System.ScreenWidth]x$INFO[System.ScreenHeight] $INFO[System.ScreenMode]</line>
</general>
<screensaver>
<line>$INFO[System.CurrentWindow]</line>
<line>$INFO[LCD.TimeWide21]</line>
<line>$INFO[LCD.TimeWide22]</line>
<line>Freemem: $INFO[System.FreeMemory]</line>
</screensaver>
<xbelaunch>
<line></line>
<line>Playing</line>
<line>$INFO[System.LaunchXBE]</line>
</xbelaunch>
<pvrtv>
<line>$INFO[VideoPlayer.ChannelName]</line>
<line>$INFO[VideoPlayer.Title]</line>
<line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
<line>$INFO[LCD.ProgressBar]</line>
</pvrtv>
<pvrradio>
<line>$INFO[MusicPlayer.ChannelName]</line>
<line>$INFO[MusicPlayer.Title]</line>
<line>$INFO[LCD.PlayIcon] $INFO[Player.Time]/$INFO[Player.Duration]</line>
<line>$INFO[LCD.ProgressBar]</line>
</pvrradio>
</lcd>

advancedsettings.xml
Code:
<advancedsettings>
<tvshowmatching>
<regexp>S([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
<regexp>S[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
<regexp>Staffel[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
<regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
<regexp>[\._ \-]()([0-9]+)(-[0-9]+)?</regexp>
</tvshowmatching>
<lcd>
<heartbeat>true</heartbeat>
<scrolldelay>3</scrolldelay>
<rows>4</rows>
<columns>20</columns>
</lcd>
<useddsfanart>true</useddsfanart>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<samba>
<clienttimeout>30</clienttimeout>
</samba>
<network>
<disableipv6>false</disableipv6>
</network>
</advancedsettings>
Reply
  • 1
  • 20
  • 21
  • 22
  • 23(current)
  • 24

Logout Mark Read Team Forum Stats Members Help
XBMC LCDproc Python addon2