Unofficial Kodi HDHomeRun DVR PVR Client

Kodi Community Development

Moderator: TVJunkie198

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: DVR PVR Client crashes Kodi

Postby djp952 » Wed May 01, 2019 8:40 pm

I just installed Kodi 18.2 and the latest DVR PVR Client on a Firestick TV for a friend who has a Prime 3 with a cable card. Kodi ran fine. After I installed the PVR Client, it started to pick up guide data and then Kodi crashed within seconds. Tried this on a new Firestick 4K, same problem. Tried going back to your apk build of 17.6 with the PVR Client bundled in. Same crash. Brought the Firestick to my house where I'm using a Quatro HDHomeRun tuner and it worked fine on 18.2 with the latest client (as do all of my firesticks). The HDHomeRun app works find at my friends house on the firestick. This friend had it all working last fall, but we took it out of service for a home remodel which is now done. FYI, the client is trying to pick up the guide data for about 80 channels.

Any ideas? I'll try to get a log file. I'm thinking I'll start it up, let it crash, then disconnect the Prime 3 tuner from the network and start it again. Hopefully it won't then crash and I can get the prior Kodi log....tomorrow.
The log will be the best bet, hopefully we can see how far it got before it died. Even if the log is incomplete due to crashing, I'm hoping we can find some type of bug that has been hiding for a while and has been exposed.

Did you perhaps try an older build, maybe prior to v2.0.0? v2 had a great deal of changes in it. To date, I've only found one issue that caused an exception (setting/clearing a channel as a Favorite or deleting it), but while I try to test everything every time, the track record appears to be that I will always miss something :(

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Wed May 01, 2019 8:46 pm

FYI for the Leia folks with the wacky guide problem ... I'm preparing a Pull Request for Kodi that I think will at minimum partially resolve the issue, if not completely resolve it. The code I am preparing specifically deals with a condition where new channels have been added while Kodi was offline, but I am hopeful that if accepted it will resolve the overall concern.

What I found was that Kodi initializes the EPG UI twice. The first time it will add dummy EPG data for newly added channels as "Gap entries" with a blank EPG, but the second time through it will not. This messes with all the channel offsets and for me here, leads to the corrupted EPG.

There is always some pushback from Team Kodi on my PRs, but I will keep at it and do whatever they want to get this put into the mainline Leia builds.

edit: https://github.com/xbmc/xbmc/pull/16033

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Thu May 02, 2019 4:08 pm

So I was able to get a copy of the kodi log, but I'm not sure it has much helpful info...I did disconnect the tuner (Prime 3) from the network and discovered that Kodi crashes about 6 seconds after it starts up whenever the PVR client is loaded....not really enough time to navigate in Kodi and do anything. This happens if if you don't open the client. It does NOT happen if you open Kodi on the same firestick when it is connected to my network and not my friends network....

Here is the log:

Code: Select all

