Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xbmc vdr api 1.92 #135

Closed
bylderup opened this issue Sep 11, 2014 · 6 comments
Closed

xbmc vdr api 1.92 #135

bylderup opened this issue Sep 11, 2014 · 6 comments

Comments

@bylderup
Copy link

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

@Karl-opec
Copy link

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 */

  • unsigned int iSubChannelNumber; /!< @brief (optional) sub channel number of this channel on the backend (ATSC) */
    char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /
    !< @brief (optional) channel name given to this channel /
    char strInputFormat[PVR_ADDON_INPUT_FORMAT_STRING_LENGTH]; /
    !< @brief (optional) input format type. types can be found in ffmpeg/libavformat/allformats.c
    leave empty if unknown */

[/code]

I hope it might help.

@pipelka
Copy link
Owner

pipelka commented Sep 13, 2014

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

@bylderup
Copy link
Author

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
Copy link

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
Copy link
Author

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
Copy link
Owner

pipelka commented Sep 14, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants