pipelka / xbmc-addon-xvdr

DISCONTINUED - Standalone XVDR addon for XBMC
GNU General Public License v2.0
43 stars 16 forks source link

xbmc vdr api 1.92 #135

Closed bylderup closed 10 years ago

bylderup commented 10 years ago

api Version changed to 1.92 in kodi alpha builds. addon can´t be activated

Karl-opec commented 10 years ago

I have did make a patch to get it working with api 1.9.2 again. As i not really a programmer it would be fine if pipelka could approve it. But for me it works:

[code] --- xbmc-addon-xvdr-8c32c50/src/xvdr/include/xbmc_pvr_types.h.orig 2014-09-13 00:21:18.194364440 +0200 +++ xbmc-addon-xvdr-8c32c50/src/xvdr/include/xbmc_pvr_types.h 2014-09-13 00:23:04.666273182 +0200 @@ -75,10 +75,10 @@ struct DemuxPacket;

define PVR_STREAM_MAX_STREAMS 20

/* current PVR API version */ -#define XBMC_PVR_API_VERSION "1.9.1" +#define XBMC_PVR_API_VERSION "1.9.2"

/* min. PVR API version */ -#define XBMC_PVR_MIN_API_VERSION "1.9.1" +#define XBMC_PVR_MIN_API_VERSION "1.9.2"

ifdef __cplusplus

extern "C" { @@ -225,6 +225,7 @@ extern "C" { unsigned int iUniqueId; /!< @brief (required) unique identifier for this channel */ bool bIsRadio; /!< @brief (required) true if this is a radio channel, false if it's a TV channel / unsigned int iChannelNumber; /!< @brief (optional) channel number of this channel on the backend */

[/code]

I hope it might help.

pipelka commented 10 years ago

Thanks. I'll check that when I'm back at home tomorrow.

bylderup commented 10 years ago

I`ll get a "can´t load dll error" on my raspberry pi (!) with this modification Last kodi Milhouse openelec Version without error : New OpenELEC Helix build: #0908 Code:

uname -a

Linux rpi512 3.16.2 #1 PREEMPT Mon Sep 8 21:44:04 BST 2014 armv6l GNU/Linux

vcgencmd version

Sep 8 2014 18:59:28 Copyright (c) 2012 Broadcom version Commit:3f2f260 (clean) (release)

lsb_release

OpenELEC (Milhouse) - Version: devel-20140908214255-r19204-g034b531 [Build #0908]

all later Versions have vdr api 1.92 they changed all vdr addons in xbmc helix master with
PVR: initial support for sub channel numbers #5290

Karl-opec commented 10 years ago

You need a xbmc version which has 1.9.2 so you need to update to the newest git. I run a Cuboxi openelec build git 9ab2c87 which has kodi (xbmc) f78c550. What is OpenELEC Helix build: #0908 ?

bylderup commented 10 years ago

helix 0908 is the last developer build wherein xvdr addon 0.98 delivered with openelec 13.2 official is running (api 1.9.1) newest is 0913 with api 1.92 - I think your patch is ok but my compiled version is wrong.. I hope Mr.Pipelka will help guys like me ( I tried but failed ) with a working addon zip file have to use latest developer openelec builds because usb soundcard spdif out is working without problems now

pipelka commented 10 years ago

I checked if other things changed but the subchannel item is the only one.