2019-05-02 13:47:40.081 T:5343 NOTICE: ----------------------------------------------------------------------- 2019-05-02 13:47:40.082 T:5343 NOTICE: Starting Kodi (18.2 Git:20190422-f2643566d0). Platform: Android ARM 32-bit 2019-05-02 13:47:40.082 T:5343 NOTICE: Using Release Kodi x32 build 2019-05-02 13:47:40.082 T:5343 NOTICE: Kodi compiled 2019-04-22 by Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) for Android ARM 32-bit API level 21 (API level 21) 2019-05-02 13:47:40.082 T:5343 NOTICE: Running on Amazon AFTMM with Android 7.1.2 API level 25, kernel: Linux ARM 32-bit version 4.4.120+ 2019-05-02 13:47:40.084 T:5343 NOTICE: FFmpeg version/source: 4.0.3-Kodi 2019-05-02 13:47:40.084 T:5343 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available 2019-05-02 13:47:40.085 T:5343 NOTICE: Product: mantis, Device: mantis, Board: mantis - Manufacturer: Amazon, Brand: Amazon, Model: AFTMM, Hardware: mt8695 2019-05-02 13:47:40.091 T:5343 NOTICE: External storage path = /storage/emulated/0; status = ok 2019-05-02 13:47:40.092 T:5343 NOTICE: ARM Features: Neon enabled 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmc/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmcbin/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmcbinaddons/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons 2019-05-02 13:47:40.092 T:5343 NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata 2019-05-02 13:47:40.092 T:5343 NOTICE: special://envhome/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files 2019-05-02 13:47:40.092 T:5343 NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi 2019-05-02 13:47:40.092 T:5343 NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp 2019-05-02 13:47:40.092 T:5343 NOTICE: special://logpath/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp 2019-05-02 13:47:40.092 T:5343 NOTICE: The executable running is: /data/app/org.xbmc.kodi-1/lib/arm/libkodi.so 2019-05-02 13:47:40.234 T:5343 NOTICE: Local hostname: 192.168.2.155 2019-05-02 13:47:40.234 T:5343 NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log 2019-05-02 13:47:40.234 T:5343 NOTICE: ----------------------------------------------------------------------- 2019-05-02 13:47:40.239 T:5343 INFO: loading settings 2019-05-02 13:47:40.242 T:5343 NOTICE: special://profile/ is mapped to: special://masterprofile/ 2019-05-02 13:47:40.297 T:5343 DEBUG: CSkinSettings: no <skinsettings> tag found 2019-05-02 13:47:40.298 T:5343 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml) 2019-05-02 13:47:40.299 T:5343 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml) 2019-05-02 13:47:40.299 T:5343 NOTICE: Default Video Player: VideoPlayer 2019-05-02 13:47:40.299 T:5343 NOTICE: Default Audio Player: paplayer 2019-05-02 13:47:40.299 T:5343 NOTICE: Disabled debug logging due to GUI setting. Level 0. 2019-05-02 13:47:40.300 T:5343 NOTICE: Log level changed to "LOG_LEVEL_NORMAL" 2019-05-02 13:47:40.326 T:5343 NOTICE: Running database version Addons27 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: game.controller.default v1.0.8 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: game.controller.snes v1.0.8 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: inputstream.adaptive v2.3.17 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: kodi.resource v1.0.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.album.universal v3.1.2 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.artists.universal v4.3.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.allmusic.com v3.2.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.fanart.tv v3.6.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.2 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.themoviedb.org v3.1.9 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.local v1.0.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.themoviedb.org v5.1.7 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.1.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: peripheral.joystick v1.4.7 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: pvr.hdhomerundvr v2.0.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: repository.xbmc.org v3.1.5 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: resource.language.en_gb v2.0.1 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.32 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.54 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: script.module.pil v1.1.7 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: service.xbmc.versioncheck v0.4.6 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: skin.estouchy v2.0.23 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: skin.estuary v2.0.22 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.addon v18.2.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.core v0.1.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.gui v5.14.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.json v10.3.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.metadata v2.1.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.python v2.26.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed 2019-05-02 13:47:40.627 T:5351 NOTICE: Float is supported 2019-05-02 13:47:40.628 T:5351 NOTICE: Multi channel Float is supported 2019-05-02 13:47:40.933 T:5351 NOTICE: Found 1 Lists of Devices 2019-05-02 13:47:40.934 T:5351 NOTICE: Enumerated AUDIOTRACK devices: 2019-05-02 13:47:40.934 T:5351 NOTICE: Device 1 2019-05-02 13:47:40.934 T:5351 NOTICE: m_deviceName : AudioTrack 2019-05-02 13:47:40.934 T:5351 NOTICE: m_displayName : android 2019-05-02 13:47:40.934 T:5351 NOTICE: m_displayNameExtra: audiotrack 2019-05-02 13:47:40.934 T:5351 NOTICE: m_deviceType : AE_DEVTYPE_HDMI 2019-05-02 13:47:40.935 T:5351 NOTICE: m_channels : FL, FR, FC, LFE, SL, SR, BL, BR, BC, BLOC, BROC 2019-05-02 13:47:40.935 T:5351 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000 2019-05-02 13:47:40.935 T:5351 NOTICE: m_dataFormats : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW 2019-05-02 13:47:40.935 T:5351 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_EAC3 2019-05-02 13:47:40.935 T:5352 NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4 2019-05-02 13:47:40.944 T:5352 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 22688 m_frames: 1418 m_frameSize: 8 channels: 2 2019-05-02 13:47:41.028 T:5343 NOTICE: CDecoderFilter: loading filters from special://masterprofile/decoderfilter.xml 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG2 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.HEVC 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG4 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.H263 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.AVC 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VPX 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VP9 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STN 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STH 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVAV.SER 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.dolby.ac3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.dolby.eac3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.mp3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.amrnb.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.amrwb.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.aac.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.g711.alaw.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.g711.mlaw.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vorbis.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.opus.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.raw.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.mpeg2.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.mpeg4.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.h263.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.h264.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vp8.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vp9.decoder 2019-05-02 13:47:41.117 T:5343 NOTICE: CAndroidUtils: window resolution: 1920x1080 2019-05-02 13:47:41.117 T:5343 NOTICE: CAndroidUtils: Current resolution: 1920x1080 1920x1080 @ 59.939999 - Full Screen 2019-05-02 13:47:41.118 T:5343 NOTICE: Previous line repeats 1 times. 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_VERSION = 1.4 Android META-EGL 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_VENDOR = Android 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_EXTENSIONS = EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_partial_update EGL_EXT_buffer_age EGL_KHR_mutable_render_buffer EGL_EXT_yuv_surface 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_CLIENT_EXTENSIONS = NULL 2019-05-02 13:47:41.124 T:5343 NOTICE: Checking resolution 16 2019-05-02 13:47:41.127 T:5343 NOTICE: GL_VENDOR = Imagination Technologies 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_RENDERER = PowerVR Rogue GE8300 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_VERSION = OpenGL ES 3.2 build 1.9@4893595 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20 build 1.9@4893595 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_bindless_texture GL_IMG_framebuffer_downsample GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture 2019-05-02 13:47:41.686 T:5366 NOTICE: Running database version Addons27 2019-05-02 13:47:41.689 T:5366 NOTICE: Running database version ViewModes6 2019-05-02 13:47:41.693 T:5366 NOTICE: Running database version Textures13 2019-05-02 13:47:41.703 T:5366 NOTICE: Running database version MyMusic72 2019-05-02 13:47:41.716 T:5366 NOTICE: Running database version MyVideos116 2019-05-02 13:47:41.721 T:5366 NOTICE: Running database version TV32 2019-05-02 13:47:41.724 T:5366 NOTICE: Running database version Epg12 2019-05-02 13:47:41.842 T:5343 NOTICE: load skin from: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons/skin.estuary (version: 2.0.22) 2019-05-02 13:47:42.548 T:5343 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList" 2019-05-02 13:47:42.642 T:5343 NOTICE: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000) 2019-05-02 13:47:42.644 T:5343 NOTICE: Register - new mouse device registered on application->mouse: Mouse (0000:0000) 2019-05-02 13:47:42.704 T:5343 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml. 2019-05-02 13:47:42.706 T:5343 NOTICE: Loaded playercorefactory configuration 2019-05-02 13:47:42.719 T:5343 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml. 2019-05-02 13:47:42.719 T:5343 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping. 2019-05-02 13:47:42.820 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loading 2019-05-02 13:47:42.865 T:5343 NOTICE: initialize done 2019-05-02 13:47:42.865 T:5343 NOTICE: Running the application... 2019-05-02 13:47:43.046 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): initiating local network resource discovery (startup) 2019-05-02 13:47:43.076 T:5343 NOTICE: starting zeroconf publishing 2019-05-02 13:47:43.077 T:5378 NOTICE: ES: Starting UDP Event server on port 9777 2019-05-02 13:47:43.077 T:5378 NOTICE: UDP: Listening on port 9777 (ipv6 : false) 2019-05-02 13:47:43.573 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): discovered: HDHomeRun PRIME 132724B8 2019-05-02 13:47:43.599 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): delaying startup discovery task for 3 seconds 2019-05-02 13:47:43.599 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loaded 2019-05-02 13:47:43.605 T:5366 NOTICE: PVR Manager: Starting 2019-05-02 13:47:43.799 T:5383 NOTICE: PVR Manager: Started 2019-05-02 13:47:43.812 T:5366 NOTICE: EPG thread started 2019-05-02 13:47:46.600 T:5382 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: void discover_startup_task(bool, const scalar_condition<bool>&): initiated startup discovery task

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Thu May 02, 2019 8:43 pm

