Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Increase API version to 1.9.4 and add related changes #427

Merged
merged 9 commits into from
Feb 16, 2015
Merged

Increase API version to 1.9.4 and add related changes #427

merged 9 commits into from
Feb 16, 2015

Conversation

AlwinEsch
Copy link
Contributor

Here the API changes for PVR to all addons for undelete recordings.

Currently only VNSI support this. On VDR stays deleted recordings still 5 Minutes in storage to allow this.

This is related to KODI Pull request xbmc/xbmc#6367.

@@ -809,6 +808,164 @@ PVR_ERROR cVNSIData::GetRecordingEdl(const PVR_RECORDING& recinfo, PVR_EDL_ENTRY
return PVR_ERROR_NO_ERROR;
}

int cVNSIData::GetDeletedRecordingsCount()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. please put the implementation into a separate commit.
  2. you need to bump vnsi protocol when adding new functions. then check if those functions are available on the backend before using those.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pvr.wmc needs version bumped in its clientversion.h file as well please
On 07/02/2015 7:52 pm, "Rainer Hochecker" [email protected] wrote:

In addons/pvr.vdr.vnsi/src/VNSIData.cpp
#427 (comment)
:

@@ -809,6 +808,164 @@ PVR_ERROR cVNSIData::GetRecordingEdl(const PVR_RECORDING& recinfo, PVR_EDL_ENTRY
return PVR_ERROR_NO_ERROR;
}

+int cVNSIData::GetDeletedRecordingsCount()

  1. please put the implementation into a separate commit.
  2. you need to bump vnsi protocol when adding new functions. then check if
    those functions are available on the backend before using those.


Reply to this email directly or view it on GitHub
https://github.com/opdenkamp/xbmc-pvr-addons/pull/427/files#r24288489.

@AlwinEsch
Copy link
Contributor Author

Hello @scarecrow420, is "0.4.004" OK for there? How is a version change on WMC handled? Is it not related to connection?

If not relevant I increase it.

@ryangribble
Copy link
Contributor

dont you need to change the version on all addons that you changed? Even if the change is only to support the new PVR API version and there are no functional changes, i believe the normal way of doing things is to bump every addon version. I was just saying in the case of pvr.wmc whenever the addon version in addon.xml.in is bumped, it also needs to be set in clientversion.h

@AlwinEsch
Copy link
Contributor Author

Due to a API change with two new functions and two changed ones is it not backword compatible to KODI for all addons.

For this is on all addons "< import addon= "xbmc.pvr" version="1.9.4"/>" updated and this new functions added to support, but no rework on the other parts.

@AlwinEsch
Copy link
Contributor Author

No, I also rechecked there, becomes asked and if ADDON_STATUS_LOST_CONNECTION is returned from Init the GetAddonCapabilities becomes not called.

After the backend is present and addon return no error it becomes callled.

Only one was that it call only one time, if the backend disconnect and reconnect it become not called again.

I add there now a Version check to look for VNSI_PROTOCOLVERSION 8. What to you think, leave VNSI_RECORDINGS_DELETED_ACCESS_SUPPORTED there or remove it then?

@AlwinEsch
Copy link
Contributor Author

Hello @opdenkamp, how are currently updates on addons handled? Are still updates possible or must be wait until binary build system is finished? Have three changes, 2 on PVR API and one on gui lib.

@opdenkamp
Copy link
Owner

hmm well we don't want to introduce last minute issues with changes in the build system pr, as that's the most important PR for PVR right now, but if that one's going to take a while to be merged still, then we can't keep this branch frozen.

@AlwinEsch
Copy link
Contributor Author

No problem, if OK I add the other changes to here and becomes renamed to "Update PVR API to Version 1.9.4" and leave it open. If it take to long it can by merged otherwise closed.

How are the requests in KODI handled, from my side must come both together or becomes it most times performed independent?

@AlwinEsch AlwinEsch changed the title Add support of deleted and reproducable recordings (VNSI has implemented) Increase API version to 1.9.4 and add related changes Feb 9, 2015
@AlwinEsch
Copy link
Contributor Author

Is updated.

@FernetMenta
Copy link
Collaborator

I talked to Montellese who said we should go on here until pvr binary PR is finished. @opdenkamp thumbs up for this?

@opdenkamp
Copy link
Owner

Sure, going out for carnaval again now ;)

-------- Oorspronkelijk bericht --------
Van: Rainer Hochecker [email protected]
Datum:15-02-2015 12:35 (GMT+01:00)
Aan: opdenkamp/xbmc-pvr-addons [email protected]
Cc: Lars Op den Kamp [email protected]
Onderwerp: Re: [xbmc-pvr-addons] Increase API version to 1.9.4 and add related
changes (#427)

I talked to Montellese who said we should go on here until pvr binary PR is finished. @opdenkamp thumbs up for this?


Reply to this email directly or view it on GitHub.

@FernetMenta
Copy link
Collaborator

@AlwinEsch we need to bump addon versions. I suggest that we increase minor so backports to helix can increment micro.
please also update changelog for the addons which have this file.

@AlwinEsch
Copy link
Contributor Author

Is updated here and on xbmc/xbmc#6367

@AlwinEsch AlwinEsch changed the title Increase API version to 1.9.4 and add related changes Increase API version to 1.10.0 and add related changes Feb 15, 2015
@AlwinEsch
Copy link
Contributor Author

Is updated again, has seen on other places there that also partly the smallest number was increased, Sorry.

@FernetMenta FernetMenta changed the title Increase API version to 1.10.0 and add related changes Increase API version to 1.9.4 and add related changes Feb 15, 2015
FernetMenta added a commit that referenced this pull request Feb 16, 2015
Increase API version to 1.9.4 and add related changes
@FernetMenta FernetMenta merged commit fb0447a into opdenkamp:master Feb 16, 2015
@AlwinEsch AlwinEsch deleted the vnsi-undelete-recordings branch February 16, 2015 06:59
@janbar
Copy link
Contributor

janbar commented Feb 16, 2015

@AlwinEsch , please could you make the PR from your branch of pvr.mythtv ?

@janbar
Copy link
Contributor

janbar commented Feb 17, 2015

@AlwinEsch , is vdr handle recording directories ?
Trying to enable the feature, deleted recording screen shows all directories and sub-directories, containing not deleted, empty. And vis-versa: not deleted recording screen shows empty directories containing only deleted. We have to hide empty directory. Have any idea how to proper fix the issue ? I could make a PR to Kodi to fix it.

@AlwinEsch
Copy link
Contributor Author

Has not seen this failure here sorry, was only tested with pvr demo with folders.If you could fix it thanks, my computer system make currently problems and I must fix this :-(

@janbar
Copy link
Contributor

janbar commented Feb 17, 2015

@AlwinEsch , i would try to fix it this next week. I haven't try pvr.demo, but just enabling feature in pvr.mythtv which handles sub-directories. I let you know.

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

Successfully merging this pull request may close these issues.

6 participants