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 - quickFuse - 2012-05-27 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: Code: # Note this installs MythTV 0.25 +fixes on this version of Ubuntu. 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: Code: --- tools.h.orig 2012-05-27 11:42:20.697377134 -0400 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 (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 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. Cheers RE: New MythTV add-on using libcmyth - andyb2000 - 2012-05-28 Hi all, 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: Code: 2012-05-27 22:11:44.607 MainServer::HandleAnnounce FileTransfer Is this because of my mythbackend being old? It shows mythbackend version: fixes/0.24 XBMC log shows: Code: 10:33:43 T:2850384704 NOTICE: Thread CTCPServer start, auto delete: false RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-28 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?. RE: New MythTV add-on using libcmyth - andyb2000 - 2012-05-28 Hm, very strange. I can start it up with plugin disabled and xbmc itself is fine. Enable the add-one I get a crash, or a hang. http://xbmclogs.com/show.php?id=3042 (EDIT: That first one I didn't have the plugin full debug on, thats with the plugin debug on also) Is the log from xbmc, the last line is where it hangs, basically I've got xbmc onscreen but totally frozen. Any ideas what to try next? RE: New MythTV add-on using libcmyth - ZIOLele - 2012-05-28 (2012-05-26, 23:31)InoD Wrote:(2012-05-26, 18:07)druhboruch Wrote: InoD: Could you share your recent openelec build? Nice! InoD taks for the build, but if your buildscript is integrated in openelec' buildchain, could you share it? so we can build on the latest tsp development. RE: New MythTV add-on using libcmyth - tsp42 - 2012-05-28 andyb2000: Some of the threads can still be alive and produce log messages. Could you provide me with a full stack trace as described in the very first post in this thread of the deadlocked xbmc.bin process? I can't see any obvious reason for the hang in the log file. RE: New MythTV add-on using libcmyth - apnar - 2012-05-28 (2012-05-28, 15:39)andyb2000 Wrote: Hm, very strange. I can start it up with plugin disabled and xbmc itself is fine. Enable the add-one I get a crash, or a hang. I had a similar issue recently. I switched to a new .xbmc dir and it worked fine. RE: New MythTV add-on using libcmyth - KeithLM - 2012-05-29 While working on some other issues with my client system I noticed that on occasional reboots the PVR client wouldn't start every time and coincidentally that the weather was reporting incorrectly. This lead me to think that there was an issue with network connectivity. I've run into other issues with ubuntu and certain services starting in the wrong order and have found a fix for this. If you are using an XBMCbuntu based installation go to /etc/init and edit the file xbmcbuntu.conf and look for the line that begins with "start on". Change it to the following: Code: start on (starting lightdm and net-device-up IFACE!=lo) This will keep xbmc from starting until the network interface is up and connected. RE: New MythTV add-on using libcmyth - andyb2000 - 2012-05-29 Thanks tsp42, Sorry i hadn't seen the method of getting crashlogs there, I've got them for the hung xbmc process, pasted at: http://xbmclogs.com/show.php?id=3062 Am going to try resetting my .xbmc home dir and see how that goes too just incase there is something strange in there. --EDIT: Reset my .xbmc folder, setup just the cmyth add-on, enabled live tv, and same, crash. KeithLM: Good call, this is a common issue I've spotted when my machine powers up, it complains it cannot connect to the PVR service, wait a few seconds, then it comes up. I also attribute this to using Cisco switches which take a while to go through BLF before the interface passes traffic. RE: New MythTV add-on using libcmyth - rdoac - 2012-05-29 Anyone know what's going on with sound in this version. Everything works until it just decides not to. I get this in the log. Code: 07:03:55 T:2990332736 DEBUG: CSoftAE::Run - Sink restart flagged RE: New MythTV add-on using libcmyth - andyb2000 - 2012-05-29 Hi rdoac, I also noticed this with the build, sound effects for the menus, etc, at first boot work fine, however try to play a video, either from your saved ones or via TV and no audio, I get errors about libdvd. I tried the git from dushmaniac and it doesn't suffer from this audio issue (although obviously Myth doesn't work there). RE: New MythTV add-on using libcmyth - InoD - 2012-05-29 (2012-05-28, 17:29)ZIOLele Wrote: Nice! InoD taks for the build, but if your buildscript is integrated in openelec' buildchain, could you share it? so we can build on the latest tsp development. You're welcome. My buildscript is really a custom script that automates the steps needed to build OpenELEC with a different XBMC version. I could share it, but it is not pretty nor perfect. The steps it takes care of for me:
I have some options for which XBMC source to get (tsp's or mine) and whether to do debugging and this is where it gets to get messy. Sometimes my OpenELEC tree gets messed up with changes that weren't undone and since untracked file are not removed on a normal checkout, I sometimes have to manually clean the tree. Let me know if you dare to use it, then I'll post it. RE: New MythTV add-on using libcmyth - dodoadoodoo - 2012-05-29 (2012-05-29, 14:09)rdoac Wrote: Anyone know what's going on with sound in this version. Everything works until it just decides not to. I get this in the log. Looks like you may have AudioEngine running there. Are you perhaps using the master branch? If so, you should probably post a full log over at that thread. If there is no particular reason for you to run master (aka pre-frodo) you may want to try the Eden-pvr branch, which is quite stable. /D |