Kodi Community Forum
[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 (/showthread.php?tid=125232)



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - afly - 2012-04-06

Fantastic plugin. I've been dreaming of something like this!

Had it running for a few weeks now. I get the occasional lockup when changing channels but that may be the way I am controlling it (xbmc constellation). The only annoying issue, which may not be related to the plugin at all, rather xbmc-pvr is that I find xbmc locks up when I exit, shutdown or reboot. After a couple of minutes it crashes and restarts the GUI. But because this is xbmcbuntu it leaves me with no way to get into to the main desktop. I'm stuck in xmbc mode!

The only way I can fix it is to disable the plugin, disable 'Enable Live TV' which results in a lockup then crash, then disable 'Enable Live TV' again. A bit annoying as all channels etc have to be readded on next boot.

Is anyone else having this? I've replicated it on two seperate installs now


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-04-06

(2012-04-06, 13:52)afly Wrote: Fantastic plugin. I've been dreaming of something like this!

Had it running for a few weeks now. I get the occasional lockup when changing channels but that may be the way I am controlling it (xbmc constellation). The only annoying issue, which may not be related to the plugin at all, rather xbmc-pvr is that I find xbmc locks up when I exit, shutdown or reboot. After a couple of minutes it crashes and restarts the GUI. But because this is xbmcbuntu it leaves me with no way to get into to the main desktop. I'm stuck in xmbc mode!

The only way I can fix it is to disable the plugin, disable 'Enable Live TV' which results in a lockup then crash, then disable 'Enable Live TV' again. A bit annoying as all channels etc have to be readded on next boot.

Is anyone else having this? I've replicated it on two seperate installs now

Try disabling live TV, resetting PVR database and EPG database disable plugin, then enable live TV and then the plugin....leave for a while to import stuff and reboot and test



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - afly - 2012-04-06

Thanks redknight, will do.

It's also occured to me that if I just ssh onto the the machine, I have no real reason to get to the desktop anyway

Also, I may be doing a clean install later today (sep issue) If so, I'll note down all those depencies needed for your excellent tutorial as I found that if one is missing at the end (g++?) you have to do a 'make clean' then go back a few steps once added (./configure)


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - redknight - 2012-04-07

Yes, pls take note of all libraries etc that you add and I'll amend my tutorial


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - afly - 2012-04-07

sudo apt-get install libtool
sudo apt-get install automake
sudo apt-get install libcurl4-gnutls-dev
sudo apt-get install build-essential

logging off to test this has worked, be back in a sec

-- edit: worked fine, probably best to add them to the start along with the git install. While your editing it, the make command definitely needs sudo elevation. Interestingly 'make install' does not




RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-07

Some changes - now the shutdown should work again...

Code:
0.1.8
- change: fetch the recording locations and use these locations when querying the recordings      
- fix: Stop update thread when destroying the PVR addon - fixes shutdown issues



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-07

(2012-04-07, 20:51)jdembski Wrote: Some changes - now the shutdown should work again...

Code:
0.1.8
- change: fetch the recording locations and use these locations when querying the recordings      
- fix: Stop update thread when destroying the PVR addon - fixes shutdown issues

hi jdembski,

unfortunately XMBC can still not clean finish.
When debugging, it remains to put this in vudata.cpp stand.

Code:
StoreChannelData();
        }
      }
    
      // Trigger Timer and Recording updates acording to the addon settings
->      XBMC->Log(LOG_INFO, "%s Perform Updates!", __FUNCTION__);

      if (g_bAutomaticTimerlistCleanup)



[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-07

(2012-04-07, 22:27)trans Wrote:
(2012-04-07, 20:51)jdembski Wrote: Some changes - now the shutdown should work again...

Code:
0.1.8
- change: fetch the recording locations and use these locations when querying the recordings      
- fix: Stop update thread when destroying the PVR addon - fixes shutdown issues

hi jdembski,

unfortunately XMBC can still not clean finish.
When debugging, it remains to put this in vudata.cpp stand.

Code:
StoreChannelData();
        }
      }
    
      // Trigger Timer and Recording updates acording to the addon settings
->      XBMC->Log(LOG_INFO, "%s Perform Updates!", __FUNCTION__);

      if (g_bAutomaticTimerlistCleanup)

Is it really stuck permanently? At least after 5 seconds it should stop the thread...


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-07

Yes, each time the end of XBMC

see http://www.mediafire.com/?cxaaarfwrf5rdrl


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-07

OK, I debugged it on linux with gdb and changed some stuff - at least for me it is exiting normally now (before this it would also crash with a segfault - I didn't look into it because I thought it was due to some XBMC-PVR-internal stuff)

Code:
[New Thread 0xb37e0b70 (LWP 32311)]
[New Thread 0xad6ffb70 (LWP 32320)]
[New Thread 0xacefeb70 (LWP 32321)]
[Thread 0xb01fcb70 (LWP 32305) exited]

Program received signal SIGTERM, Terminated.
0x00d86c6b in ?? () from /usr/lib/i386-linux-gnu/libGLU.so.1
(gdb) continue
Continuing.
[Thread 0xb19ffb70 (LWP 32302) exited]
[Thread 0xb11feb70 (LWP 32303) exited]
[Thread 0xae9f9b70 (LWP 32308) exited]
[Thread 0xb27deb70 (LWP 32301) exited]
[Thread 0xacefeb70 (LWP 32321) exited]
[Thread 0xb3fe1b70 (LWP 32298) exited]
[Thread 0xb47e2b70 (LWP 32309) exited]
[Thread 0xad6ffb70 (LWP 32320) exited]
[Thread 0xb37e0b70 (LWP 32311) exited]
[Thread 0xaf9fbb70 (LWP 32306) exited]
[Thread 0xb09fdb70 (LWP 32304) exited]
[Thread 0xb798db70 (LWP 32293) exited]
[Thread 0xb2fdfb70 (LWP 32300) exited]
[Thread 0xaf1fab70 (LWP 32307) exited]
[Inferior 1 (process 32278) exited normally]
(gdb)



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-08

Yes, now terminated cleanly XBMC, great work.


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sb206 - 2012-04-08

@trans

Could you compile this again for windows? Thanks


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-08

(2012-04-08, 10:32)sb206 Wrote: @trans

Could you compile this again for windows? Thanks

Addon for windows: http://www.mediafire.com/?np1fts866cgyarw


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - trans - 2012-04-08

I now have the addon as a "release (DirectX)" compiled. Now XBMC crashes when accessing the "channeldata.xml". The "channeldata.xml" is 0 KB in size.

Compiled as a "debug (DirectX)" works just fine.


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-04-08

(2012-04-08, 12:23)trans Wrote: I now have the addon as a "release (DirectX)" compiled. Now XBMC crashes when accessing the "channeldata.xml". The "channeldata.xml" is 0 KB in size.

Compiled as a "debug (DirectX)" works just fine.

Can you check the compiler / preprocessor options? My ms visual studio license expired, so I cannot check it