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
|
New MythTV add-on using libcmyth - tsp42 - 2011-09-22 I've created a new PVR add-on for MythTV (v. 0.24). It only uses libcmyth (that has been modified with some additional functions to support the add-on). Currently the following in working on windows and linux(ubuntu): -LiveTV, including radio (at least with DVB) -Timers (add, delete, modify) -EPG -Recordings -Timeshifting (still work in progress) Missing features/bugs - Episode and season info in EPG - Bookmark support (to skip commercials) - Fast forward not working on some recordings/wrong duration reported (seems to be related to ffmpeg) - ATSC subtitles (again lacking ffmpeg support) Thanks to dubstar_04 for producing this video that demonstrate the add-on: http://www.youtube.com/watch?v=1gA7YpbyxNM The code is located at my git-hub account here: https://github.com/tsp/xbmc Please note that you will have to use my fork of xbmc PVR as the addon relies on some modification to the xbmc code. Boost version 1.42 or later is needed. On Ubuntu make sure to install libboost-regex-dev and libboost-filesystem-dev in addition to libboost-dev Windows build here: Eden-PVR http://www.mediafire.com/?y5hdp8bd7d58mmu updated 24/6-2012 Master (=unstable) http://www.mediafire.com/?vq8widow9okf4dd updated 22/5-2012 Helpful guides/posts for installing the addon and mythtv on linux Installing the Addon on ubuntu http://forum.xbmc.org/showpost.php?p=915301&postcount=133 Installing MythTV http://forum.xbmc.org/showpost.php?p=915308&postcount=134 http://forum.xbmc.org/showpost.php?p=916941&postcount=157 http://forum.xbmc.org/showpost.php?p=916699&postcount=153 VDPAU support http://forum.xbmc.org/showpost.php?p=918582&postcount=186 ATV1: http://forum.xbmc.org/showpost.php?p=925556&postcount=221 How to report a bug: 1) Check if it is a known xbmc PVR bug (search the forum or check issues on opdenkamps xbmc github repo. 2) make sure that "Enable debug logging" is enabled in system->settings->system->debugging and that "Include more debug information in the log" is enabled in system->settings->add-ons->installed add-ons->pvr clients->MythTV cmyth PVR client->configure 3) copy the xbmc.log to pastebin.com or a similar site 4) If you are experiencing deadlocks or crashes a full stack trace would also be appreciated. It is included in the crashlog but if xbmc hangs you need to use gdb to generate it by following the procedure: a) get the process ID(PID) of xbmc.bin process i.e. "ps -A|grep xbmc.bin" b) start gdb as superuser "sudo gdb" c) attach to xbmc.bin "attach" + PID from a) d) produce stack trace "thread apply all bt full" e) post to pastebin 5) post a report in this thread or create a new issue on github or comment on an existing issue if it is a new bug. - opdenkamp - 2011-09-22 sounds good. have a chat with dteirney, cause he is/was maintaining the other mythtv add-on - dubstar_04 - 2011-09-22 I have done a small amount of testing. Live Tv - Works Radio - Works Playback Recorded - Works Deleting Recorded - Works Setting Timers - Works* Deleting Timers - Works *Timers are entered into the database, but don't actually record. xbmc reports 'recording aborted' The schedules dont appear in mythtv. just the database. Pastebin: http://pastebin.com/DvNaNvYX You could probably do some checking to see if the database is accessible with the entered credentials. Would it be possible to sort recordings by date? Have you spoken with dtierney? he has done alot of work with the mythtv addon already. Test results - therealrocket - 2011-09-22 My testing against my crusty 0.23-fixes backend - very impressive effort for so much to be working! Live TV - works (no VDPAU though, so it's stuttery) Radio - not tested (haven't got channels configured) EPG - works Playback recorded - hangs (pastebin) Delete recorded - works Sorry I can't test timers, - I don't have a spare environment to mess with.. There are some UI quirks: - You have to press backspace to get out of the timer window, escape doesn't work - In the radio/TV channels window when there are no radio channels you see an unnamed progress bar and the word "Next" at the bottom right - In "EPG: Now", only some channels appear not all of them - In "Recordings", only the title and description of the program are visible, the subtitle isn't shown - Search only returns one or 2 results - "next recording" message is showing one of the first recordings I ever did; from back in 2009. Any idea how I can get it to use VDPAU, given mythfrontend is using VDPAU successfully? I've made sure it's enabled in the video settings.. - tsp42 - 2011-09-22 dubstar_04 Wrote:I have done a small amount of testing. Thanks for testing. It should be fixed now on github. I will update the windows build later. It looks like it have been a while since dtierney was online but I will speak to him when he comes back. - iscraigh - 2011-09-23 How can I install this on Ubuntu. I have some linux experience, can use the command line etc, just never used git. Thanks Craig - cflynt - 2011-09-23 iscraigh Wrote:How can I install this on Ubuntu. I have some linux experience, can use the command line etc, just never used git. I just started in on the PVR builds last night and this one was the only one I could get LiveTV going on, mind you it still crashes a lot. But not 100% sure if it is just the system I am running it on, not one of my production boxes that have more memory etc heh. But I basically used the steps from this thread and got things compiled and installed. Check out the README.ubuntu after grabbing the Repository for dependencies you will need. Someone do correct me if things like the git branch -a command aren't needed. And thanks to tsp42 for developing this, I look forward to seeing where this goes. I still use MythFrontend and then launch XBMC from it for now, but if this stabalizes and in the future we can get more of a Guide like look when in the EPG this would be so much better for the family to be in one product heh! Thanks go to dubstar_04 from this thread: http://forum.xbmc.org/showthread.php?tid=109543 Code: sudo apt-get install git-core And to update you can go back into the directory and do a: Code: git pull - tsp42 - 2011-09-23 cflynt Wrote:Someone do correct me if things like the git branch -a command aren't needed.You don't need it. Also you can use Quote:git pullinside the xbmc source code directory to update the source code when you have downloaded it with git clone. therealrocket Wrote:- You have to press backspace to get out of the timer window, escape doesn't workMost of the UI quirks are in the XBMC PVR code and not in the add-on code but the "next recording" should be easy to fix and maybe also sorting the recordings by date. Currently XBMC PVR doesn't support subtitles for recordings but I can append the subtitle to the title of the recording if you would like that. Does VDPAU work when playing video in XBMC? - cflynt - 2011-09-23 tsp42 Wrote:Does VDPAU work when playing video in XBMC? I noticed that VDPAU wasn't working either, BUT I will honestly say I haven't tested my other videos with this build to see if it works on normal videos. But I do notice the tearing when watching recordings and livetv. As where I wasn't getting that on regular XBMC before. But again, i will have to report back by adding some video sources to this test system. Thanks again for your work. - iscraigh - 2011-09-23 Still not having any luck installing, when I follow your commands I get.. Code: craig@LR-frontend:/$ sudo git clone https://github.com/tsp/xbmc.git What am I missing? Thanks Craig Ignore this I had not installed the build dependancies. Also for other rookies I had to run the bootstrap/configure commands as sudo - tsp42 - 2011-09-23 Did you install all the dependencies? Code: sudo apt-get install git-core make g++ gcc gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libenca-dev libxt-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmpeg3-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs python-dev libyajl-dev libboost-thread-dev libplist-dev autopoint - dubstar_04 - 2011-09-23 tsp42 Wrote:Thanks for testing. It should be fixed now on github. I will update the windows build later. I have tested the most recent git: recording does indeed work. Would you be able to have a look at : - only pulling current and future timers in to xbmc - sorting the recordings by date Also xbmc locks up and uses a massive amount of memory (600+ MB) when launching and updating the tv database. I dont know if this is caused by the add-on or the xbmc. Thank you, Dubstar_04 - iscraigh - 2011-09-23 I had not installed the dependancies. Just compiling now, taking a while. Craig - dubstar_04 - 2011-09-23 iscraigh Wrote:I had not installed the dependancies. once it has compiled once you can simply Code: cd xbmc it will only take a few seconds to build and install. debugging and feedback - dubstar_04 - 2011-09-23 Can anyone who is testing the mythtv builds help with debugging? it is done as follows: Code: gdb /usr/local/lib/xbmc/xbmc.bin If you have any crashes / segfaults post your terminal output to pastebin and paste the link here. also logs can be useful, found here: Code: ~/.xbmc/temp DO NOT POST LOGS OR OUTPUT DIRECTLY HERE!! (Use a pastebin) I prefer ubuntu pastebin: http://paste.ubuntu.com/ Thanks, Dubstar_04 |