kodi-pvr / pvr.mythtv Goto Github PK
View Code? Open in Web Editor NEWMythTV PVR for Kodi
MythTV PVR for Kodi
Running the current version of Kodi, on Android (Sony TV), and also have it linked to my MythTV server.
Any time you push the power button for the TV, while Kodi is running - upon turning the TV back on, the screen starts flashing the MythTV Disconnected error message, followed by the MythTV Reconnected error message.
This loop repeats, for upward of 5 minutes, before it (apparently) has time to get through its entire backlog of disconnect / reconnect message, which each sit on the screen for ~ 5 seconds. Even when you are trying to watch something else, that isn't even coming from MythTV. There must be something on the order of 60 of these disconnect / reconnect message pairs in the queue for display.
The only way to stop this loop, is to exit Kodi, and relaunch it. Or, always exit Kodi before you turn off the TV.
Note that MythTV functions work perfectly fine, even while these silly error messages continue to flash on screen.
While, I think the handling of the messages on the Kodi side is buggy xbmc/xbmc#18163 they don't seem to agree - but do believe that the initiator for the messages is coming from the addon.
The addon seems to be getting confused about the state of the MythTV connection upon a power down / up.
Not sure if the addon needs some different logic to properly handle what happens when the TV turns off - I'm guessing some sort of sleep mode is triggered? Or perhaps, a delay in the disconnect / reconnect logic?
I can get logs from the addon when this happens, if that would help - if someone can tell me how to fetch the logs you need off of the Sony/Android tv.
I'm getting this error when trying to activate the add-on on my Mac OS X kodi... the relevant part of the kodi.log is this:
NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-02-17 18:44:34.972 T:4604845504 WARNING: CGUIMediaWindow::OnMessage - updating in progress
2020-02-17 18:44:35.069 T:123145323524096 ERROR: Unable to load /Users/fflores/Library/Application Support/Kodi/addons/pvr.mythtv/pvr.mythtv.5.10.15.dylib, reason: dlopen(/Users/fflores/Library/Application Support/Kodi/addons/pvr.mythtv/pvr.mythtv.5.10.15.dylib, 1): no suitable image found. Did find:
/Users/fflores/Library/Application Support/Kodi/addons/pvr.mythtv/pvr.mythtv.5.10.15.dylib: code signature in (/Users/fflores/Library/Application Support/Kodi/addons/pvr.mythtv/pvr.mythtv.5.10.15.dylib) not valid for use in process using Library Validation: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.
/Users/fflores/Library/Application Support/Kodi/addons/pvr.mythtv/pvr.mythtv.5.10.15.dylib: stat() failed with errno=84
2020-02-17 18:44:38.356 T:123145323524096 ERROR: UpdateAddons: Failed to create add-on MythTV PVR Client, status = 5
2020-02-17 18:44:56.472 T:123145322373120 WARNING: DARWINOSX: underflow (0 vs 4096 bytes)
Is there any workaround to deal with this issue?
[ 87%] Performing install step for 'binary-addons'
-- Bootstrapping pvr.mythtv addon...
-- Installing: /home/gus/git/xbmc/project/cmake/addons/addons/pvr.mythtv
-- Installing: /home/gus/git/xbmc/project/cmake/addons/addons/pvr.mythtv/pvr.mythtv.txt
-- Installing: /home/gus/git/xbmc/project/cmake/addons/addons/pvr.mythtv/platforms.txt
CMake Warning (dev) at /home/gus/git/xbmc/project/cmake/addons/bootstrap/bootstrap.cmake:25 (list):
Policy CMP0007 is not set: list command no longer ignores empty elements.
Run "cmake --help-policy CMP0007" for policy details. Use the cmake_policy
command to set the policy and suppress this warning. List has value =
[screensavers.rsxs;https://github.com/notspiff/screensavers.rsxs;3241d290917e99a3e88fca44e16d74c885a78b3d;].
This warning is for project developers. Use -Wno-dev to suppress it.
[100%] Completed 'binary-addons'
[100%] Built target binary-addons
CMake Error at CMakeLists.txt:394 (message):
pvr.mythtv: invalid or missing addon source directory at
/home/gus/git/xbmc/project/pvr.mythtv
-- Configuring incomplete, errors occurred!
See also "/home/gus/git/pvr.mythtv/build/CMakeFiles/CMakeOutput.log".
[gus@localhost build]$
Seems there is a problem with the xbmc compile options, but I really have no idea. Let me know if you need more attachments.
Updated to LibreELEC Milhouse build #1103 and got a crash on the first channel change.
Got a crash log http://pastebin.com/k0qkDzQ2
Has not happened again after the restart. So I can't/don't know how to reproduce.
Although channel and programme schedules work trying to stream live or recorded tv does not. You simple get a Channel Unavailable loop.
The current stable version of Mythtv is 0.30
According to https://github.com/kodi-pvr/pvr.mythtv/blob/master/pvr.mythtv/addon.xml.in, the current version is 5.0.7. Can you please tag this release?
Releases make things a lot easier for distributions (in my case, Gentoo) to package the add-on.
Thanks!
@janbar please see what's going on with your add-on. It won't compile on debian using debuild but I can't reproduce the error in my machine.
Build log is available at https://launchpadlibrarian.net/206802274/buildlog_ubuntu-vivid-amd64.kodi-pvr-mythtv_2.1.1-2~vivid_BUILDING.txt.gz
The only obvious thing is -DUSE_LTO=1 missing from debian/rules but adding it breaks build.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.