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
|
- fiveisalive - 2011-10-26 Weatherman Wrote:They are on different physical systems. I have (2) XBMC front ends that will connect to my MythBuntu VM. That might be the problem. I think xbmc expects to find them locally. The thumbnail location is stored in the Epg5.db (pulled from the mythbackend) as file path. You can maybe check where the add-on thinks they are using sqlite3 on this db. e.g. Code: $ cd .xbmc/userdata/Database/ (.table lists the tables available, if you need to check the names of the tables). If the SELECT statement shows the paths to the icons, but they are file locations relative to your mythbackend filesystem (rather than your xbmc filesystem), then there's the problem. - deadite66 - 2011-10-26 anyone had any problems with xbmc.bin taking 113% cpu after a while? back to 35% after restarting. i believe its related to this. Code: [350681.953505] init: mythtv-backend main process (3950) terminated with status 134 i have noticed this when i've changed the backend settings or stopped/restarted mythbackend then xbmc.bin cpu load will get very high. - tsp42 - 2011-10-27 Weatherman: I have not added the code to fetch the icons and thumbnails yet from MythTV so it will only work if xbmc and mythtv is on the same computer. deadite66: The add-on does not yet handle if the connection is lost to the backend so that most likely explains the increase in cpu utilization (this also includes suspending the computer running xbmc). - fiveisalive - 2011-10-27 tsp42 Wrote:Weatherman: I have not added the code to fetch the icons and thumbnails yet from MythTV so it will only work if xbmc and mythtv is on the same computer. tsp42: I notice that there is a new branch on your (tsp) github repo: "PVR". Is that where the new stuff will land? should we still track master? Looks there have been a number of fixes in dushmaniacs branch (esp. related to EPG). Lastly, you mentioned replacing timer screen with "upcoming" recordings, and having a dialog for editing the rules. Would it make sense to suggest adding that to the main pvr code too? (i.e. do the other add-ons have the same concept?) It would be nice to have that PVR-wide and in addition it will make it easier for new skins to support the extra window if it is a PVR-wide standard (as opposed to being an add-on window). - fiveisalive - 2011-10-27 Another feature request (ultimately should be pvr-wide, but it occurred to me that it could be "road-tested" in this cmyth add-on and later pushed to dushmaniac's repo) would be to add more useful information on the recordings screen. See my FR in dushmaniac's branch here: https://github.com/opdenkamp/xbmc/issues/287 Compile Error on Hardy - glst0rm - 2011-10-27 I'm trying to compile tsp-xbmc on a Hardy virtual machine for use on an Apple TV. I've installed all the dependencies yet am stuck on this make error: Full error here: http://pastebin.com/YaenxqeC Code: make[1]: Leaving directory `/home/settop/temp/tsp-xbmc/tsp-xbmc-98a6f0f/xbmc/screensavers/rsxs-0.9/xbmc' Code: make[1]: *** [TimeSmoother.o] Error 1 Does anyone recognize this build error? Thanks for your help. Steven - tsp42 - 2011-10-27 fiveisalive: the PVR branch is just my attempt to merge the code that are not specific to the myth-tv add-on with dushmaniacs PVR code. It should make it easier for me to push my changes to his fork. At least TVHeaded and Media Portal supports more complicated recording rules like recording new episodes of a TV show although not as extreme as MythTV. It would be nice to have it in the main PVR branch but I guess it should be highly customizable to support the differences between the backends. I'm currently working on updating the addon GUI code so I can show a custom window. It would be nice if xbmc PVR handled it instead. It is a good suggestion with the recording screen but it may take a while before I have time to look at it though. glst0rm: It looks like the boost library is not installed or installed wrongly. - Jimmer - 2011-10-27 glst0rm Wrote:I'm trying to compile tsp-xbmc on a Hardy virtual machine for use on an Apple TV. I've installed all the dependencies yet am stuck on this make error: Code: sudo apt-get install bjam don't think the version of boost supplied with hardy is sufficient anymore. The above is what I did to get a working boost on my system (thanks to dynaflash for the above) Jimmer PS if that alone doesn't help you (i.e. further config problems..... get back in touch and I'll let you have my editted README.ubuntu which I cobbled together as I was putting together my build enviroment in the first place) - glst0rm - 2011-10-28 Jimmer: thank you, that got me past my error. Now I'm hitting another error, which I think may be related to the version of Python I use. I've tried both Python 2.5 (installed with Hardy) and Python 2.6.2 installed from source. Using Python 2.5: Code: pyrendercapture.cpp: In function ‘PyObject* PYXBMC::RenderCapture_GetImage(PYXBMC::RenderCapture*, PyObject*)’: Using Python 2.6: Code: /usr/local/lib/python2.6/config/libpython2.6.a(posixmodule.o): In function `posix_tmpnam': - Jimmer - 2011-10-28 glst0rm Wrote:Jimmer: thank you, that got me past my error. When you built 2.6.2 from source did you get module errors at compile time? I did originally and eventually grabbed python2.6 like this: Code: PYTHON2.6: then I made a symlink from /usr/bin/python2.6 /usr/bin/python I'm not sure if this breaks something else in the system. If you don't want to do this, you can export your python version at config time ie: PYTHON_VERSION=2.6 ./configure --blah --blah --enable-external-python Hope this helps! - Jimmer - 2011-11-01 glstr0m: Hardy Build Deps for pre-eden on ATV1 Hope this helps! (I think we should free up this thread for the original purpose again now!) Jimmer - glst0rm - 2011-11-01 Jimmer Wrote:glstr0m: Thank you, this has been really helpful. Now back to regularly scheduled thread programming. Steven - fiveisalive - 2011-11-02 Looks like dushmaniac's updated his repo to rebase with upstream: https://github.com/opdenkamp/xbmc/commits/master Any chance of a rebase in the tsp trunk? It seems like he's also fixed some various EPG issues. - fetzerch - 2011-11-03 Awesome work! This looks really promising. I have been using mythbox for a while but this is much better integrated :-) Right now I also have some epg issues. In the channel view only a few channels show data. The timeline shows data for all channels but the blocks are not at the correct position and some shows are even missing. I live in germany UTC+1 so it could be related to a timezone problem. The details show the correct start/end times. I'm not sure whether this should be fixed already. If you need more info, i could provide you some logs. Another thing that comes to my mind is the priority handling between live tv and recordings. If live tv is blocking a recording mythfrontend shows a dialog and lets the user choose. with xbmc the recording gets just skipped without any notification. Do you plan to support this? In addition there are 2 mythtv settings related to this. One is "LastFreeCard" or "Avoid conflicts between live TV and scheduled shows". The backend will then return the last available tuner for live tv. The other option is "LiveTVPriority" or "Allow live TV to move scheduled shows" that allows the scheduler to use some other tuner for the recording. Those options are evaluated by the backend but set for each frontend in the mythtv database. Unfortunately it seems that they are ignored when using xbmc as frontend. Any idea how we can get the backend to read them from the database? Cheers Christian - avus m3 - 2011-11-04 Cool stuff! |