New MythTV add-on using libcmyth - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/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
- itchy_balls - 2011-11-12 21:51
The links to the Windows build seems to be down.
- tsp42 - 2011-11-12 23:13
Still working on the timers... I plan to merge the latest changes from Dushmaniac after this weekend.
CrashX: Thanks it should be fixed now.
ronny_todgers: I don't have a MacOS system here to test on so please report back if you encounter any problems.
tgm4883: Currently you will have to use git to clone the source code from my github repository and compile it to test my plugin (it is not that hard to do. Please see the first post in this thread on how to do it). To answer you questions:
1) Currently I only push changes to the core PVR code to dushmaniacs branch (when it appears stable) and not the actual add-on. On the other hand I try to avoid lagging more than a week behind dushmaniacs repository so you can just use my repository. I will see if my add-on can be included when it is more mature.
2) Currently the PVR stuff is not part of the offcial xbmc branch (it is planned to be merged after eden). http://packages.pulse-eight.net/UbuntuInstall containes the "official" PVR build.
itchy_balls: I will upload a new build after this weekend.
- tgm4883 - 2011-11-18 05:41
I've built and played with the latest code for the last few days. I've a few comments/questions below.
1) There doesn't seem to be a way to mark a recording as watched. This is probably something that just hasn't been implemented yet, but it is a blocker for shipping this as an alternative frontend as it breaks the mythtv's ability to manage disk space, and ultimately it's ability to record. I am also unable to workaround this issue as I am unable to delete the recording from inside XBMC. I've spoken with upstream mythtv and it sounds like this is doable in 0.25 using the services API. I was also told if this isn't currently doable in the services API it could be added pretty easily.
2) There doesn't seem to be a way to get any sort of artwork from ttvdb for the recordings using the PVR plugin. I've tried adding it to the Videos section using the PVR plugin, but that doesn't seem to gather anything either when I set the content to TV and ttvdb. To verify that was working, I also added a SMB share with some shows I have and that was able to scan and add the content normally.
I didn't use any other functionality of the plugin nor did I attempt LiveTV, so I cannot comment on those. This plugin and the built in myth:// protocol usage have their benefits and drawbacks.
Ability to schedule shows
Cannot get tv metadata/artwork
Cannot mark show as watched
Built in myth:// protocol
Ability to gather tv metadata/artwork
Cannot add shows to library if they don't have metadata (eg. not on ttvdb, then forget adding it to the library)
Cannot mark show as watched
Because of these issues, I am unable to recommend this as an alternative to the MythTV frontend (at least from a standpoint of something we would include in the ISO), although I do see that it is on it's way and realize it is still under development.
Now admittedly, as a developer for Mythbuntu I'm way more familiar with MythTV than XBMC (the last time I seriously used XBMC was on my original XBOX), so I could be doing something incorrectly. If this is the case, please point me in the right direction.
- Jimmer - 2011-11-18 12:51
tgm4883 Wrote:I've built and played with the latest code for the last few days. I've a few comments/questions below.
This branch is an off-shoot of Dushmaniac's main pvr branch, where there is some code for including PVR recordings in the video database (for example to enable resume on playback). These changes have not been pulled down to this branch yet. When they are, we will see if the other traditional library features (such as artwork) can be included with the pvr stuff as well. It's gonna take patience, since the main pvr stuff (ie Dushmaniac's) isn't going to be merged with mainline XBMC until after Eden is released. I guess Dushmaniac's really focused on the epg stuff and the bug hunting in order to get it up to snuff for the big merge with vanilla xbmc, so anything that looks like a new feature is probably on the back burner....
Reading TSP's previous comments, I think he is sensitive to the way that the myth stuff is ever so slightly off-kilter with the way the general pvr stuff has been implemented and has provided constructive comments about how things need to be tweaked for myth. He is currently working on some interface changes to bring everything more in line with the functionality of myth. I would wait until 1) He pulls down Dushmaniac's latest code (which will include putting recordings into the video database and some epg related fixes) 2) He finalises his myth-centric interface stuff and then see what functionality is still missing after these two things have been achieved.
Finally I would note that TSP has commented that he has one eye on 0.25 api, so he is probably already thinking along the same lines. The previous mythtv plugin author commented himself that TSP's plugin will be easier to adapt to the coming changes in 0.25 which is one of the reasons he has stopped development on his plugin and is happy to see TSP's take over.
I have garnered all the above from reading all the pvr threads and compiling and testing many branches. If anything is historically inaccurate (or just plain wrong) then I hold my hands up to it!
I agree that for your distribution, at this time, there are a few things stopping xbmc being a drop in replacement for mythfrontend. But when those few wrinkles are sorted out..... xbmc as a frontend - wow! It's gonna be the hottest distro on the planet! Just write some xbmc plugins for system-control type stuff and you've got the total package.
- tsp42 - 2011-11-19 00:28
Sorry for the lack of updates but I had to use three days on reinstalling windows on my development machine
It shouldn't be to hard to mark the recording as watched (just set it in the mythtv database if x% of the recording was seen or ask after viewing the recording). You should however be able to delete the recording by right-clicking on the recording and select delete. It is a bug if it doesn't work.
I have not checked Dushmaniacs latest changes so I'm not sure if the scrapers will work or what it takes to get them working.
- tsp42 - 2011-11-21 03:22
I've updated my repo with a new version. It should be up to date with dushmaniacs repo and in addition fix the non integer channel number bug. The timers window will now show upcoming recordings.
- adamc - 2011-11-21 10:18
Hi Guys, not sure if I'm in the right place. I've installed a PVR build on my ATV2 and found that the mythtv PVR addin, while it can be enabled cannot be configured. It looks more like a placeholder.
I previously used mythbox but that doesn't seem to work any more at least myth://user:host@ip works
Anyone managed to compile this plugin to work with IOS?
- fiveisalive - 2011-11-21 10:31
adamc Wrote:Hi Guys, not sure if I'm in the right place. I've installed a PVR build on my ATV2 and found that the mythtv PVR addin, while it can be enabled cannot be configured. It looks more like a placeholder.
Are you sure you've compiled the version out of github here:
as mentioned in the first post on this thread? The PVR binary builds made my dushmaniac don't include this add-on, to use this libcmyth mythtv PVR add-on (as opposed to dteirney's MythXML-based add-on), you'll need to compile it yourself, unless you have Windows.
- adamc - 2011-11-21 12:15
Thanks for the quick reply fiveisalive. Actually installed a .deb compiled by memphiz http://forum.xbmc.org/showpost.php?p=920051&postcount=230
Was wondering if someone else had gone down this particular path with ATV2 yet and what might be involved.
- deadite66 - 2011-11-21 12:33
mythtv recordings are listed but no longer play after updating.
- Blacksheep70 - 2011-11-21 17:42
I've been using the MythTV addon in XBMC for a while now without any great issues.
But since a week or some days more I got the popup message that a PVR client needs to be enabled (whenever the PVR client is already enabled). Hitting enter (for OK) and ESC to exit from the PVR client settings "solve" the problem... But would be much more nice if the popup only appears if the settings really not set
Any hints? Is there a timeout I need to adjust? I guess that any service is not ready yet.
FYI: The system boots very fast and per autostart directly into XBMC.
- Jimmer - 2011-11-21 18:43
Hi just a quick note on building from rev 184512d
Builds fine on my maverick box, but under Hardy on my ATV1, I get:
previously I have not had any problems compiling your branch on this box and my build environment has not changed since the last time I compiled, so I hesitate to speculate what could have gone wrong with my python2.6 installation.
I tried symlinking my python installation into the /usr/local tree in case it was expecting to find it there now, but I still get the same errors. My configure looks like this:
I'm using python 2.6.2+ from:
I know Crystalbuntu uses 2.6.7, so perhaps I should try using their build of python instead......
- Jimmer - 2011-11-21 19:31
Just to reply to myself:
I installed Sam's build of Python2.6.7, and xbmc compiled successfully. Now, I'm not sure if 2.6.2 is now too old, or whether my install became borked somehow and a fresh install would have fixed matters anyway?
Hope this helps someone else who has a compilation problem....
- tsp42 - 2011-11-21 22:12
deadite66 Wrote:mythtv recordings are listed but no longer play after updating.Should be fixed now thanks
- deadite66 - 2011-11-22 01:51
tsp42 Wrote:Should be fixed now thanks
yes it is, thanks.