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 - tsp42 - 2012-06-24 10:54

bas.t: Looks like a wrong version of lib tinyxml. It compiles fine on ubuntu 11.4 with libtinyxml v2.6.2. The default version on debian squeeze is 2.5.3.


RE: New MythTV add-on using libcmyth - opteron123 - 2012-06-24 11:20

Quote:CPP xbmc/filesystem/RSSDirectory.o
ButtonTranslator.cpp: In member function ‘bool CButtonTranslator::LoadKeymap(const CStdString&)’:
ButtonTranslator.cpp:549: error: ‘TINYXML_ELEMENT’ is not a member of ‘TiXmlNode’
ButtonTranslator.cpp: In member function ‘bool CButtonTranslator::LoadLircMap(const CStdString&)’:
ButtonTranslator.cpp:599: error: ‘TINYXML_ELEMENT’ is not a member of ‘TiXmlNode’
/usr/src/setup/xbmc/xbmc/guilib/GraphicContext.h: At global scope:
/usr/src/setup/xbmc/xbmc/guilib/GraphicContext.h:245: warning: ‘g_graphicsContext’ defined but not used
make[1]: *** [ButtonTranslator.o] Fout 1
make: *** [xbmc/input/input.a] Fout 2
make: *** Wachten op onvoltooide taken...
CPP xbmc/filesystem/RTVDirectory.o
CPP xbmc/filesystem/SAPDirectory.o

I am compiling on Debian Squeeze.
[/quote]

I had same issue last week using ubuntu 11.04. I ended up having to track down a libtinyxml2.6.2 package for Ubuntu 11.04


RE: New MythTV add-on using libcmyth - InoD - 2012-06-24 12:16

(2012-06-23 16:33)InoD Wrote:  I must say I haven't tested the build yet, so maybe there something wrong.
I did run into build problems since it now depends on tinyurl which wasn't build for OpenELEC by default.
I'll test the build sometime later this weekend.

It seems to be tinyxml (not tinyurl) indeed. It was build, but not installed.

ION x86_64 (OE2b4 with tsp's Eden-pvr)
Ultra x86_64 (OE2b4 with tsp's Eden-pvr)


RE: New MythTV add-on using libcmyth - InoD - 2012-06-24 12:50

tsp42, when I click 'OK' (Media Center Remote) on a recording folder in "Recordings" it starts to play an item in the folder instead of opening the folder list its items (like it used to do). Now I cannot go to a specific recording. Is this a side effect of your recent changes?


RE: New MythTV add-on using libcmyth - bas.t - 2012-06-24 15:45

(2012-06-24 10:54)tsp42 Wrote:  bas.t: Looks like a wrong version of lib tinyxml. It compiles fine on ubuntu 11.4 with libtinyxml v2.6.2. The default version on debian squeeze is 2.5.3.

OK, but why does master compile fine? Does it not use libtinyxml?


RE: New MythTV add-on using libcmyth - tsp42 - 2012-06-24 16:00

(2012-06-24 12:50)InoD Wrote:  tsp42, when I click 'OK' (Media Center Remote) on a recording folder in "Recordings" it starts to play an item in the folder instead of opening the folder list its items (like it used to do). Now I cannot go to a specific recording. Is this a side effect of your recent changes?
Yes. It should be fixed now. The windows Eden-PVR binary is also updated now.

bas.t: They probably added a libtinyxml version check to master.


RE: New MythTV add-on using libcmyth - kburkart - 2012-06-24 21:38

(2012-06-23 22:27)tsp42 Wrote:  I'm working on implementing the queue and playlist for the recordings as it can be quite tedious to change to the next recording every time my son has watched a 5 minutes episode of Timmy time.

kburkart: No unfortunately not. It can slow things down if you have the "Include more debug information in the log" enabled. Could you do me a favor and post a log from when you watch LiveTV with several channel switches with the "Include more debug information in the log" enabled so I can see if there is a specific reason for the slowness.
The last time I bechmarked the channel switch it took 2 seconds to change the channel and 5 additional seconds for ffmpeg to figure out the stream type. So the major bottleneck is ffmpeg and I'm not sure if I can do much about it.

InoD: I just saw you updated the PR. I must admit that I'm not a big fan of the macro's in the c++ code. Will see if there is a way to reduce them. Else it looks good.

TSP,

a copy of my log is located here http://xbmclogs.com/show.php?id=4054

thx,
Kevin


RE: New MythTV add-on using libcmyth - bas.t - 2012-06-24 23:23

(2012-06-24 10:54)tsp42 Wrote:  bas.t: Looks like a wrong version of lib tinyxml. It compiles fine on ubuntu 11.4 with libtinyxml v2.6.2. The default version on debian squeeze is 2.5.3.

I'm nearly there: It is most likely a bug which is introduced in the Eden branch in main, when the use of external tinyxml was backported from master to Eden
Probably commit 6f76eeef2a introduced the issue. I am still investigating and will file a bug on trac when I'm done.

I don't know why, but opdenkamps pulse-eigt repo (Eden-pvr-cec) from which opdenkamp compiles all ubuntu xbmc packages compiles fine on my Debian Squeeze machine

UPDATE:

I created a ticket here.

UPDATE 2:

Fixed. I made a pull request. Hopefully it gets merged soon.

This also explaines why master compiles fine with libtinyxml v2.5.3 and Eden does not. The fix was already in the master branch and probably overlooked while backporting to Eden


RE: New MythTV add-on using libcmyth - MastaG - 2012-06-25 09:53

(2012-06-23 23:59)tsp42 Wrote:  I've added the option to queue recording and recording folders to "Now playing" list in the context menu and the series recording feature to the Eden PVR branch. The Windows Eden-PVR binary has been updated. The master branch compile bug should be fixed although the branch doesn't contain the previous mentioned additions.


Does it mean that everything from branch "series_recording" has been merged with "Eden-pvr"?
Also I've seen some posts about channel switching delays, would the master branch provide faster channel switching compared to "Eden-pvr"?

Thanks


RE: New MythTV add-on using libcmyth - tsp42 - 2012-06-25 20:25

kburkart: Thanks. It looks like the log is from starting up LiveTV and not from changing channels?

MastaG: Yes series_recording has been fully merged with Eden-PVR. The channel switching time should be the same in master and Eden-PVR unless the upgrade to ffmpeg did something.
Due to the playback bug in the master branch I recommend Eden-PVR for now.