So I was able to get a copy of the kodi log, but I'm not sure it has much helpful info...I did disconnect the tuner (Prime 3) from the network and discovered that Kodi crashes about 6 seconds after it starts up whenever the PVR client is loaded....not really enough time to navigate in Kodi and do anything. This happens if if you don't open the client. It does NOT happen if you open Kodi on the same firestick when it is connected to my network and not my friends network....

Here is the log:

Code: Select all

2019-05-02 13:47:40.081 T:5343 NOTICE: ----------------------------------------------------------------------- 2019-05-02 13:47:40.082 T:5343 NOTICE: Starting Kodi (18.2 Git:20190422-f2643566d0). Platform: Android ARM 32-bit 2019-05-02 13:47:40.082 T:5343 NOTICE: Using Release Kodi x32 build 2019-05-02 13:47:40.082 T:5343 NOTICE: Kodi compiled 2019-04-22 by Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) for Android ARM 32-bit API level 21 (API level 21) 2019-05-02 13:47:40.082 T:5343 NOTICE: Running on Amazon AFTMM with Android 7.1.2 API level 25, kernel: Linux ARM 32-bit version 4.4.120+ 2019-05-02 13:47:40.084 T:5343 NOTICE: FFmpeg version/source: 4.0.3-Kodi 2019-05-02 13:47:40.084 T:5343 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available 2019-05-02 13:47:40.085 T:5343 NOTICE: Product: mantis, Device: mantis, Board: mantis - Manufacturer: Amazon, Brand: Amazon, Model: AFTMM, Hardware: mt8695 2019-05-02 13:47:40.091 T:5343 NOTICE: External storage path = /storage/emulated/0; status = ok 2019-05-02 13:47:40.092 T:5343 NOTICE: ARM Features: Neon enabled 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmc/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmcbin/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets 2019-05-02 13:47:40.092 T:5343 NOTICE: special://xbmcbinaddons/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons 2019-05-02 13:47:40.092 T:5343 NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata 2019-05-02 13:47:40.092 T:5343 NOTICE: special://envhome/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files 2019-05-02 13:47:40.092 T:5343 NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi 2019-05-02 13:47:40.092 T:5343 NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp 2019-05-02 13:47:40.092 T:5343 NOTICE: special://logpath/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp 2019-05-02 13:47:40.092 T:5343 NOTICE: The executable running is: /data/app/org.xbmc.kodi-1/lib/arm/libkodi.so 2019-05-02 13:47:40.234 T:5343 NOTICE: Local hostname: 192.168.2.155 2019-05-02 13:47:40.234 T:5343 NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log 2019-05-02 13:47:40.234 T:5343 NOTICE: ----------------------------------------------------------------------- 2019-05-02 13:47:40.239 T:5343 INFO: loading settings 2019-05-02 13:47:40.242 T:5343 NOTICE: special://profile/ is mapped to: special://masterprofile/ 2019-05-02 13:47:40.297 T:5343 DEBUG: CSkinSettings: no <skinsettings> tag found 2019-05-02 13:47:40.298 T:5343 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml) 2019-05-02 13:47:40.299 T:5343 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml) 2019-05-02 13:47:40.299 T:5343 NOTICE: Default Video Player: VideoPlayer 2019-05-02 13:47:40.299 T:5343 NOTICE: Default Audio Player: paplayer 2019-05-02 13:47:40.299 T:5343 NOTICE: Disabled debug logging due to GUI setting. Level 0. 2019-05-02 13:47:40.300 T:5343 NOTICE: Log level changed to "LOG_LEVEL_NORMAL" 2019-05-02 13:47:40.326 T:5343 NOTICE: Running database version Addons27 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: game.controller.default v1.0.8 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: game.controller.snes v1.0.8 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: inputstream.adaptive v2.3.17 installed 2019-05-02 13:47:40.374 T:5343 NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed 2019-05-02 13:47:40.375 T:5343 NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: kodi.resource v1.0.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.album.universal v3.1.2 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.artists.universal v4.3.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.allmusic.com v3.2.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.fanart.tv v3.6.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.2 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.common.themoviedb.org v3.1.9 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.local v1.0.0 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.themoviedb.org v5.1.7 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.1.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: peripheral.joystick v1.4.7 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: pvr.hdhomerundvr v2.0.1 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: repository.xbmc.org v3.1.5 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed 2019-05-02 13:47:40.376 T:5343 NOTICE: ADDON: resource.language.en_gb v2.0.1 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.32 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.54 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: script.module.pil v1.1.7 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: service.xbmc.versioncheck v0.4.6 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: skin.estouchy v2.0.23 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: skin.estuary v2.0.22 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.addon v18.2.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.core v0.1.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.gui v5.14.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.json v10.3.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.metadata v2.1.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.python v2.26.0 installed 2019-05-02 13:47:40.377 T:5343 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed 2019-05-02 13:47:40.627 T:5351 NOTICE: Float is supported 2019-05-02 13:47:40.628 T:5351 NOTICE: Multi channel Float is supported 2019-05-02 13:47:40.933 T:5351 NOTICE: Found 1 Lists of Devices 2019-05-02 13:47:40.934 T:5351 NOTICE: Enumerated AUDIOTRACK devices: 2019-05-02 13:47:40.934 T:5351 NOTICE: Device 1 2019-05-02 13:47:40.934 T:5351 NOTICE: m_deviceName : AudioTrack 2019-05-02 13:47:40.934 T:5351 NOTICE: m_displayName : android 2019-05-02 13:47:40.934 T:5351 NOTICE: m_displayNameExtra: audiotrack 2019-05-02 13:47:40.934 T:5351 NOTICE: m_deviceType : AE_DEVTYPE_HDMI 2019-05-02 13:47:40.935 T:5351 NOTICE: m_channels : FL, FR, FC, LFE, SL, SR, BL, BR, BC, BLOC, BROC 2019-05-02 13:47:40.935 T:5351 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000 2019-05-02 13:47:40.935 T:5351 NOTICE: m_dataFormats : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW 2019-05-02 13:47:40.935 T:5351 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_EAC3 2019-05-02 13:47:40.935 T:5352 NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4 2019-05-02 13:47:40.944 T:5352 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 22688 m_frames: 1418 m_frameSize: 8 channels: 2 2019-05-02 13:47:41.028 T:5343 NOTICE: CDecoderFilter: loading filters from special://masterprofile/decoderfilter.xml 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG2 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.HEVC 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG4 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.H263 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.AVC 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VPX 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VP9 2019-05-02 13:47:41.114 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STN 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STH 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVAV.SER 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.dolby.ac3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.dolby.eac3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.mp3.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.amrnb.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.amrwb.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.aac.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.g711.alaw.decoder 2019-05-02 13:47:41.115 T:5343 NOTICE: Mediacodec decoder: OMX.google.g711.mlaw.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vorbis.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.opus.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.raw.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.mpeg2.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.mpeg4.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.h263.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.h264.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vp8.decoder 2019-05-02 13:47:41.116 T:5343 NOTICE: Mediacodec decoder: OMX.google.vp9.decoder 2019-05-02 13:47:41.117 T:5343 NOTICE: CAndroidUtils: window resolution: 1920x1080 2019-05-02 13:47:41.117 T:5343 NOTICE: CAndroidUtils: Current resolution: 1920x1080 1920x1080 @ 59.939999 - Full Screen 2019-05-02 13:47:41.118 T:5343 NOTICE: Previous line repeats 1 times. 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_VERSION = 1.4 Android META-EGL 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_VENDOR = Android 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_EXTENSIONS = EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_partial_update EGL_EXT_buffer_age EGL_KHR_mutable_render_buffer EGL_EXT_yuv_surface 2019-05-02 13:47:41.118 T:5343 NOTICE: EGL_CLIENT_EXTENSIONS = NULL 2019-05-02 13:47:41.124 T:5343 NOTICE: Checking resolution 16 2019-05-02 13:47:41.127 T:5343 NOTICE: GL_VENDOR = Imagination Technologies 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_RENDERER = PowerVR Rogue GE8300 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_VERSION = OpenGL ES 3.2 build 1.9@4893595 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20 build 1.9@4893595 2019-05-02 13:47:41.128 T:5343 NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_bindless_texture GL_IMG_framebuffer_downsample GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture 2019-05-02 13:47:41.686 T:5366 NOTICE: Running database version Addons27 2019-05-02 13:47:41.689 T:5366 NOTICE: Running database version ViewModes6 2019-05-02 13:47:41.693 T:5366 NOTICE: Running database version Textures13 2019-05-02 13:47:41.703 T:5366 NOTICE: Running database version MyMusic72 2019-05-02 13:47:41.716 T:5366 NOTICE: Running database version MyVideos116 2019-05-02 13:47:41.721 T:5366 NOTICE: Running database version TV32 2019-05-02 13:47:41.724 T:5366 NOTICE: Running database version Epg12 2019-05-02 13:47:41.842 T:5343 NOTICE: load skin from: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons/skin.estuary (version: 2.0.22) 2019-05-02 13:47:42.548 T:5343 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList" 2019-05-02 13:47:42.642 T:5343 NOTICE: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000) 2019-05-02 13:47:42.644 T:5343 NOTICE: Register - new mouse device registered on application->mouse: Mouse (0000:0000) 2019-05-02 13:47:42.704 T:5343 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml. 2019-05-02 13:47:42.706 T:5343 NOTICE: Loaded playercorefactory configuration 2019-05-02 13:47:42.719 T:5343 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml. 2019-05-02 13:47:42.719 T:5343 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping. 2019-05-02 13:47:42.820 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loading 2019-05-02 13:47:42.865 T:5343 NOTICE: initialize done 2019-05-02 13:47:42.865 T:5343 NOTICE: Running the application... 2019-05-02 13:47:43.046 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): initiating local network resource discovery (startup) 2019-05-02 13:47:43.076 T:5343 NOTICE: starting zeroconf publishing 2019-05-02 13:47:43.077 T:5378 NOTICE: ES: Starting UDP Event server on port 9777 2019-05-02 13:47:43.077 T:5378 NOTICE: UDP: Listening on port 9777 (ipv6 : false) 2019-05-02 13:47:43.573 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): discovered: HDHomeRun PRIME 132724B8 2019-05-02 13:47:43.599 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): delaying startup discovery task for 3 seconds 2019-05-02 13:47:43.599 T:5366 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loaded 2019-05-02 13:47:43.605 T:5366 NOTICE: PVR Manager: Starting 2019-05-02 13:47:43.799 T:5383 NOTICE: PVR Manager: Started 2019-05-02 13:47:43.812 T:5366 NOTICE: EPG thread started 2019-05-02 13:47:46.600 T:5382 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: void discover_startup_task(bool, const scalar_condition<bool>&): initiated startup discovery task
The behavior and the log do seem to point to some issue with the 3-second delayed 'startup' task in the PVR. Let me simulate some problems that task may encounter here and see if I can find anything out.

