New MythTV add-on using libcmyth - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/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 - bilbonvidia - 2012-05-14 "I've ported the addon to the stable Eden PVR branch. You should be able to "git checkout Eden-PVR" now." What does this mean exactly, I can get the stable eden pvr with this addon? Is it literally just git checkout Eden-PVR then a git pull and recompile? Thanks and sorry for all the questions. RE: New MythTV add-on using libcmyth - kburkart - 2012-05-14 (2012-05-13, 00:09)tdavis Wrote:(2012-05-12, 17:49)fiveisalive Wrote:(2012-05-11, 12:15)Jimmer Wrote: five has managed it here: When you say compiled it up what do you mean? Do I have to compile both the dt directory and the tsp directory? I did a bootstrap, configure, make and make install of the tsp directory. I get the epg info, but when I try to change and watch a live channel, XBMC crashes and takes me to XBMCbuntu desktop. RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-14 (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. You have to pull before you checkout but else it is just a recompile RE: New MythTV add-on using libcmyth - bas.t - 2012-05-14 EDIT: This is not needed anymore. I think commit 91bfc4eaed took care of this. (2012-05-10, 11:05)dteirney Wrote: @bas.t you need to upgrade libboost to 1.46 or later. Thanks a lot! It compiled just fine now. I'm going to test. RE: New MythTV add-on using libcmyth - bas.t - 2012-05-14 So having mythtv 0.25 support boiles down to this: (correct me if I'm wrong, please!) Code: curl -Ls --output 0.25.diff http://pastebin.com/raw.php?i=bjeCUELy #I combined the patches mentioned by fiveisalive to a new diff RE: New MythTV add-on using libcmyth - tdavis - 2012-05-14 (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 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 (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 (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 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 (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.git I 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 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 (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 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 I'm trying what tdavis did above.. |