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)
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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
RE: New MythTV add-on using libcmyth - opteron123 - 2012-05-27 06:55
(2012-05-27 06:17)KeithLM Wrote: Well I've got my 11.10 box talking to MythTV now. I'm still having some issues with Myth, but that's Myth. Near as I can tell they haven't fixed any of the transcoding problems that I saw before, as in it's real crappy and can only support 2-channel mp3 audio and it doesn't really compress the files to a reasonable size without reducing quality significantly. I'm going to attempt to have it call handbrake once I can get all the details worked out, perhaps add in commercial removal too.
How did you get passed the Plugin suffered an unknown error trap?
im still having dramas.
RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-27 06:59
(2012-05-27 06:55)opteron123 Wrote: How did you get passed the Plugin suffered an unknown error trap?Best I can figure is that a recent change fixed the problem I had. Either that or it was a matter of just starting with a completely fresh build in a whole new directory.
RE: New MythTV add-on using libcmyth - InoD - 2012-05-27 10:07
(2012-05-27 00:40)tsp42 Wrote: Yes that is the problem. The preview icons is most likely deleted when clean cache is called the first time if m_preview is not initialized with the local preview images (and that would happen if m_jobqueue is emptied before the last call to getPreviewIconPath. I will use your suggestion and add a 24 hour delay before the first cache clean. Your preview icons should be redownloaded when getPreviewIconPath is called again (=every time the recording list is updated) but it sounds like that doesn't happens.
Ok, thanks. I will test it soon. Well, that does happen, but during startup it first grabs channel icons and probably it is done with that (m_jobqueue is empty) before it starts on the preview icons, but by that time cleanCache() was called. I think this change should do the trick.
The pull request from ktdreyer (168cb10443) causes compile errors on Linux now. Three log calls has CStdString as arguments... they should be converted using c_str() first.
Edit: there is also a compile error in tools.h (line 119), but I have no time to fix it now.
RE: New MythTV add-on using libcmyth - opteron123 - 2012-05-27 12:29
BLAST!!! (Damn I'm having a bad day)
I have just had to re-apt-get tinyxml headers to compile the latest git pull...weird.
Won't compile now because of boost library cStdString errors, is that related to what InoD has experienced? Or will I have to reinstall boost libraries again.
So giving up on ubuntu for the moment and testing on Win7 laptop.
Windows build 22052012 crashes after updating channel listings from 0.25 mythtv backend, is this a known issue, or have i stuffed something up here too?
Also where are the logs stored on windows XBMC?
RE: New MythTV add-on using libcmyth - cfetzer - 2012-05-27 13:53
Tsp added my fix for the broken multiplex detection (see https://github.com/tsp/xbmc/issues/9) to his xbmc/master branch.
Problem was that while a recording was ongoing, you could only watch live tv on a channel with the same multiplex.
It seems to work quite nice now, however let me know if you experience any problems - especially if you use uncommon hardware (like digial+analog tuner on one device).
RE: New MythTV add-on using libcmyth - quickFuse - 2012-05-27 18:20
How I built and installed this on Ubuntu 12.04
First I downloaded Precise Pangolin, I used the PC (Intel x86) desktop CD http://releases.ubuntu.com/precise/. I used Unetbootin to create a bootable USB drive from the above ISO. Then I booted the USB drive and performed a new install taking the option to install any package updates.
Once installed the first thing I did was install binary drivers for my graphics card (AMD A8-3850 with ATI Radeon HD 6550D graphics in my case) using the provided Ubuntu wizard. A notification window basically pops up prompting you to do this when you first login.
Now I installed mythtv and other build dependencies as documented in earlier posts and from README.ubuntu in the source and started the build process:
As noted above there's still a typo in the source (at least in my checkout of the code from a few mins ago) in tools.h at line 119. You can fix that with this patch:
Also as noted above there are 3 compile errors in fileOps.cpp from calls to XBMC->Log. I basically just commented them out, or rather hacked them to compile. Not sure what the proper fix is.
Then I did make install and tested out the software. I had some pretty cool results. For comparison, I've been using MythBox on XBMCbuntu 11.10 for some time, and wanted to try this PVR branch instead and also get mythtv-0.25 in the process. I'm using OTA for reception with an HVR-2250 tuner and I was very surprised to see the results of the first channel scan bring in another 6 channels than I usually get! I was then even more pleased after installing the new Aeon Nox 3 skin, which has the Live TV menu there. Awesome! Seemed like it was time to upgrade....
Unfortunately I've had to since image this HTPC back to the XBMCbuntu 11.10 install for now, as changing channels is just unbearably slow. Like 10 seconds or maybe even more. Too frustrating. There seems to be some other stability issues as well but I don't have anything specific in terms of logging or debugging to provide. MythBox is a little slow to change channels but it's at least pretty stable.
I took an image just before reverting back, so I can re-image back to the 12.04 install sometime and update, rebuild and experiment some more. It was fun to test it out, and Thanks again to everybody putting in their efforts. Looking forward to some improvements allowing for a stable transition, it just feels a lot tighter than the MythBox thing.
RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-27 22:28
(2012-05-27 12:29)opteron123 Wrote: BLAST!!! (Damn I'm having a bad day)The compile errors should be fixed now. The windows build shouldn't crash but I will have to update the build to the latest version (Do you use the Eden or master build?). The log file is stored in the \Users\[USERNAME]\AppData\Roaming\XBMC directory.
quickFuse: I'm working on improving the channel switch time. Is the time is takes to switch channel with my addon comparable to the time it takes MythBox to open LiveTV an display the first channel?.
RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-05-27 23:35
Hi tsp42, It takes 12 seconds ish to change channels on xbmc 4- 7 seems to vary on mythtv after a brief test. 7 second to first come on mythtv and 14 on xbmc, this is with xbmcbuntu upgraded to 12.04. From what I have read, 4 seconds is a very fast change for mythtv.
RE: New MythTV add-on using libcmyth - andyb2000 - 2012-05-28 11:35
Just did a git pull to get the latest, compile itself looked fine (after a few tweaks as posted previously by others), but as soon as the plugin starts up it crashes xbmc. It looks like it might be a version mismatch, my myth backend shows:
Is this because of my mythbackend being old? It shows mythbackend version: fixes/0.24
XBMC log shows:
RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-28 12:45
andyb2000: No it should work with 0.24. Do you use the eden pvr or master branch? Could you pastebin the crash log so I can see what causes the cras?.