New MythTV add-on using libcmyth - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Add-ons (/forumdisplay.php?fid=26)
+---- Forum: PVR (/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
- tsp42 - 2011-11-04 11:24
Cfetzer: I will try to add the livetv recording priority if I can figure out how it is implemented in MythTV. It may take a while though. The latest changes to dushmaniacs code may have fixed the EPG bug. I will try to pull the changes into my code this weekend. Hopefully I will also have the new scheduling window ready then.
- mronkko - 2011-11-04 20:09
tsp42 Wrote:mronkko: I've looked though the log and it looks like xbmc jumps to the end of the video when the stepforward command is recieved. Does the same happen when you use the fast forward button on the GUI? I will try to add some more debug info into the code that should produce a more informative log.
I finally had some time to take a look at this. The player crashes no matter how I do the seek forwarding. Also the timer that is shown for the video is way off. For example, when the video starts, the timer shows 3:15:00 and the total length as 5:17:00. MyhtTV shows that the real length of the recording is 2h 2min.
- cfetzer - 2011-11-04 20:24
tsp42 Wrote:Cfetzer: I will try to add the livetv recording priority if I can figure out how it is implemented in MythTV. It may take a while though. The latest changes to dushmaniacs code may have fixed the EPG bug. I will try to pull the changes into my code this weekend. Hopefully I will also have the new scheduling window ready then.
Thank you! :-)
I have a bit more info on the recording priorities:
The LastFreeCard setting is evaluated in MainServer::HandleGetFreeRecorder (mythtv git: mythtv/mythtv/programs/mythbackend/mainserver.cpp)
The LiveTVPriority setting is read from the database in Scheduler::SchedPreserveLiveTV (mythtv git: mythtv/mythtv/programs/mythbackend/scheduler.cpp)
Looks like the only way to influence those values is through the mythtv settings (database). I think these settings are host based (if you set them in mythfrontend the database entry will contain a hostname). So if xbmc is started on the same host, the backend should somehow be able to use them?
- tsp42 - 2011-11-08 01:55
I've added a new dialogue to show the recording rules. It can be accessed though the right-click context menu under client actions. Please comment on the design of it. I've also synced with dushmaniac repro.
cfetzer: Thanks. It should be easy to add to the addon.
mronkko: I also encountered a wrong duration of the video and tracked it back to ffmpeg. It might be the same with our video.
- fiveisalive - 2011-11-08 07:33
tsp42 Wrote:I've added a new dialogue to show the recording rules. It can be accessed though the right-click context menu under client actions. Please comment on the design of it. I've also synced with dushmaniac repro.
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?
- fiveisalive - 2011-11-08 09:23
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:
- tsp42 - 2011-11-08 10:44
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.
- Weatherman - 2011-11-08 22:41
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.
- cfetzer - 2011-11-09 01:29
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.
- Weatherman - 2011-11-09 01:54
cfetzer Wrote:I see the same EPG issues :-(
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.
- cfetzer - 2011-11-09 10:08
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)
- tsp42 - 2011-11-09 11:28
The EPG code seems to be a bit unstable since the last merge from dushmaniac. He is probable aware of it.
- CrashX - 2011-11-09 15:44
Links for Installing Mythtv on the first post need to be fixed. It is currently pointing to installing xbmc build.
This looks awesome! - ronny_todgers - 2011-11-09 18:33
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!
- tgm4883 - 2011-11-12 20:57
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/+archive/dharma-pvr (with PVR), https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-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.