-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Testing Required] update to PVR addon API 5.7.0 #52
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this one. Already looking good. Some changes would be welcome, though.
src/PctvData.cpp
Outdated
PVR_ERROR Pctv::GetChannelStreamProperties(const PVR_CHANNEL* channel, PVR_NAMED_VALUE* properties, unsigned int* iPropertiesCount) | ||
{ | ||
std:string strUrl = ""; | ||
for (unsigned int i = 0; i<m_channels.size(); i++) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please insert blank around the <
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also might want to look at my comments re. string initialization and 'better' for loop syntax in your other (pvr.filmon) PR. ;-)
Fine now, imo. Could you please squash non-jsoncpp stuff to a single commit and we're ready to merge (forget to request that for your other PR, btw ;-) |
remove deprecated functions, implement basic requirements for GetRecordingStreamProperties() and GetChannelStreamProperties() getFormatedErrorMessages() was deprecated in jsoncpp for its replacement getFormattedErrorMessages(). Deprecation was done purely for the typo. No functional change
squashed |
Why did you close this? |
Man, you're even to fast for me... |
Fat fingered the comment. Haha |
Ready to merge, imo. Shall I hit the button? |
This brings the addon upto API 5.7.0 compatibility
Removed deprecated methods and stubbed out new ones
Bumped jsoncpp to 0.10.6 and changed to non deprecated getFormattedErrorMessages(). No functional change for this, as the deprecation was done purely because of the type in the function name.
Please note, ive not been able to test functionality at all. If anyone can let me know if the changes work, or need further tweaking. This was a quick attempt to get up and running, so feedback is very appreciated.