MythTV PVR client Addon Developers Wanted - Developers Only!

  Thread Rating:
  • 8 Votes - 4.88 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
dteirney Offline
Team-XBMC Developer
Posts: 820
Joined: Jul 2007
Reputation: 6
Location: New Zealand
Post: #491
dubstar_04 Wrote:Not had too much luck with timers yet, i have posted some backtraces; i can't figure out whats causing this. its driving me mad.

http://pastebin.com/pf6ruUUk

http://pastebin.com/faGDmqJG

I've just pushed up the likely fix for that. If the char array pointers were NULL the constructor for the CStdString is probably segfaulting.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
find
dubstar_04 Offline
Senior Member
Posts: 228
Joined: May 2008
Reputation: 0
Location: Warrington, UK
Post: #492
dteirney Wrote:I've just pushed up the likely fix for that. If the char array pointers were NULL the constructor for the CStdString is probably segfaulting.

I have tried that and it still segfaults:

http://pastebin.com/68ZBnQ7R

Edit: just tried a clean build and still getting the same result.

I'm out of my depth with this but i will try and have a look early next week.

to check what was being passed I added this to client.cpp line 532:

Code:
XBMC->Log(LOG_DEBUG, "%s - channelUid=%d title=%s summary=%s", __FUNCTION__, timer.iClientChannelUid, timer.strTitle, timer.strSummary);

log output:

07:37:50 T:61243376 DEBUG: AddOnLog: MythTV PVR Addon: AddTimer - channelUid=1003 title=Rugby summary=09/10/2011 from 6:40 AM to 9:00 AM

All Things PVR
(This post was last modified: 2011-09-10 08:39 by dubstar_04.)
find
dteirney Offline
Team-XBMC Developer
Posts: 820
Joined: Jul 2007
Reputation: 6
Location: New Zealand
Post: #493
dubstar_04 Wrote:I have tried that and it still segfaults:

http://pastebin.com/68ZBnQ7R

I am going to try a clean build.

Take 2 just pushed up. I've had problems with segfault when allocating directly to CStdString objects in a struct, but are fine if done through an intermediate CStdString. Not sure why, but give that a go.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
find
dubstar_04 Offline
Senior Member
Posts: 228
Joined: May 2008
Reputation: 0
Location: Warrington, UK
Post: #494
dteirney Wrote:Take 2 just pushed up. I've had problems with segfault when allocating directly to CStdString objects in a struct, but are fine if done through an intermediate CStdString. Not sure why, but give that a go.

backtrace:

http://pastebin.com/Y1GTHC3e

i updated my post above too.

All Things PVR
find
dteirney Offline
Team-XBMC Developer
Posts: 820
Joined: Jul 2007
Reputation: 6
Location: New Zealand
Post: #495
dubstar_04 Wrote:backtrace:

http://pastebin.com/Y1GTHC3e

i updated my post above too.

Take 3 just pushed up. Too much cut and paste late at night. memsetting over those CStdString objects that had already been initialized in the constructor for the struct would have caused mayhem.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
find
dubstar_04 Offline
Senior Member
Posts: 228
Joined: May 2008
Reputation: 0
Location: Warrington, UK
Post: #496
The last commit fixed setting timers segfaulting.

experience so far:

Setting timers adds the database entry but something is missing as the the recording doesnt happen. mythfrontend reports that no episodes are available.

The description for the recording is also the time and date.

The database doent update once a timer is set.

xbmc wont allow the timers to be deleted.


I am still testing these. once i have enough information i will post logs and helpful information.

dubstar_04

All Things PVR
find
sp00ge Offline
Junior Member
Posts: 3
Joined: Sep 2011
Reputation: 0
Post: #497
sp00ge Wrote:First thanks dteirney for the work your doing here, much appreciated.

I run a split backend / frontend MythTV configuration which is working fine,
but for some reason the XBMC-PVR frontend is having a problem playing any of my channels which use a cam. I've tried increasing the timeout to the maximum of 30 but still no joy.

I'm not sure how the XBMC-PVR MythTV PVR client works out when there is a channel lock,
but I have noticed that when using MythTV as a client, channels that use a cam show a lock as LMSC (Instead of LMS).

Is there any way to show the lock information in XBMC ?

Well, I've just added a few more channels to my MythBackend and noticed that it wasn't just channels that used a CAM that wouldn't play on XBMC,
BBC HD and BBC 1 HD don't seem to work either along with a few other 'in the clear' non HD channels.

I'll try capture some logs tomorrow
find
dteirney Offline
Team-XBMC Developer
Posts: 820
Joined: Jul 2007
Reputation: 6
Location: New Zealand
Post: #498
I'm back after being on holiday for 5 weeks followed by another couple to catch up on life back in Auckland and a lot has changed in MythTV Addon land.

tsp42 has spent a bunch of time doing some work on a MythTV Add-On that solely uses libcmyth for the communication to the backend.

Given that the MythXML API is going to be completely changed for Myth 0.25 that is probably the right road to take, at least for the moment.

The Addon that tsp42 has been working on has the timers working correctly along with all the functionality that was in the Addon in my tree.

I'll spend some time in the coming weeks having a look at how I can help tsp42's addon work more stably and support Myth 0.25 going forward (as libcmyth will need to be updated to support 0.25).

I believe that there should just be a single MythTV Addon so any development resource that is willing to work on it helps push the MythTV integration further along.

I'll post more details here once I've talked with tsp42.

Use MythTV for recording TV? Try the integrated MythTV support in XBMC Media Center. Now with commercial skip support built-in and integration with the Movie database!
find
skyjor Offline
Junior Member
Posts: 1
Joined: Dec 2011
Reputation: 0
Post: #499
Hi,
Wanted to know if you were interested in helping me put together a prototype
box runnning on mythtv with XMBC or if your not familiar with mythtv then just an XMBC box.If not I was hoping you could point me in the right direction.
Looking for someone to build the hardware integrated with the software.
Would appreciate it if you could let me know.

Thanks,
Brad Greenwald
CEO
Simit Inc.

The best way to contact me is to email me at skyjor111@gmail.com
find
vskatusa Offline
Fan
Posts: 341
Joined: Dec 2008
Reputation: 2
Post: #500
Is this planned to be included in the EDEN release?
find
Thread Closed