XBMC Community Forum
New MythTV add-on using libcmyth - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - pennguin - 2012-06-04 16:54

Is the EPG working in the eden-pvr branch? I'm asking because I don't see any EPG information besides current/future recording names. EPG is being imported on startup (at lest I see progress bar in the UI) and the guide is working in mythtv. I'm using myth with DVB-T in Poland and EPG from EIT only. What is more when watching recordings/live tv the program name seems to be some part of teletext.

I will try to get more information (log and screenshots) later since I can not access it right now.


RE: New MythTV add-on using libcmyth - rdoac - 2012-06-04 17:09

It works for me with Eden-Pvr/MythTV.


RE: New MythTV add-on using libcmyth - tdavis - 2012-06-04 20:09

(2012-06-03 23:29)dodoadoodoo Wrote:  Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

Build, install, start xbmc and reset the pvr database in the Live TV settings. Xbmc will rebuild the db with settings so that epg will not be pulled for hidden channels. This what I did, and it has worked out quite well for me.

@tsp: I'd be happy to send you a PR on this (very complicated Wink) fix, if you want to make this part of the package you eventually send to dushmaniac. Let me know what you think.

/D

This is perfect.

thanks!


RE: New MythTV add-on using libcmyth - opteron123 - 2012-06-05 11:10

Heya,

OK, I've tried both branch's of the latest Windows build and both still crash XBMC.

Here is a snippet of XBMC.log

http://pastebin.com/MVY1CnkP

I cut off the end to fit into pastebin, but basically it is just full of:

18:48:59 T:3012 ERROR: AddOnLog: MythTV cmyth PVR Client: LibCMyth: (cmyth)original timestamp string: xxxxxxxxxxxxxxx

EDIT: WOW OK, having just realised that I haven't enabled debug logging, i went back into XBMC and enabled debugging, and now IT WORKS!!!

So now I'll concentrate back on Ubuntu version.


RE: New MythTV add-on using libcmyth - pennguin - 2012-06-05 17:34

(2012-06-04 16:54)pennguin Wrote:  Is the EPG working in the eden-pvr branch?

And looking in the log have showed that my under powered ARMbased mysql server can not handle select query to get program guide for 2 days. Working great on other server. Good work guys! Smile


RE: New MythTV add-on using libcmyth - tdavis - 2012-06-05 18:00

(2012-06-04 20:09)tdavis Wrote:  
(2012-06-03 23:29)dodoadoodoo Wrote:  Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

Build, install, start xbmc and reset the pvr database in the Live TV settings. Xbmc will rebuild the db with settings so that epg will not be pulled for hidden channels. This what I did, and it has worked out quite well for me.

@tsp: I'd be happy to send you a PR on this (very complicated Wink) fix, if you want to make this part of the package you eventually send to dushmaniac. Let me know what you think.

/D

This is perfect.

thanks!

Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.


RE: New MythTV add-on using libcmyth - dodoadoodoo - 2012-06-05 19:13

(2012-06-05 18:00)tdavis Wrote:  Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.

That should be handled by the reset pvr db step, no?

/D


RE: New MythTV add-on using libcmyth - tdavis - 2012-06-05 22:04

(2012-06-05 19:13)dodoadoodoo Wrote:  
(2012-06-05 18:00)tdavis Wrote:  Ok, this works, except you have to remove all previous EPG/Channel db's to get it properly update.

That should be handled by the reset pvr db step, no?

/D

yup


RE: New MythTV add-on using libcmyth - andyb2000 - 2012-06-06 13:11

(2012-06-03 23:29)dodoadoodoo Wrote:  Patch the code. Go into xbmc/pvr/channels/PVRChannel.cpp, and find the
Code:
CPVRChannel::CPVRChannel(const PVR_CHANNEL &channel, unsigned int iClientId)
constructor and find the line below (line 106 in my case, Eden-pvr branch):
Code:
m_bEPGEnabled             = true;
change that line into:
Code:
m_bEPGEnabled             = !channel.bIsHidden;

/D


dodoadoodoo,
Just wanted to say thanks, this has been bugging me for a while and this looks a good quick fix!
(Can I be cheeky dodoadoodoo and ask you to take a quick look at another problem with EPG I have and see if you can think of a quick fix if you know your way around the PVR EPG stuff? http://forum.xbmc.org/showthread.php?tid=115531 )


RE: New MythTV add-on using libcmyth - PhoenixMage - 2012-06-06 15:54

InoD, Do you have a Fusion OpenELEC build? I have tried to compile OpenELEC myself but no joy and the IRC channel doesnt seem to respond when I ask in there.