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 - cfetzer - 2012-05-24 08:00
You have to modify Makefile.in to make it compile again (see https://github.com/tsp/xbmc/pull/19).
RE: New MythTV add-on using libcmyth - rdoac - 2012-05-24 15:08
Looks like Makefile.in has been fixed now.. Thanks
RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-25 06:25
Well while following different suggestions I've found that the upgrade from 11.10 to 12.04 actually commented out a number of my sources in apt. I have to look further into that as some of them are for apps I'm using regularly. Still, I believe I've fixed my problem. Part of it was that there appears to be an issue with one of the packages, I was getting this error from apt-get:
librtmp-dev : Depends: librtmp0 (= 2.4~20110711.gitc28f1bab-1) but 2.4~20110711.gitc28f1bab-1ubuntu0~ppa2~natty2
There was more to it, I didn't get it all copied out of the console. But it appears that something may not have the librtmp0 version right. Or else there's some other more significant issue with my system. I used apt-get to download librtmp-dev and the curl library, and then used dpkg to force installs of those, as I do have librtmp0 on my system, and apt claims it's the latest. I have no idea how I got into this mess or why, perhaps something bad occurred with the upgrade from 11.10 to 12.04, I have no clue.
It's compiling now, so I'll see what happens.
RE: New MythTV add-on using libcmyth - InoD - 2012-05-26 11:55
(2012-05-20 23:47)tsp42 Wrote: InoD: Could be done yes. I'm still using 0.24 so haven't noticed the log spam. Another option would be to only update the recording list when xbmc asks for it. This would mean users would have to click on recordings to update the list.
Thanks to a cleaner log file I found something interesting regarding the CMYTH_EVENT_RECORDING_LIST_CHANGE_UPDATE events:
It seems fetching of the preview image causes MythTV to send an update event. Still have to find out what is exactly happening during that fetch and why it fetching them after a restart.
RE: New MythTV add-on using libcmyth - rdoac - 2012-05-26 17:59
Is there a way to provide better mapping for US style ATSC Channel numbers? For instance in Myth I have:
As the -2 are the second program on the Mux. When I switch on (use same channel numbers as backend) they both get flattened to 13 or 17. Without that, I also get two of them, as I have the same channels from two different Source ID's. (In Mythfrontend I change the tuner to change source id (ie, OTA vs Cable).
RE: New MythTV add-on using libcmyth - druhboruch - 2012-05-26 18:07
(2012-04-20 21:43)InoD Wrote: Anyway, I can upload my build results (64-bit ION and Ultra only) to Dropbox when I've got a successful build for both.
InoD: Could you share your recent openelec build?
RE: New MythTV add-on using libcmyth - InoD - 2012-05-26 23:31
Of course. Please find OpenELEC 2.0 beta 4 with tsp's latest code from his Eden-PVR branch behind the links below:
(at time of uploading/writing it is no longer latest... the GIT hash tag is in the filename)
tsp42: I think my preview icons are removed by fileOps2::cleanCache(). Adding some debug prints to track that code. After reboot getPreviewIconPath reports the preview icon to be not existing, while on the previous boot it was there, so something is not quite right.
Ah, found it I think:
RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-27 00:40
(2012-05-26 23:31)InoD Wrote: Ah, found it I think: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.
RE: New MythTV add-on using libcmyth - druhboruch - 2012-05-27 02:25
InoD: Thank you very much. I also thank tsp for all your work on this great addon!
RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-27 06:17
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.
Anyways, the only issue I ran into was that the channels came in all wrong. After I looked at it a bit I figured out that it just renumbered them, so I started poking around in the options. I saw that it was set to use the backend's numbering, but that mentioned that it only works with one backend. So then I remembered that I had noticed both myth add-ons being enabled. Once I disabled the other myth add-on and did a reset on the epg data it worked fine.
On that note, anyone have any recommendations on the best way to remove a lot of channels? Should I do it in XBMC or on Myth? I swear I removed them all from mythweb yesterday, but they showed back up. I need to remove hundreds, probably somewhere around 500. I removed a small block from mythweb today and it seemed to take, but I'm worried they'll come back. Myth has been behaving strangely in this regards. Earlier this week while trying some stuff with it I deleted all channels (in Myth) and rescanned, and Myth kept crashing. I gave up on it, and a few days later looked at the backend and all the channels were back. So it may be rescanning and re-adding channels on its own for all I can tell, which means it may wipe out my changes once again.