Kodi Community Forum
MythTV PVR client Addon Developers Wanted - Developers Only! - 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: MythTV PVR client Addon Developers Wanted - Developers Only! (/showthread.php?tid=82015)

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


- outleradam - 2010-11-30

The wife's pissed because I've been running SVN on the media center and she wants a stable version. I have to do something tonight. Did the authentications get merged into RC1 Live?


- outleradam - 2010-12-01

I don't want to screw anything up.. Please add the following in:

trunk/xbmc/lib/cmyth/libcmyth/connection.c line 56
Code:
static myth_protomap_t protomap[] = {
    {62, 0x78B5631E},
    {63, 0x3875641D},
    {64, 0x8675309J},
    {0, 0}
};
NOTE: MYTH_PROTO_VERSION 64 is a non-hexidecimal character. So, the hex needs to be converted to string for MYTH_PROTO_VERSION 64... this change would have to occur around line 378, 380 (also in connection.c)
Code:
if (tmp_ver >= 62) {
        myth_protomap_t *map = protomap;
        while (map->version != 0 && map->version != tmp_ver)
            map++;
        if (map->version == 0) {
            cmyth_dbg(CMYTH_DBG_ERROR,
                  "%s: failed to connect with any version\n",
                  __FUNCTION__);
            goto shut;
        }
        sprintf(announcement, "MYTH_PROTO_VERSION %ld %04X", conn->conn_version, map->token);
    } else {
        sprintf(announcement, "MYTH_PROTO_VERSION %ld", conn->conn_version);
I don't know C very well so I'm not going to play with it too much, however MYTH_PROTO_VERSION 64 is not supported currently and it was recently listed on the Myth_Protocol listings here:
http://wiki.mythtv.com/wiki/Category:Myth_Protocol

I would like to offer the following output from Myth_Comm_Diag as proof that the string works with MYTH_PROTO_VERSION 64. Note this is not libMythc... it is a java program I made.
Code:
Trying 192.168.1.110...
Connected to 192.168.1.110.
Escape character is '^]'.

Sending:30      MYTH_PROTO_VERSION 64 8675309J

Sending:30      MYTH_PROTO_VERSION 64 8675309J
13      ACCEPT[]:[]64
It may help someone: http://www.mediafire.com/file/w91zk82zagp928t/Myth_Comm_Diag.jar

Hope this was helpful.


- PhracturedBlue - 2010-12-04

I've updated the auto-update patch further:
http://trac.xbmc.org/ticket/10778

It can now be optionally enabled, and will properly connect on xbmc startup. It won't yet handle other programs besides tvshows. Also, there isn't any error detection so if we lose the myth connection for some reason, I don't think it will reconnect.

It seems to be working pretty well for me though.

I'd like to work on the PVR branch, but it is far behind trunk. Any idea when we might get them back in sync? I tried to do the merge myself, but after a couple hours of banging my head against the wall, I gave up.


- margro - 2010-12-04

@PhracturedBlue:
Try the git repository from dushmaniac:
See https://github.com/opdenkamp/xbmc

It contains a mirror of xbmc's trunk with already merged all PVR stuff from pvr-testing2.


- peterhocking - 2010-12-06

Any idea when support for MythTV protocol 63 will be introduced?


- PhracturedBlue - 2010-12-06

peterhocking Wrote:Any idea when support for MythTV protocol 63 will be introduced?

It is already in trunk (and in the pvr branch mentioned in the previous post). What isn't there in support for protocol 64, which can be tracked via this ticket:
http://trac.xbmc.org/ticket/10767

I have no idea what the status of Dharma is. I thought they were adding support for 0.24 to Dharma, but I believe it maybe too late now if it isn't already there.


- Katagia - 2010-12-07

I added the patch to svn r35584. Now the mythbox plugin supports 0.24 great! Unfortunatly live TV isn't working yet.
Can anybody confirm this?
Although I'm not a developer I hope it's OK to paste that information.


- outleradam - 2010-12-07

I'm hoping that DT adds support for v64 to Dharma. I'm trying to stay ahead of the curve on mythicalLibrarian and give my wife the ability to watch LiveTV with guide data.

It would be nice if we can move this to an Addon as DT suggested, however, it would require compiling on all platforms on every release of the addon.. Maybe it would be possible to recruit the assistance of Billy for cross-platform C addon development. The addon would have to be a separate build all together.

This leaves three logistical questions. Can Addons overwrite core XBMC libraries? Would it be possible to plug-n-play Cmyth? Can error handling be added to the Cmyth hooks in case the addon is not present?


- dteirney - 2010-12-08

Dharma is well and truly locked for new features so it's critical bug fixes only until Dharma is released. Unforunately, if you need support for Myth 0.24 you'll need to use trunk.

Once the PVR Addon is finally done and separated from the XBMC core, it will be easier to update outside of the XBMC core release cycle.

Work is going to be busy up until Christmas, but I'm hoping I can get a few hours each week to get some more of the work already done checked into the PVR branch.


Can't connect - rmikulec - 2010-12-14

I have installed XBMC with the pvr-testing2 branch. I get everything setup and I get an error that says " Add-on could not be loaded
Could not connect"

I can connect with a MythTV frontend without issue.

I have tried using both an ip address and a hostname.

Is there a resource that gives a step by step so that I can make sure my setup is correct?

I am using Myth 0.23 on the backend.

I have mythBox loaded and it connects perfectly.


- outleradam - 2010-12-18

PVR branch is old and out-dated. It requires much work which is being implemented on GIT currently. The PVR branch is not the active branch for this work. The work was being conducted on head. The changes will eventually be replicated in PVR branch. For now, the idea was to make HEAD compatable with MythTV.

The next step will hopefully bring PVR up to speed with head. I see work being done to PVR on github, but SVN PVR is dead.


- dteirney - 2010-12-29

Just been going through all the work I have done on the PVR branch. There are masses of changes to be checked in. Is anyone going to mind too much if I do some pretty big level check-ins? If anyone else is modifying code in the myth tv PVR section of the branch you are likely to get conflicts.


- spiff - 2010-12-29

code has been unchanged for months. have at it.


Current state of PVR TESTING ? - loggio - 2010-12-29

Hi guys,

Wondering if anyone can shed some light on what the current state of PVR TESTING is?

"APPARENTLY" Pvr-Testing 2 branch is no longer being used now... It is becoming very hard to track down and follow the progress of unified pvr testing, among other things.

I have no idea where to look for updates/bug fixes ...etc

there are a lot of things going on in the development side of XBMC and it's all a big mess to track down.

Thanks in advance.
Loggio.


- Jezz_X - 2010-12-29

I'd like to point out that the main repo has kind of moved to dushmaniacs git now instead of the branch in svn which has been stale for months