On the network where it fails, is there an HDHomeRun RECORD engine running? if there was, it wasn't detected by the PVR addon. I may start there, perhaps there is a logic error from the rather massive v2.0.0 update that can happen if no RECORD engine is detected ... I always screw something up, why should v2 be any different than v1? LOL.

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Fri May 03, 2019 10:23 am

No record engine on the network where it crashes kodi

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Fri May 03, 2019 1:39 pm

No record engine on the network where it crashes kodi
Good info, thanks. I'll start there and see where the rabbit hole leads ...

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Fri May 03, 2019 2:02 pm

No record engine on the network where it crashes kodi
Good info, thanks. I'll start there and see where the rabbit hole leads ...
Let me know if you need me to try to make another visit and capture detailed log data. I guess I would turn that on first before I was on his network.

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Fri May 03, 2019 2:16 pm

No record engine on the network where it crashes kodi
Good info, thanks. I'll start there and see where the rabbit hole leads ...
Let me know if you need me to try to make another visit and capture detailed log data. I guess I would turn that on first before I was on his network.
I'm going to try to come up with a way to find out what causes Kodi to crash by introducing unhandled exceptions and using my FireStick(s). I'm sure there is a way to get this, I just don't know exactly where it is or if we need to turn anything on first.

I did try hiding my RECORD engine from the PVR (on Windows), no luck there.

