Kodi Community Forum

Full Version: New MythTV add-on using libcmyth
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(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.
(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

(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
(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

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.
tsp,

starting up live tv takes 20 some odd seconds, it only takes 3-5 second in mythfrontend.

I will get you a channel change tonight.

thx,
Kevin
It seems that it will take a while untill my pull request on main actually gets pulled.

If you want to compile the Eden-pvr branch with tinyxml < 2.6.0 (like on Debian Squeeze) you don't have to wait for that.

Code:
git clone https://github.com/tsp/xbmc.git && cd xbmc && git checkout Eden-pvr

Now add the fix (which is already in master and will be included in the Eden.1 bugfix release):

Code:
git remote add upstream git://github.com/xbmc/xbmc.git

git fetch upstream

git cherry-pick 8de0e038df

git cherry-pick d98a21a852

git reset --hard HEAD

Now you can compile like you normally whould.

Hi,

I am running a kubuntu precise machine and have problems with this addon. A few seconds after I start xbmc (15 seconds) it will completely freeze. Looking at the log I guess it has something to do with the EPG data fetcher. Only a kill -9 will stop the process.
This problem has not been visible with older versions of the addon (a few months ago).

Stacktraces after the crash:
http://pastebin.com/eMcpqp1K

xbmc log with debug enabled via advancedsettings (can't get to the menu in this short time):
http://pastebin.com/K9ttq21H

Line 612 in the log says:
20:55:42 T:2873150272 ERROR: Action - thread PVR add-on updater, Unhandled exception caught in thread process, aborting. auto delete: 0
maybe this is the point where you could start looking for the bug Smile

I did a git pull + recompile (make clean all) today, so problem is still present.

best regards,
Martin
lonestar: Thanks for the report. Does it also happend with the Eden-PVR branch?
Quote:
Quote:
(2011-09-22, 00:11)tsp42 Wrote: [ -> ]Boost version 1.44 or later is needed. On Ubuntu make sure to install libboost-regex-dev and libboost-filesystem-dev in addition to libboost-dev

This is not true anymore. I am compiling on Debian Squeeze, with libboost 1.42
I think commit 91bfc4eaed took care of this.
Thanks I've updated the first post.

According to the commit that fixed it, libboost 1.41 should be sufficient. So maybe you want to update the first post once more...

Hi,

I checked out Eden-pvr in a new sandbox and built and tried this one. same effect:

xbmc.log:
http://pastebin.com/Li7sjTTK

bt:
http://pastebin.com/S4YjFrku

What I forgot to mention yesterday:
I tried mythtv 0.24 and 0.25. Both had this problem
I have most channels set to "useonairguide=false", as I only use about 15 channels of the 100+
Hi All,

Just compiled up on mythbuntu 12.04 and the Ubuntu install instructions were perfect except I had to add the following extra libraries.

Code:
sudo apt-get install libtinyxml-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev

Just thought it might be useful to someone.

Cant wait to test it out it looks amazing thanks for all the work that's been put into this!




(2012-06-28, 19:45)lonestar Wrote: [ -> ]Hi,

I checked out Eden-pvr in a new sandbox and built and tried this one. same effect:

xbmc.log:
http://pastebin.com/Li7sjTTK

bt:
http://pastebin.com/S4YjFrku

What I forgot to mention yesterday:
I tried mythtv 0.24 and 0.25. Both had this problem
I have most channels set to "useonairguide=false", as I only use about 15 channels of the 100+

I did some further tests and discovered why xbmc failed for me: LC_CTYPE was set to de_AT instead of de_AT.UTF-8.
So it starts up correctly yet now it fails to play recorded shows:

http://pastebin.com/6fSExs2q
I had to cut some lines from the top, as I exceeded the 500k size limit on pastebin.
The stream I want to watch is currently recording. Doesn't work on previously recorded streams either. I just wanted to use one where no german umlauts are in the title and had no prerecorded one available.

any ideas?

Live TV doesn't work correctly either, but let's first look at this.
lonestar: It looks like the port is not setup correctly. The addon tries to connect to port 0 and fails.
The port of the cmyth addon is set to 6543. I checked in gui and in the xml file (settings.xml).