New MythTV add-on using libcmyth - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Add-ons (/forumdisplay.php?fid=26)
+---- Forum: PVR (/forumdisplay.php?fid=136)
+---- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
RE: New MythTV add-on using libcmyth - Paradox - 2012-05-17 17:02
I'm trying what tdavis did above..
RE: New MythTV add-on using libcmyth - FrogBoy - 2012-05-18 00:38
(2012-05-13 00:09)tdavis Wrote: I did this:
Thanks, I did exactly this and the connection to Myth 0.25 seems to be working. I am having stability issues with my build of XBMC generally but the Myth connection seems to work.
One thing I did notice is that channel switching when watching live TV seems very slow (10-15 seconds), is this expected?
RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-18 01:23
The code for MythTV 0.25 is now added from dteirney's site so you don't have to apply the patch.
FrogBoy: Yes the channel switching is very slow right now. I had to change the code to avoid a deadlock when changing the channels after I enabled time shifting.
fiveisalive: The patch against the ffmpeg code adds support for multichannel aac. You don't need the patch if you use an external ffmpeg library.
RE: New MythTV add-on using libcmyth - Paradox - 2012-05-18 02:04
Applied the patch as well and the channel switching is slow. So we can just clone https://github.com/dteirney/xbmc.git build/install this now?
General question...Can timeshifting be turned off?
TSP, you're a legend. Do you use an IDE for your development? If so, which one?
RE: New MythTV add-on using libcmyth - fetzerch - 2012-05-18 10:28
Can anyone confirm that the multiplex tuner selction is fixed with mythtv 0.25?
RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-05-18 12:46
(2012-05-18 01:23)tsp42 Wrote: The code for MythTV 0.25 is now added from dteirney's site so you don't have to apply the patch.
hi tsp42, regarding the code change re-deadlock, is this since I had my channel change issue or was it implemented already before eden-pvr? If I am on new the new code, did you see anything obvious in that gdb dump?
Also, is this now compatible with mythtv 0.25?
RE: New MythTV add-on using libcmyth - kburkart - 2012-05-18 15:46
Ok, got myth25 working following the above instructions. Had the system freeze up on me once, but overall things look great. The next question I have is does anybody have this working as a server running PXE boot to diskless headends? If so could you point me to how this is setup.
RE: New MythTV add-on using libcmyth - fiveisalive - 2012-05-18 16:15
(2012-05-18 01:23)tsp42 Wrote: The code for MythTV 0.25 is now added from dteirney's site so you don't have to apply the patch.It looks like there is now a new branch "Eden-Pvr" (in addition to "Eden-pvr", note lowercase), so it seems the branch has been duplicated, was this intentional, or was a new branch created inadvertantly? See: https://github.com/tsp/xbmc/branches
Quote:fiveisalive: The patch against the ffmpeg code adds support for multichannel aac. You don't need the patch if you use an external ffmpeg library.
Thanks, good to know. Which files can I then exclude from the patch? From trial and error, I noted it was not sufficient to exclude only files in lib/ffmpegm U also had to exclude files in codecs/DVDplayer in order for the compile to work. I'm guessing because there was some kind of API change.
RE: New MythTV add-on using libcmyth - tdavis - 2012-05-18 18:00
(2012-05-18 15:46)kburkart Wrote: Ok, got myth25 working following the above instructions. Had the system freeze up on me once, but overall things look great. The next question I have is does anybody have this working as a server running PXE boot to diskless headends? If so could you point me to how this is setup.
The closes I can come is to use OpenElec.tv but - that does not have the 0.25 fixes, or this plugin built in. I haven't tried to build OpenElec lately - they are also headed to a 2.0 release.
I PXE boot MiniMyth 0.25 and OpenElec.. that way, I can pick and choose what I want to use. Got to keep the WAF up there, she's crazy enough about her Kylin TV (Chinese palace dramas.. She just loves them!)
RE: New MythTV add-on using libcmyth - sos_xbmc - 2012-05-19 03:43
I just joined the forum to say that this cmyth interface works great (although only had a couple of hours to play around so far - and I'm brand new to using xbmc)! I'd previously tried and failed to get the mythbox plugin working with myth 0.24, and with 0.25 nothing worked (until now).
I just compiled this brach from the git source this morning (on Arch linux). Seamless integration and detection of my 0.25 myth backend. Picked up the EPG data and channels correctly and watched my first TV in xbmc. Nice.
Main advantages over mythfrontend: slick interface, weather works.
Main disadvantage: a bit more cumbersome to navigate the menus for pictures, video and TV. Also slower to tune to the TV stream.
I'll keep playing with it and feedback any issues - and am looking forward to ongoing development
RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-19 07:45
So with the current state of things, how do we get 0.25 support? I haven't been running mine for a month or so, so I just did a git pull and rebuilt, but it's not connecting to myth 0.25.
Update: OK, so there's something about an Eden-PVR, or Eden-Pvr, or Eden-pvr branch. Right? Which is which? TSP has mentioned Eden-PVR, but that doesn't appear to exist. I've tried 'git checkout Eden-Pvr' but a git pull says I'm up to date, likewise with Eden-pvr. So if I'm to date with all those, then what I built should work with 0.25, right?
Is there any reason we can't get these instructions put someplace like the very first post so we don't have to read hundreds of posts to know how to keep this up to date?
RE: New MythTV add-on using libcmyth - poly_boi - 2012-05-19 08:49
Hi I'm having a problem while compiling from the Eden-pvr branch. Every time I use the make command I get these errors
/usr/bin/ld: cannot find -lboost_system
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_regex
collect2: ld returned 1 exit status
make: *** [/home/user/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr] Error 1
make: Leaving directory `/home/user/xbmc/xbmc/pvrclients/mythtv-cmyth'
make: *** [pvrclients] Error 2
As far as I know I installed all the dependencies. I'm running Ubuntu 12.04, could this be the problem? Any help would be greatly appreciated as I am eager to try out the new mythtv addon.
Thanks in advance.
RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-19 09:11
poly_boi, afte looking a little closer at what I'm dealing with, I'm finding that I can no longer compile correctly because of those same libraries, even though I could compile this project in March. So something has changed with regards to boost. I know I have boost 1.46 installed on my system, while not the latest, that appears to be the correct version for this project. Now it's possible that there's something in boost that needs to be built, I don't recall how I installed boost and it's not in apt. I have several other boost libraries on my system, but I do not have those three for some reason.
Update: Well I've decided to do a full build and install of Boost 1.49.0. poly_boi, go here and follow the instructions:
Go to step 1 to find the downloads, get the code and unzip it. Then go to 5.1. I recommend doing the following as root:
cd boost_1_49_0 (or whatever the directory is)
The last command copies the files over to the system directories (/usr/local/lib/) and you can actually just run that to build and install, but I did them separate just to make sure I could see if there were any issues.
RE: New MythTV add-on using libcmyth - poly_boi - 2012-05-19 10:16
Thanks for your help KeithLM. I'll let you know how I go.
Update: Thanks heaps KeithLM. Seemed to work fine. I just need to work out why I keep getting an unknown error now when I try to enable the add-on.
RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-19 14:15
Sorry for the confusion about the two Eden-P/pvr branches. The Eden-pvr branch is the correct one. The other one was created because windows is case-insensive while github is not. So I was able to git checkout Eden-Pvr locally even if the branch didn't exist and when I pushed it upstreams github decided to create a new branch. The tricky part is to delete the extra github branch without deleting my local Eden-pvr branch.