I forgot to ask, is this a First-gen, Second-gen, FireStick 4K? I have all three models here I can try out, nobody will mind if I unplug the ones "in use", they never use them anyway - lol.

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Fri May 03, 2019 6:57 pm

I've reproduced the problem on 2nd gen firestick as well as the firestick 4k.

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sat May 04, 2019 7:32 am

I've reproduced the problem on 2nd gen firestick as well as the firestick 4k.
It looks like the only way to get the crash information is from Android via logcat. Are you set up for ADB on the FireStick? If you are, you can get this via an ADB session. Otherwise, there is apparently an app available that will grab the log and e-mail it somewhere:

https://kodi.wiki/view/Android_FAQ#logcat

If you want to grab the logcat via adb, connect to the device, let Kodi crash out, and then use 'adb logcat > {outputfile}'. Let it run for a while before stopping it with CTRL+C.

Here is a sample of what I expect to see in there somewhere. I intentionally added a seg fault to the PVR to generate this. This will at least tell us the faulting module, if it's the PVR I should be able to use the addresses to find out where in the code:

Code: Select all

V/CrashDescriptorUtil( 1013): extractNativeCrashFromBody inputTrace=*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** V/CrashDescriptorUtil( 1013): Build fingerprint: 'Amazon/montoya:5.1.1/LVY48F/54.6.3.2_user_632552020:user/release-keys' V/CrashDescriptorUtil( 1013): Revision: '0' V/CrashDescriptorUtil( 1013): ABI: 'arm' V/CrashDescriptorUtil( 1013): pid: 7951, tid: 8041, oom: 0, name: Thread-602 >>> org.xbmc.kodi <<< V/CrashDescriptorUtil( 1013): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 V/CrashDescriptorUtil( 1013): r0 5c1cebd0 r1 00000000 r2 00000002 r3 00000000 V/CrashDescriptorUtil( 1013): r4 5c1cebd0 r5 5c1cebcc r6 54f92be8 r7 5c1cecc0 V/CrashDescriptorUtil( 1013): r8 4220c140 r9 5c1ceca8 sl 5c0ca8ec fp 40173008 V/CrashDescriptorUtil( 1013): ip 4016c64c sp 5c1cebc8 lr 5bf9fc05 pc 5bf492de cpsr 68000030 V/CrashDescriptorUtil( 1013): d0 20202020ad000000 d1 2020202020202020 V/CrashDescriptorUtil( 1013): d2 dad9d8d7d6d5d4d3 d3 e2e1e0dfdedddcdb V/CrashDescriptorUtil( 1013): d4 aaa9a8a7a6a5a4a3 d5 b2b1b0afaeadacab V/CrashDescriptorUtil( 1013): d6 bab9b8b7b6b5b4b3 d7 c2c1c0bfbebdbcbb V/CrashDescriptorUtil( 1013): d8 c1e0000043c40000 d9 c1e000003da7ef9e V/CrashDescriptorUtil( 1013): d10 43e0000000000000 d11 c3e0000000000000 V/CrashDescriptorUtil( 1013): d12 df0000005f000000 d13 0000000000000000 V/CrashDescriptorUtil( 1013): d14 0000000000000000 d15 0000000000000000 V/CrashDescriptorUtil( 1013): d16 0000002800000031 d17 000000000000000a V/CrashDescriptorUtil( 1013): d18 0000000000000000 d19 0000000000000000 V/CrashDescriptorUtil( 1013): d20 0000000200000002 d21 0000000000000002 V/CrashDescriptorUtil( 1013): d22 43988000442b8000 d23 43988000442b8000 V/CrashDescriptorUtil( 1013): d24 42a0000041800000 d25 43988000442b8000 V/CrashDescriptorUtil( 1013): d26 0000000000000000 d27 3f8833b6d35927bd V/CrashDescriptorUtil( 1013): d28 3fe7c7d7b7e5e855 d29 bfe7750c9d8f0776 V/CrashDescriptorUtil( 1013): d30 3dd0b4611a626331 d31 3dd0b46200000000 V/CrashDescriptorUtil( 1013): scr 68000015 V/CrashDescriptorUtil( 1013): V/CrashDescriptorUtil( 1013): backtrace: V/CrashDescriptorUtil( 1013): #00 pc 0006a2de /data/data/org.xbmc.kodi/cache/lib/libhdhomerundvr.so V/CrashDescriptorUtil( 1013): #01 pc 000c0c01 /data/data/org.xbmc.kodi/cache/lib/libhdhomerundvr.so V/CrashDescriptorUtil( 1013): V/CrashDescriptorUtil( 1013): stack: V/CrashDescriptorUtil( 1013): 5c1ceb88 4220c140 V/CrashDescriptorUtil( 1013): 5c1ceb8c 4014014d /system/lib/libc.so (dlfree+52) V/CrashDescriptorUtil( 1013): 5c1ceb90 5c1cebd0 V/CrashDescriptorUtil( 1013): 5c1ceb94 54d2c238 V/CrashDescriptorUtil( 1013): 5c1ceb98 5c1cec20 V/CrashDescriptorUtil( 1013): 5c1ceb9c 5c1cebfc V/CrashDescriptorUtil( 1013): 5c1ceba0 54d2c238 V/CrashDescriptorUtil( 1013): 5c1ceba4 5bf9fc05 /data/data/org.xbmc.kodi/cache/lib/libhdhomerundvr.so V/CrashDescriptorUtil( 1013): 5c1ceba8 5c1cebd0 V/CrashDescriptorUtil( 1013): 5c1cebac 5bf85fd9 /data/data/org.xbmc.kodi/cache/lib/libhdhomerundvr.so V/CrashDescriptorUtil( 1013): 5c1cebb0 4220c140 V/CrashDescriptorUtil( 1013): 5c1cebb4 40126399 /system/lib/libc.so (free+12) V/CrashDescriptorUtil( 1013): 5c1cebb8 5c1cebd0 V/CrashDescriptorUtil( 1013): 5c1cebbc 5c1cebcc V/CrashDescriptorUtil( 1013): 5c1cebc0 54f92be8 V/CrashDescriptorUtil( 1013): 5c1cebc4 5bf492dd /data/data/org.xbmc.kodi/cache/lib/libhdhomerundvr.so V/CrashDescriptorUtil( 1013): #00 5c1cebc8 00000000 V/CrashDescriptorUtil( 1013): ........ ........

