New MythTV add-on using libcmyth

  Thread Rating:
  • 8 Votes - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fiveisalive Offline
Fan
Posts: 345
Joined: Jul 2009
Reputation: 0
Location: United States
Post: #231
I notice that I get more regular crashes with this version than the previous version that seem to happen while idle, but might be related to EPG updates, e.g. here is the traceback just before crash:

Code:
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 37 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 48 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 108 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 109 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 167 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 174 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 176 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 182 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 186 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 195 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 202 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 209 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 215 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 216 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 217 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 219 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 223 on client 1
02:13:00 T:139948971534080   DEBUG: PVRTimers - UpdateEntries - updated timer 225 on client 1
02:13:00 T:139949170325536   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-x86_64-linux.so)
02:13:00 T:139949170325536   DEBUG: Unloading: ImageLib-x86_64-linux.so
02:13:01 T:139948982023936    INFO: EpgContainer - RemoveOldEntries - removing old EPG entries
02:13:27 T:139949170325536    INFO: Previous line repeats 26 times.
02:13:27 T:139949170325536   DEBUG: SECTION:UnloadDll(libcurl.so.4)
02:13:27 T:139949170325536   DEBUG: Unloading: libcurl.so.4
02:13:28 T:139948982023936    INFO: EpgContainer - RemoveOldEntries - removing old EPG entries
02:13:55 T:139947952568064    INFO: Previous line repeats 26 times.
02:13:55 T:139947952568064   DEBUG: Thread Jobworker 139947952568064 terminating (autodelete)
02:13:55 T:139948546057984   DEBUG: Thread Jobworker 139948546057984 terminating (autodelete)
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #232
fiveisalive Wrote:The dialog box looks good, I guess it's non-functional for the moment though? The timer area looks the same as before, I thought the idea was to replace this with "Upcoming recordings" as per mythfrontend? I guess that's further down the road?

Yes currently the dialog box just shows the recording rules but I plan to extent it to add and edit rules. Next step will be to update the timer area.
find quote
Weatherman Offline
Junior Member
Posts: 28
Joined: Aug 2008
Reputation: 0
Post: #233
I just performed a git pull for the latest updates and re-compiled. I did receive one error in XBMChttp.cpp line 352 - but commented it out, and it compiled properly.

Is anyone else having strange EPG issues where you only 30% of the channels have guide information? All seem to show the "Next:" information, but the current information on around 70% are blank. That was the same with the previous version.

Using the latest MythBuntu as the backend.

I'm just happy to have the LiveTV in XBMC. Smile
find quote
cfetzer Offline
Senior Member
Posts: 256
Joined: Jul 2011
Reputation: 10
Post: #234
I see the same EPG issues :-(
There are shows missing in the epg. Most of them are missing at the beginning (now) - thats why the channel view is missing the show guide info.
However, the times are correct so I don't think it's related to those timezone problems.

I started to debug it but I got stuck somewhere in the xbmc/epg classes.
Here's what I was able to find out:
- The EPG.db does not contain the missing shows
- GetEPGForChannel in pvrclient-mythtv.cpp retreives the full information from the backend and PVR->TransferRecordingEntry / UpdateEntry (epg.cpp) get called with complete data. (I added some debug output to validate this)

Now I don't really know how to continue here. The shows seems to be filterout afterwards. When looking into the log, there were many warning lines: "FixOverlappingEvents". I tried to comment out that function but without any noticable effect.
find quote
Weatherman Offline
Junior Member
Posts: 28
Joined: Aug 2008
Reputation: 0
Post: #235
cfetzer Wrote:I see the same EPG issues :-(
There are shows missing in the epg. Most of them are missing at the beginning (now) - thats why the channel view is missing the show guide info.
However, the times are correct so I don't think it's related to those timezone problems.

What is strange, is I do see all the EPG now data if I go to the left of the Channel Guide and select the EPG:Now. It just isn't updating on all the channels themselves (where you pick the channel).

I also have a request that would be nice to have. From the Channel Guide, adding the ability to just select the channel by number in addition to scrolling through them.

Not to how difficult that would be.

- Mark
find quote
cfetzer Offline
Senior Member
Posts: 256
Joined: Jul 2011
Reputation: 10
Post: #236
Can this be related somehow to duplicatates? It looks like shows are missing that share the same title (i.e. for repeatings or for tv shows with different episode names).
Only the show with the last start date is then in the EPG.

Can someone confirm this?
(please try that also with a clean import into the database)
find quote
tsp42 Offline
Senior Member
Posts: 222
Joined: Aug 2011
Reputation: 11
Location: Denmark
Post: #237
The EPG code seems to be a bit unstable since the last merge from dushmaniac. He is probable aware of it.
find quote
CrashX Offline
Posting Freak
Posts: 1,216
Joined: Jan 2009
Reputation: 2
Post: #238
@tsp42

Links for Installing Mythtv on the first post need to be fixed. It is currently pointing to installing xbmc build.

The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
find quote
ronny_todgers Offline
Junior Member
Posts: 4
Joined: Aug 2011
Reputation: 0
Post: #239
This is showing so much promise for really integrating live tv from myth into xbmc - great work! Has anyone managed to compile nicely on osx yet? Will give it a go later and report back if not!
find quote
tgm4883 Offline
Junior Member
Posts: 16
Joined: Apr 2005
Reputation: 0
Post: #240
I'm using the latest build from http://packages.pulse-eight.net/UbuntuInstall and it looks like it can't find the mythtv pvr plugin. I've been testing using the myth:// protocol and that works great, but I'd like to give the pvr plugin a try.

I was wondering a few things related to the different branches.

1) How often is this work (by tsp42) brought back into the above branch (dushmaniac)?

2) There seem to be quite a few different Ubuntu builds. The above, https://launchpad.net/~alexandr-surkov/+...dharma-pvr (with PVR), https://launchpad.net/~nathan-renniewald...bmc-stable (no PVR). Is there an official xbmc PPA/repo? I see some older ones by the xbmc team but they are no longer updated.

My goal is to test this and possibly either A) Make it easily addable from the mythbuntu-control-centre, or B) include it in the ISO. I'll definitely need to work out #2 above though.
find quote
Post Reply