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

  Thread Rating:
  • 16 Votes - 4.44 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jdembski Offline
Fan
Posts: 455
Joined: Feb 2012
Reputation: 11
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: 455
Joined: Feb 2012
Reputation: 11
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: 455
Joined: Feb 2012
Reputation: 11
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: 455
Joined: Feb 2012
Reputation: 11
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