If you can get the "V/CrashDescriptorUtil" part of the log over to me, along with the matching Kodi log for that session, I'll see what I can find out. You don't need to send the entire logcat output, there is likely going to be PII (personally identifiable information) in there.

I hope it's not the PVR since I've tried tons of things and only going rogue and intentionally introducing bad code caused it to crash out.

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Sat May 04, 2019 3:01 pm

I went over to the location where the PVR Client is crashing. Took the Firestick 4K that works on my network (Quatro) but crashes on the network containing an HDHomeRun Prime. I disconnected the Prime from the network and added the Firestick 4K to the network. Started up HDHomeRun and it said no tuner device as expected. Started up Kodi and it started guide discovery and crashed. I suspect that it started guide discovery because you "remember" that Tuner ID for a while in case the tuner temporarily disappears...So I reset the discovery database in PVR Client. Listed discovered devices...none as expected...plugged in the tuner to the network again...triggered device discover...success...triggered channel lineup discovery...watched a channel with success. Triggered guide metatada discovery...exited and restarted Kodi...crash as it was trying to load guide data after it appeared to get through the first few....I tuner and restarted kodi....crash again during loading of guide data...Brought the firestick home and plugged it into my network...all works as expected....

Below is the end of a log capture from kodi during one of the crashes when no tuner was on the network...it does not contain a stack dump like yours does....is kodi simply exiting without being able to even write it's log? [Acutually, I realize now that this particular log may be the one time I restarted the firestick...sorry] Notice the one error about failed to exception. I did not have time at the other location to use ADB. I don't think that the logcat app will work as the notes about it say it requires root access, which I do not have on the firestick. I captured my logs by using the FTP tool in the ES File Explorer app on the firestick. If the error below does not give you enough data, I'll go back and get ADB going.

