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 - allen00se - 2012-08-20 Also, i have read most of the thread and can't find a definitive answer for the status of channel icons. Mine don't show up and I am wondering if there is something that needs to be configured or if they aren't currently working. RE: New MythTV add-on using libcmyth - pssturges - 2012-08-21 Hi, I have had a working mythtv and xbmc setup for several years. I have been using mythfrontend for my pvr needs and xbmc for all other media. I thought it was about time I gave this a try, but I've hit a snag with dependencies. I've pulled the source from git, then following the instructions in the readme added the unstable ppa to my sources. I did have to change the version from precise to oneiric. Then when I try to build the dependencies I get: Code: phil@htpcserver:~$ sudo apt-get build-dep xbmc I don't seem to be able to get any further until this is sorted. Any ideas? Im on mythbuntu 12.04. Any thoughts? Cheers Phil RE: New MythTV add-on using libcmyth - allen00se - 2012-08-21 Just an update to my post #1005 I still don't have any channels higher than 550 listed under liveTV, I also did a second install using the ION build listed in this thread and it also only shows channels up to 550. Anyone know where the channel config lives, or what process runs to set up the channel list? RE: New MythTV add-on using libcmyth - KeithLM - 2012-08-24 (2012-05-25, 06:25)KeithLM Wrote: Well while following different suggestions I've found that the upgrade from 11.10 to 12.04 actually commented out a number of my sources in apt. I have to look further into that as some of them are for apps I'm using regularly. Still, I believe I've fixed my problem. Part of it was that there appears to be an issue with one of the packages, I was getting this error from apt-get: So after not having touched this in a while I decided to go back and revisit building on my main system. Found out I was back in this state with librtmp0 and librtmp-dev being unable to install. I did some more searching and finally found a way to fix it that might stick. apt-get install librtmp0=2.4~20110711.gitc28f1bab-1 That forced an install of the proper version, and it appears ok. Last time I did all sorts of searching on forcing installs with apt and never found the right combination. This time I found it in the third or fourth search result. RE: New MythTV add-on using libcmyth - raptorjr - 2012-08-25 I'm a long time MythTV user, probably 6-7 years or something. But already then when i started with MythTV i thought that the frontend was pretty old looking. And since it haven't happened much that is visible(much have changed behind the scenes) during the time i've used MythTV, the frontend is really outdated. I've always knew that XBMC was around and was really good looking, but with the lack of TV and recordings it was never a alternative for me. But today, once again, i was tired of the MythTV frontend and started looking around. I was very happy when i found out that there are work in progress to make it possible to use the backend with XBMC. But i wonder how far you are going to take this? I've seen some movies of other pvr plugins but thought i should make some questions anyway. How well incorporated will the TV functions be in XBMC, and how well supported will the Myth frontend TV/recordings features be in XBMC? Is it only the basic functions, all functions, or even make XBMC with MythTV addon to be better and exceed the MythTV frontend? Don't know what kind of features that could be, but i have understood that there are some really good developers working with XBMC and also the addons. So i wouldn't be surprised if this could be what the MythTV frontend should have been. So to me this seems to be a perfect merge of two good things, the Myth backend and XBMC. I really hope the work progress and we'll see some really good and stable release with most of the features of the MythTV frontend. RE: New MythTV add-on using libcmyth - pssturges - 2012-08-26 (2012-08-24, 02:06)KeithLM Wrote:(2012-05-25, 06:25)KeithLM Wrote: Well while following different suggestions I've found that the upgrade from 11.10 to 12.04 actually commented out a number of my sources in apt. I have to look further into that as some of them are for apps I'm using regularly. Still, I believe I've fixed my problem. Part of it was that there appears to be an issue with one of the packages, I was getting this error from apt-get: Great work. That fixed my problem also (a couple of posts back). Now to compile! RE: New MythTV add-on using libcmyth - kburkart - 2012-08-28 Ok, I have been running this for a few months now and the instability is starting to annoy me. Not sure if it is the openelec or xbmc that is causing the problems. The biggest issue is the time to tune a channel. On mythtv this is down to 2-3 seconds which is acceptable. In xbmc this is literally close to 20 seconds, not so much acceptable. Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the loss of EPG data and/or the system restarting and the system clock has been moved forward 5-6 hours which really screws up the EPG. Is anyone else experiencing these issues? I am running these on zotac zboxes using a netboot from a common server, the server get its tv signal thru a ceton cable card tuner. RE: New MythTV add-on using libcmyth - allen00se - 2012-08-29 (2012-08-28, 16:47)kburkart Wrote: Ok, I have been running this for a few months now and the instability is starting to annoy me. Not sure if it is the openelec or xbmc that is causing the problems. The biggest issue is the time to tune a channel. On mythtv this is down to 2-3 seconds which is acceptable. In xbmc this is literally close to 20 seconds, not so much acceptable. Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the loss of EPG data and/or the system restarting and the system clock has been moved forward 5-6 hours which really screws up the EPG. Came here today to post about the same channel tune issue. Mine takes roughly 20sec when using xbmc and 2-3 sec when using mythtv. I actually opened a ticket a week ago on github but havent heard anything back. Do you get random menu freezes when navigating XBMC? Almost like the computer hangs for 1-2 seconds? Also regarding your random stoppage of live tv, I get the same thing, but it coincides with the end of a TV show. If one episode of sports center ends at 10pm Livetv stops at 10 then I have to restart to watch the next episode. RE: New MythTV add-on using libcmyth - dodoadoodoo - 2012-08-29 (2012-08-28, 16:47)kburkart Wrote: Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the I have a similar situation with stop every five minutes, while the CPU on the f/e is doing some intense work. More disturbingly one of the b/e cores also bottoms outs, which I believe is the root cause of this. This happens when the client tries to refresh the timers and recordings lists, so clearly some of the code there is not playing nice with the rest of the system. I have played around with it a bit and found that the GetStorageGroupFileList call is a real trouble maker, perhaps because I have about 300 recordings stored. IIRC this call is responsible for getting the fanart/channel icons and what not to the f/e. As a quick fix, I have changed fileOps.cc to check for new media once a day, rather than every 30 seconds by changing the following line (about line 103 in eden branch): Code: if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 30) { // Limit storage group updates to once every 30 seconds Code: if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 24*3600) { // Limit storage group updates to once every day This gets rid of the total stream stop for me, there is still some stuttering during the updates. /D RE: New MythTV add-on using libcmyth - fiveisalive - 2012-08-30 tsp42: ping? Just wondering if you were planning to merge with odk upstream any time soon as per your previous post? RE: New MythTV add-on using libcmyth - speed32219 - 2012-08-31 dodoadoodoo wrote: Quote:I have a similar situation with stop every five minutes, while the CPU on the f/e is doing some intense work. More disturbingly one of the b/e cores also bottoms outs, which I believe is the root cause of this. Thank you, one of my major problems was the stream stoppage. I had also noticed high cpu usage on only one core, in fact I would have to reset XBMC to get it back to normal. I plan to implement your fix this weekend. That was the show stopper for me also. Checking once a day for media rather than every 30 seconds will be a bonus even on network usage especially with two to 3 htpc's running this add-on. RE: New MythTV add-on using libcmyth - socrates324 - 2012-09-01 No Audio with xbmc-tsp Hi everybody, I don't know if this is the right place to post my question but I currently don't know of any better... I'm pulling my hairs trying to get audio to work with xbmc-tsp (last checkout from 2012-08-26). Hardware: --------- Shuttle XS35GTV2 Barebone with NVIDIA ION2 with Sound via HDMI Output to my Receiver. Software: --------- Ubuntu 11.10 with either xbmc via software-repository (apt-get install xbmc) xbmc-tsp via git (git clone https://github.com/tsp/xbmc.git) and either pulseaudio installed pulseaudio removed (alsa only) when using the xbmc-version from the repository, I can choose from the following possibilities in (System -> Settings -> System -> Audio Output) (with pulseaudio already uninstalled) - Defaults (ALSA) - iec958 (ALSA) - hdmi (ALSA) - HDA Intel - default - 0 (ALSA) - HDA Intel - iec958 - 0 (ALSA) - HDA Intel - hdmi - 0 (ALSA) - HDA Intel - default - 3 (ALSA) - HDA Intel - iec958 - 3 (ALSA) - HDA Intel - hdmi - 3 (ALSA) - HDA Intel - default - 7 (ALSA) - HDA Intel - iec958 - 7 (ALSA) - HDA Intel - hdmi - 7 (ALSA) - HDA Intel - default - 8 (ALSA) - HDA Intel - iec958 - 8 (ALSA) - HDA Intel - hdmi - 8 (ALSA) - HDA Intel - default - 9 (ALSA) - HDA Intel - iec958 - 9 (ALSA) - HDA Intel - hdmi - 9 (ALSA) - Custom when using xbmc-tsp I can only choose: - HDA Intel, STAC92xx Analog - HDA NVidia, HDMI 0 - HDA NVidia, HDMI 0 - HDA NVidia, HDMI 0 - HDA NVidia, HDMI 0 Using the XBMC from the repository, I choose custom and enter "plughw:1,7" and the sound works perfectly (with and without pulseaudio). Then I uninstalled xbmc (purge) and build xbmc-tsp (up to make, no make install) . No sound in whatever configuration. I deinstalled pulseaudio but no change. I reinstalled xbmc via apt-get, configured the sound correctly (plughw:1,7) tested it and closed xbmc again. Then I started xbmc-tsp from the make directory. Now I see an "Audio output device" "custom", but cannot change the entry. Furthermore, the sound still does not work. I'm running out of ideas, can anyone help? Thanks in advance, Soc RE: New MythTV add-on using libcmyth - speed32219 - 2012-09-02 Try this and reboot, then run aplay -l and build a /home/usr_dir/.asoundrc file with settings from aplay -l cmd output. Where usr_dir is your home directory. echo "options snd-hda-intel model=6stack-digout " | sudo tee -a /etc/modprobe.d/alsa-base.conf Then run sudo usermod -a -G audio Your_User_Name If above doesn't try this. I have above working on ion and 8200/9300 NVIDIA chipsets as well as this working on my ion2's. sudo nano /etc/modprobe.d/alsa-base.conf ###Remove above entry and add one below options snd-hda-intel enable_msi=0 probe_mask=0xfff2 PS Make sure you have alsa-utils and alsa-tools installed ctrl o/enter/ctrl x Either reboot or run sudo /etc/init.d/alsa-utils restart Good Luck RE: New MythTV add-on using libcmyth - InoD - 2012-09-02 For those interested: OpenELEC 2.0b7 with tsp's Eden-PVR version of XBMC: ION 64-bit Ultra 64-bit RE: New MythTV add-on using libcmyth - socrates324 - 2012-09-02 Hi speed32219, thank you for your very early reply (!) I tried to follow your steps closely but still no sound. Let my show you what I've done, since the error is usually located between keyboard and chair :-) 1.) Code: sudo cp alsa-base.conf alsa-base.conf.orig Seems to have worked out. Then you asked me to: (2012-09-02, 05:55)speed32219 Wrote: then run aplay -l and build a /home/usr_dir/.asoundrc file with settings from aplay -l cmd output. Where usr_dir is your home directory. So I've checked http://wiki.ubuntuusers.de/.asoundrc and came up with the following: Code: socrates@hexbmc01:~$ cat .asoundrc (Oh ... sorry, I've just realized the ubuntu .asound page is in german, not english... ) Anyway, rebooted and tried every "HDA NVidia, HDMI 0" in xbmc-tsp with no luck. Then I went on with your advice: Code: socrates@hexbmc01:/etc/modprobe.d$ tail -f alsa-base.conf When I tried to run "/etc/init.d/alsa-utils restart" it cannot find alsa-utils. Code: ocrates@hexbmc01:~$ ll /etc/init.d/ |grep alsa Very strange. On the bright side, I now can use "aplay file.wav" instead of "aplay -D plughw:1,7 file.wav" Any further thoughts on how to get sound in xbmc-tsp to work? kind regards, Soc |