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

3.4.10. Adpated to pvr addon api 5.2.1 (3.4.9 was just to ake it compile again). #251

Merged
merged 1 commit into from Nov 28, 2016

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Nov 27, 2016

@Jalle19 we have to cleanup to actually benefit from the API change.

{
/* Build message */
htsmsg_t *m = htsmsg_create_map();
htsmsg_add_u32(m, "subscriptionId", GetId());
htsmsg_add_s64(m, "time", static_cast<int64_t>(time * 1000LL));
htsmsg_add_s64(m, "time", time * 1000LL);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why no cast anymore? htsmsg_add_s64 still expects an int64_t, not a double, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Will revert this line.

@ksooo
Copy link
Member Author

ksooo commented Nov 28, 2016

@Jalle19 addressed your review comment. Good to go now?

@Jalle19
Copy link
Contributor

Jalle19 commented Nov 28, 2016

+1

@ksooo ksooo merged commit 4f406f4 into kodi-pvr:master Nov 28, 2016
@ksooo ksooo deleted the pvr-api-5-2-1 branch November 28, 2016 15:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants