![]() |
|
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 - tdavis - 2012-05-14 17:48 (2012-05-14 16:00)kburkart Wrote:(2012-05-13 00:09)tdavis Wrote:(2012-05-12 17:49)fiveisalive Wrote: I tested patching tsp's cmyth branch with the myth-0.25 patch and I have it "working" in the sense that it loads the EPG and channel info. I tested this on a separate machine with no video card, using the "dummy tuner" module built into the mythbackend, so I was unable to test Live TV or recording playback, but at least the EPG/schedule and channel info loads correctly, which is generally a good sign. I did that in the tsp directory. I'm on Fedora16, so it could be anything; also, did you re-use the .xbmc directory? I normally just clean it out when it crashes and reconfigure the PVR portion for testing. RE: New MythTV add-on using libcmyth - stevellion - 2012-05-14 20:55 Just switched to the Eden-pvr branch now for my main HTPC. Constellation (iPad remote) works properly again, as it wasn't picking up the LiveTV before. TSP - It's a fantastic job you've done here - Thanks! Now, if only I could figure out how to use the regexp to organise my recordings a bit better... RE: New MythTV add-on using libcmyth - InoD - 2012-05-14 21:18 (2012-05-13 21:53)tsp42 Wrote: Well my suggestion would be to add the check to the MythConnection, MythEventHandler::ImpMythEventHandler, MythFile and MythRecorder class. We would also have to add a new cmyth function to reconnect an existing cmyth_conn_t structure. This would save the trouble of renewing and tracking all the cmyth pointers in the c++ code. I don't have much experience with socket programming but I suspect that the current way of detecting a hung connection in socket.c is not the best way to do it. Ok, I will have a look at that. I will do some tests to see what is the best way to find out the connection is gone. Maybe it would be a good idea to set some sort of error code to indicate reconnecting is necessary, instead of conn_hang. So far I've been trying to implement restart of all (active) PVR clients (PVRClients::StopClient()) on wake-up from standby (Announcement from AnnouncementManager), but there is a lock-up when stopping the PVRClients thread (I think)... trying to find out why. RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-05-14 23:15 (2012-05-14 16:13)tsp42 Wrote:(2012-05-14 12:08)bilbonvidia Wrote: "I've ported the addon to the stable Eden PVR branch. You should be able to "git checkout Eden-PVR" now."Yes it is the mythtv addon with the Eden PVR code. It should be more stable. Okay thats done back on eden stable with the addon, thanks. I have the changing channel while in live tv freezing issue again, xbmc log: http://pastebin.com/ABcUHqsB .. just trying to figure out how to get the output of gdb http://pastebin.com/whYd6Abi RE: New MythTV add-on using libcmyth - stevellion - 2012-05-15 11:17 OK - Just wanted to check I'm doing the right thing, for the most stable, wife accepting build. Yesterday, I did git clone git://github.com/tsp/xbmc -b Eden-pvr xbmc (ie, picking up the Eden-pvr branch from tsp's repository) Is that the right thing? or should I be cloning from somewhere else? RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-15 22:03 (2012-05-13 23:01)fiveisalive Wrote:No clue about what is going on with dushmaniac's code. Maybe he is on vacation or need a break from the code. A bit unfortunate as the pull request for marking the recordings as watched is waiting for him.(2012-05-13 21:53)tsp42 Wrote: I've ported the addon to the stable Eden PVR branch. You should be able to "git checkout Eden-PVR" now. Next change will be to add the MythTV 0.25 patch. I'm not a git expert but something like this the following should generate a patch file: Code: git remote add main git://github.com/xbmc/xbmc.gitI intent to backport the changes to the Eden-pvr branch (as it is the branch I use on my HTPC now). Quote:OK - Just wanted to check I'm doing the right thing, for the most stable, wife accepting build.if you already have cloned my repo then a "git pull" followed by a "git checkout Eden-PVR" should be sufficient. bilbonvidia: I've added the gdb stack trace informations to the first post in this thread. RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-05-15 22:12 Quote:bilbonvidia: I've added the gdb stack trace informations to the first post in this thread. http://pastebin.com/whYd6Abi RE: New MythTV add-on using libcmyth - fiveisalive - 2012-05-17 01:19 (2012-05-15 22:03)tsp42 Wrote: No clue about what is going on with dushmaniac's code. Maybe he is on vacation or need a break from the code. A bit unfortunate as the pull request for marking the recordings as watched is waiting for him. Yes, things seem to have gone quiet, but I figured there might be a discussion or announcement on one of the threads, but I couldn't find any. Quote:I'm not a git expert but something like this the following should generate a patch file: Thanks, here's what I ended up with, to get a patch that works with the pristine upstream tarball (tagged in git as "11.0-Eden-r2"): Quote:git clone git://github.com/tsp/xbmc.git xbmc-Eden-pvr However, the patch also modifies the ffmpeg sources (as well as files in DllAvFilter etc.), and since the RPM Fusion package builds against the external ffmpeg package, I removed all the hunks against those files and one's in lib/ffmpeg. Is it necessary to patch ffmpeg-related files (relative to the pristine tarball for Eden) for the PVR support? Or did that change make into the Eden-pvr branch, because it tracks the Eden branch, rather than starting from the original Eden tarball release? Quote:I intent to backport the changes to the Eden-pvr branch (as it is the branch I use on my HTPC now). Cool! Currently I'm adding the myth-0.25 patch to my package as well, but hopefully that will be rolled into your patch soon. RE: New MythTV add-on using libcmyth - kburkart - 2012-05-17 15:47 Ok, so what is the best way to get EDEN-PVR with myth .25? Rookie needs hand holding
RE: New MythTV add-on using libcmyth - Paradox - 2012-05-17 16:02 I'm trying what tdavis did above.. |