mattblovell / kodi_panel

Front panel LCD display for Kodi (via JSON-RPC)
MIT License
12 stars 5 forks source link

Windows setup #50

Open rapteev opened 9 months ago

rapteev commented 9 months ago

Hi Sorry if it’s a stupid question. Can this be installed on windows? I run kodi on windows connected to a large 55 tv, my pc case as a built in 7” lcd/tft monitor. If possible I like to use the 7” lcd for this Thank you very much

mattblovell commented 5 months ago

My apologies for not seeing this issue when it was first opened.

The kodi_panel script itself is just Python, relying on other Python packages for graphics rendering and driving of an external display (whether SPI- or HDMI-attached). I think all of that can run on Windows, but I'm not sure about the display portion. I've only ever experimented using Linux on single-board computers.

In playing with various layout choices for a display (i.e., fonts, font sizes, positioning), I've made use of luma.core's demo capabilities, in which the display to which it is rendering is just another window. That runs fine under Python 3 installed on Windows. I don't have any experience beyond that, though.

It may be worth communicating with the luma developer.

mattblovell commented 5 months ago

The luma.core description implies it is Linux-only:

luma.core is a component library providing a Pillow-compatible drawing canvas for Python 3, and other functionality to support drawing primitives and text-rendering capabilities for small displays on the Raspberry Pi and other single board computers:

I don't know what would be required to have luma.core work with Windows (outside of the demo mode I mentioned) or if there's an equivalent way of handling the small, 7" in-case monitor.