[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2

  Thread Rating:
  • 17 Votes - 4.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
afly Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #226
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
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #227
(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

[Image: widget]
find quote
afly Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #228
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)
(This post was last modified: 2012-04-06 14:10 by afly.)
find quote
redknight Offline
Senior Member
Posts: 110
Joined: Oct 2009
Reputation: 3
Post: #229
Yes, pls take note of all libraries etc that you add and I'll amend my tutorial

[Image: widget]
find quote
afly Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #230
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
(This post was last modified: 2012-04-07 15:02 by afly.)
find quote
jdembski Offline
Fan
Posts: 501
Joined: Feb 2012
Reputation: 12
Post: #231
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

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
(This post was last modified: 2012-04-07 21:17 by jdembski.)
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #232
(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)


Sorry for my english, I use google translate.
find quote
jdembski Offline
Fan
Posts: 501
Joined: Feb 2012
Reputation: 12
Post: #233
(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...

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #234
Yes, each time the end of XBMC

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


Sorry for my english, I use google translate.
find quote
jdembski Offline
Fan
Posts: 501
Joined: Feb 2012
Reputation: 12
Post: #235
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)

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #236
Yes, now terminated cleanly XBMC, great work.


Sorry for my english, I use google translate.
find quote
sb206 Offline
Member
Posts: 79
Joined: May 2010
Reputation: 0
Post: #237
@trans

Could you compile this again for windows? Thanks

[Image: sysp-145750.png][Image: widget][Image: widget]
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #238
(2012-04-08 10:32)sb206 Wrote:  @trans

Could you compile this again for windows? Thanks

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


Sorry for my english, I use google translate.
find quote
trans Offline
Junior Member
Posts: 46
Joined: Mar 2012
Reputation: 2
Post: #239
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.


Sorry for my english, I use google translate.
find quote
jdembski Offline
Fan
Posts: 501
Joined: Feb 2012
Reputation: 12
Post: #240
(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

VU+ / Enigma2 PVR Client: Documentation | Development | Discussion
find quote
Post Reply