Thanks!

Code: Select all

2019-05-04 16:33:05.204 T:4442 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loading 2019-05-04 16:33:05.276 T:4408 NOTICE: initialize done 2019-05-04 16:33:05.276 T:4408 NOTICE: Running the application... 2019-05-04 16:33:05.411 T:4442 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): initiating local network resource discovery (startup) 2019-05-04 16:33:05.504 T:4408 NOTICE: starting zeroconf publishing 2019-05-04 16:33:05.505 T:4453 NOTICE: ES: Starting UDP Event server on port 9777 2019-05-04 16:33:05.506 T:4453 NOTICE: UDP: Listening on port 9777 (ipv6 : false) 2019-05-04 16:33:08.609 T:4442 ERROR: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*) failed due to an exception: void discover_devices(sqlite3*, bool, bool&): no tuner devices were discovered; aborting device discovery 2019-05-04 16:33:08.610 T:4442 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): delaying startup discovery task for 3 seconds 2019-05-04 16:33:08.611 T:4442 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: ADDON_STATUS ADDON_Create(void*, void*): zuki.pvr.hdhomerundvr v2.0.1 loaded 2019-05-04 16:33:08.617 T:4442 NOTICE: PVR Manager: Starting 2019-05-04 16:33:08.679 T:4479 NOTICE: PVR Manager: Started 2019-05-04 16:33:09.340 T:4443 NOTICE: EPG thread started 2019-05-04 16:33:11.611 T:4478 NOTICE: AddOnLog: HDHomeRun DVR PVR Client: void discover_startup_task(bool, const scalar_condition<bool>&): initiated startup discovery task 2019-05-04 16:33:21.615 T:4478 ERROR: AddOnLog: HDHomeRun DVR PVR Client: void discover_startup_task(bool, const scalar_condition<bool>&) failed due to an exception: basic_string::_S_create 2019-05-04 16:33:58.885 T:4562 ERROR: DoWork - Direct texture file loading failed for resource://resource.images.weathericons.default/ 2019-05-04 16:34:33.491 T:4408 NOTICE: PVR Manager: Stopping 2019-05-04 16:34:34.404 T:4408 NOTICE: PVR Manager: Stopped 2019-05-04 16:34:34.485 T:4408 NOTICE: Restarting the PVR Manager after EPG database reset 2019-05-04 16:34:34.485 T:4408 NOTICE: PVR Manager: Starting 2019-05-04 16:34:34.581 T:4574 NOTICE: PVR Manager: Started 2019-05-04 16:34:34.585 T:4573 NOTICE: EPG thread started 2019-05-04 16:35:35.241 T:4408 NOTICE: CWinSystemAndroid::DestroyWindow

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sat May 04, 2019 7:34 pm

