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
|
- dubstar_04 - 2011-09-27 tsp42 Wrote:The leak should be closed now. Thank you for your quick work on this!! I am building a fresh clone. I will feed back if i find anything new. Thanks, Dubstar_04 - dubstar_04 - 2011-09-27 Wow, What an improvement!!! It starts up in seconds and memory usage is about 50MB now instead of 1.5GB!! One of the cpu cores is still pegged at 100% while xbmc is running, is there anyway of finding out what might cause it? maybe feedback to dushmaniac? thanks again, Dubstar_04 - tsp42 - 2011-09-28 dubstar_04 Wrote:Wow, The high CPU utilization on linux should be fixed now. Using a profiler is usually the best method to finding the cause. I use intel vTune on linux. - dubstar_04 - 2011-09-29 tsp42 Wrote:The high CPU utilization on linux should be fixed now. Using a profiler is usually the best method to finding the cause. I use intel vTune on linux. That seems to of fixed it. cpu useage is now ~18% compared to >!00% before. I am seeing a small memory leak, i can't be sure but i think its when loading the guide (timeline). The memory usage gently climbs from 50mb and never goes down. i will try and investigate this tonight. Thank you for your work, Dubstar_04 - dubstar_04 - 2011-09-29 There does seem to be a memory leak when selecting the EPG:Timeline view. logs from current build: Massif log: http://paste.ubuntu.com/699172/ Massive output file: http://paste.ubuntu.com/699173/ Valgrind log: http://paste.ubuntu.com/699174/ - tsp42 - 2011-09-29 Maybe related to this? I will try to improve the timers (and maybe the sorting of records) before investigation this leak further (not as severe as the last leak). It is a bit complicated to map the MythTV timers to the XBMC PVR timers (suggestions are appreciated). I've been thinking about showing a custom window when adding a recording with the different mythtv specific options at least this would reduce the need to mess around with the XBMC PVR code. - dubstar_04 - 2011-09-30 tsp42 Wrote:Maybe related to this? Dushmaniac may well be aware of the memory leak. I could always add the leak on his git repo next week if its not resolved. I had a quick look at the timers last week as not all the timers are pulled into xbmc. i never got to the bottom of the issue but it looks like anything that has a blue traffic light in mythtv-frontend is included the yellow ones are missed. the reasons for the colours vary. I was using a method to not include any timers that ended before the current time. That made the timers window easier to understand as only current and future recordings were shown. I will try and have a look at how the mapping works and see if i can understand it, although you have probably thought of everything i would suggest! if you can add a window through the cmyth add-on, that would be superb. maybe speak with dushmaniac regarding his intention to implement recording types in the future as i'm sure he would accept patches to the pvr code? - tsp42 - 2011-10-01 I've added sorting of recordings by date to the context menu. dubstar_04: Can you check if the missing timers are in the sql database (in the record table)? - dubstar_04 - 2011-10-01 tsp42 Wrote:I've added sorting of recordings by date to the context menu. I have just built the latest git. The recordings are much easier to understand now. thank you. I have done a side by side comparison of the mythconverge record table and xbmc timers and they tie up!! The majority of the mythtv pvr add-on is now complete!! just a few little nips and tucks and tweaks here and there (to the pvr framework) and it will be a usable everyday front end!!! really great work!! I can't thank you enough for the constant updates and fixes. - Hirs - 2011-10-02 Could you merge with master? there is a new feature I already can't live without it http://forum.xbmc.org/showthread.php?p=898913 I feel the perfect PVR is coming - dubstar_04 - 2011-10-02 i've been using this build this morning and i have noticed a few issues: 1. if i watch a channel then stop live tv, then go back to that channel, xbmc hangs. Log: http://paste.ubuntu.com/700948/ 2. if i try to reset the pvr database from the settings menu xbmc closes. crash log: http://paste.ubuntu.com/700941/ 3. The sorting selection in the recordings screen is not remembered following a restart. 4. a few random crashes when exiting live tv (not that often) crash log: http://paste.ubuntu.com/700943/ log: http://paste.ubuntu.com/700947/ 5. Sometimes i cant exit the pvr interface using the 'home' button. this is irregular and difficult to replicate. i will provide more details when i can. Thanks, Dubstar_04 - dubstar_04 - 2011-10-02 dubstar_04 Wrote:i've been using this build this morning and i have noticed a few issues: Additional information: if live tv is stopped, watching a recording or any live channel hangs xbmc. http://paste.ubuntu.com/700984/ http://paste.ubuntu.com/700990/ - tsp42 - 2011-10-02 dubstar_04: I've fixed one cause for the lock-ups. Could you please see if it improves anything? Hirs: You will have to wait until opdenkamp updates his repository as I don't know the PVR code good enough yet to merge from main line yet. If I find the time I could try to apply the patch from bobo1on1 (But I doubt I will, as I will rather use the time to debug my own code). - dubstar_04 - 2011-10-03 tsp42 Wrote:dubstar_04: I've fixed one cause for the lock-ups. Could you please see if it improves anything? I have had a quick test this morning and when stopping live tv xbmc just freezes with the last frame left on screen. http://paste.ubuntu.com/701394/ http://paste.ubuntu.com/701399/ not sure if this affects anything: Code: cppmyth.cpp: In constructor ‘MythEventHandler::ImpMythEventHandler::ImpMythEventHandler(CStdString, short unsigned int)’: - takiaine - 2011-10-03 First of all, thanks for all your work. I did not have time to check the progress with mythtv PVR addon for some time, and now I see that there is a whole new addon developed for it. Here are some things that I noticed while testing the latest code. Quote:I have had a quick test this morning and when stopping live tv xbmc just freezes with the last frame left on screen. I can confirm that I have the same problem with the latest code. Quote:3. The sorting selection in the recordings screen is not remembered following a restart. I can also confirm this one. Also when I set the sorting "Sort by: Date" and start watching and then stop, the sorting has been changed to "Sort by: Name". |