djp952 / pvr.hdhomerundvr

Unofficial Kodi HDHomeRun DVR PVR Client
https://github.com/djp952/pvr.hdhomerundvr/wiki
Other
58 stars 9 forks source link

Module can't be loaded as a SQLite extension on Linux #91

Closed djp952 closed 2 years ago

djp952 commented 2 years ago

Noted on linux-armhf while debugging the SSL/TLS stuff. The ZIPFILE module fails to load on this platform and prevents the zuki.pvr.hdhomerundvr.so file from being used as a standalone SQLite extension.

djp952 commented 2 years ago

Fixed via https://github.com/djp952/pvr.hdhomerundvr/commit/39672f74873c9fb64f81fde0e7c81fa5f53df63d and backported to Matrix and Leia.

This appears to have been a compiler optimization problem? Accessing the result code in the sqlite_mprintf() for troubleshooting was all that was needed. Odd.