Posts by iHavoc

    Download jane_t fanshim LE addon here GitHub - jane-t/rpi-fanshim: Add on for Kodi on Raspberry Pi to control the Pimoroni Fanshim allowing the CPU temperature to be used to turn the Fan on and off.

    Extract the zip and modify the following 3 lines in the addon.xml file so they look like below (lines 7, 8, and 9 in the addon.xml file)

    Code
            <import addon="xbmc.addon" version="14.0.1"/>
            <import addon="xbmc.python" version="3.0.0"/>
            <import addon="virtual.rpi-tools" version="9.80.3.107"/>

    Modify the service.py file and modify the following 2 lines so they look like below (lines 37 and 38 in the service.py file)

    Code
    datapath = xbmc.translatePath(selfAddon.getAddonInfo('profile'))
    addonfolder = xbmc.translatePath(selfAddon.getAddonInfo('path'))

    re-compress the folder rpi-fanshim-master to a zip file. The rpi-fanshim-master.zip when you browse into it must show a folder called rpi-fanshim-master and inside that folder will be the 5 files and 1 folder called resources.

    Upload the zip into your Kodi 19 Millhouse Alpha add-ons.

    I mainly use the basic music and movie/tv-show features in the Kodi from my own original media and I find the current build I am on works better with the RPi4 and wanted fanshim to work.

    This is the current milhouse build I am using - LibreELEC-RPi4.arm-9.80-Milhouse-20200427235841-#0427-gdfae527.tar

    Once again a huge thanks to jane_t for the fanshim script. and a huge thanks to milhouse for the work he does.

    Greg

    I built a raspbian buster on a RPi3 running MariaDB 10 and I cannot get either of my RPi4's to connect to the DB.

    logs are here Full Debug Logs

    Logs report

    Code
    2019-04-11 12:28:42.028 T:2875597680   ERROR: Unable to open database: MyMusic72 [2002](Can't connect to MySQL server on '192.168.1.23' (101))

    advancedsettings.xml below

    using heidiSQL on my desktop, I can reach and browse the RPi3 db using the same username/password kodi/kodi as in the advancedsettings.xml

    Desktop/ LE 9.2.1 / RPi3 MariaDB are all on the same VLAN. See image

    Tried with 2 RPi4's running LE 9.2.1 and both report the same cannot connect message in the logs.

    Any thoughts?

    Thanks,

    Greg

    So my problem is solved I believe. There was a firmware update for my TV, LG 55B7A that update from 05.80.50 to 05.80.55. That update fixed most of my playback issues, but some videos still had a slight lag (0.5 seconds) in video to audio, where before the video was lagging behind the audio by about 5 seconds. Then turning the setting on under Player to sync playback to display seems to have solved all my playback issues.

    Will still need to do some more testing but initial playback so far seems perfect.

    Does anyone have an idea of what is going on here or see anything in the debug log I posted? I now see this issue with a movie I ripped as well. Re-ripped the movie and confirmed no errors on rip using makemkv. Once again the movie plays fine from my other PI 4 and from my PC without issue.

    Any help here would be really appreciated.

    Thanks

    Greg

    Full debug logs here:

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Thanks,

    Greg

    Did some more testing and the problem stays with the LG TV. If I move the Rpi 4 connect to Panasonic TV where playback works the issue still exists in the LG TV. Tried different HDMI cables and switched to WiFi instead of Ethernet and nothing has resolved the issue.

    Would logs be of any use here? If so I'll grab them.

    Just so odd it's only this 1 TV show exhibiting the issue.

    Hi All,

    I just built 2 Raspberry Pi 4 Model B 4GB devices and running LibreElec 9.2.0 on both and updated the firmware on both (bootloader EEPROM and VIA USB3)

    Both Pi's connect to the same NAS over SMB, everything plays back fine on both devices except for 1 TV Show I ripped from the DVD I own. I can playback the rips fine from 1 Pi and from VLC on desktop with no issues both from my NAS.

    On the Pi 4 with the issue the audio is ahead of the video and the video is stuttering. On the same Pi with the issue I can playback 4k rips no issues and so far all other rips I have made, both 480 SD/1080P/4K. It is only with this 1 rip, which is a standard 480 SD. I have retried ripping 1 episode with a different drive but same results, everything plays back the rip normally but the 1 PI

    I have tried to disable MMAL hardware acceleration and the Adjust display refresh rate to start/stop with no change. I have also reinstalled Libreelec to the SD card with no change in playback.

    Problem setup -

    RPI 4 - 4GB, 1GB wired ethernet

    TV - LG OLED55B7A - 4K TV

    Samsung EVO Pro 32GB SD

    Working Setup

    RPI 4 - 4GB, 1GB Wired Ethernet

    TV Panasonic TC-P65VT50 - 1080P 3D TV

    Samsung EVO 32GB SD

    Any help would be appreciated.

    Thanks,

    Greg