Oooooo... yeah, you definitely caught something here:

Code: Select all

2019-05-04 16:33:21.615 T:4478 ERROR: AddOnLog: HDHomeRun DVR PVR Client: void discover_startup_task(bool, const scalar_condition<bool>&) failed due to an exception: basic_string::_S_create

I really need to add line numbers to these exception messages :)

Thank you for the extra information, that's very helpful. I think you are onto something with moving the stick from a network with one set of tuners to another with none or different ones. That is absolutely not a scenario I've ever tried, and you're absolutely right that over time I have added stuff that assumes cached data is good.

I need to play around with this from the perspective of the tuners. I wish I had a quick answer, but it will take a little more time. I'll let you know what I have or what I think I might need.

Thanks again!

edit: Actually it didn't take that long. Bit fat stupid defect that happens if there are no tuners in the database. Wow, it's a dumb one too -- the database is returning a row with just one NULL value in it, which can't be converted into an std::string object. Code goes boom.

My testing SUCKS. I'll have something for you to try later tonight or tomorrow. I want to exercise some other things that I'm seeing on Krypton while playing with something else unrelated on an old First Gen FireStick here.

djp952
Posts: 799
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby djp952 » Sat May 04, 2019 9:16 pm

Because you spend 25 minutes writing up a massive post and then close the browser ... this isn't nearly as extensive as it once was ...

I have built and made a BETA release of the PVR (v2.0.2) available via OneDrive:

v2.0.2 BETA 1 (May 4, 2019)
  • Update SQLite database engine to version 3.28.0
  • Add "Flag Recorded TV streams as real-time" advanced setting
  • Prevent multiple Kodi threads from simultaneously requesting EPG data
  • Fix bug that allowed extraneous EPG entries to be transferred to Kodi
  • Fix bug that prevented successfully setting channel visibility flags
  • Fix bug in database layer that could cause unhandled exceptions processing NULL column values
Downloads (all platforms): https://1drv.ms/f/s!AgEGEEVzGNq-i_gXG8GSNaWLocaLNw

This may ultimately be replaced with a "2.1.0" release (see Post #3 for the current backlog), but I wanted to make something available for ddejager and jhford ASAP.

I'll undoubtedly go into extreme and nauseating detail on the rest at some point, but here are the highlighted bullets:

Add "Flag Recorded TV streams as real-time" advanced setting (jhford)
This setting (PVR/Advanced), which will now exist on Krypton and Leia only, can be used to trick Kodi into thinking Recorded TV streams are real-time. The idea here is that Kodi treats real-time streams differently and doesn't have the same bandwidth expectations. If Recorded TV is unplayable due to buffering, this option may help.

Fix bug in database layer that could cause unhandled exceptions processing NULL column values (ddejager)
This resolves a few really dumb mistakes on my part. If a PVR database query returns a single row with just a NULL value in it, there were a handful of places I was taking that NULL result and attempting to assign it to an std::string object instance. SQLite converts NULL to a null pointer if you ask to coalesce a value into a string, and std::string::assign() doesn't accept null pointers. So far this will manifest if there are no tuners detected on your local network, but I applied the fix for it across the entire database layer.

Note that Post #3 has also been updated with a new list called "Backlog". These are the work items that only exist in a little spiral notebook on my desk :)

ddejager
Posts: 88
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby ddejager » Sun May 05, 2019 10:53 am


Fix bug in database layer that could cause unhandled exceptions processing NULL column values (ddejager)
This resolves a few really dumb mistakes on my part. If a PVR database query returns a single row with just a NULL value in it, there were a handful of places I was taking that NULL result and attempting to assign it to an std::string object instance. SQLite converts NULL to a null pointer if you ask to coalesce a value into a string, and std::string::assign() doesn't accept null pointers. So far this will manifest if there are no tuners detected on your local network, but I applied the fix for it across the entire database layer.
Thanks you! Your beta version no longer crashes on the system where 2.0.1 did crash. Any idea why it would only crash on some systems? My system (no crash) has only about 13 direct broadcast channels. The system where it was crashing has about 80 cable channels.

leopheard
Posts: 18
Joined: Sat Jan 26, 2019 12:35 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Postby leopheard » Sun May 05, 2019 5:42 pm

NOTE: As a rule, I do not accept donations. I deeply appreciate the offer, but it's reward enough for me to have so many people getting use out of the project. I've got a day job; this is a hobby :mrgreen:
Just upgraded my OSMC after months of avoiding it as it usually breaks stuff. All PVRs broke, none able to be installed on Kodi 18, but thanks to your awesome work, I was able to get HDHR working again. Are you sure you don't take donations?!?! Bitcoin? Monero? Litecoin? ZCash???


Return to “Kodi Community Development”

Who is online

Users browsing this forum: No registered users and 2 guests