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

[PVR] Parental check fix; Profile switch fix #13829

Merged
merged 2 commits into from
Apr 29, 2018

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Apr 29, 2018

Two fixes here:

  1. Parental check: Do not show "wrong PIN entered" error box / do not write error log entry if user cancels out parental PIN dialog.

  2. Profile switch: Reload PVR manager's settings on profile switch. For example "parentalenabled" value can be different for different profiles.

Changes are runtime-tested on macOS , latest Kodi master.

@Jalle19 mind taking a look. Changes are straight forward, I guess.

…ed' state. Adapt callers (e.g. CPVGUIACtions parental check methods) not to show error messages if dialog was canceled.
@ksooo ksooo added Type: Fix non-breaking change which fixes an issue Component: PVR v18 Leia labels Apr 29, 2018
@ksooo ksooo added this to the Leia 18.0-alpha2 milestone Apr 29, 2018
@ksooo ksooo requested a review from Jalle19 April 29, 2018 16:12
@ksooo
Copy link
Member Author

ksooo commented Apr 29, 2018

TestSharedSection.GetSharedLockWhileTryingExclusiveLock

... well known unrelated jenkins error on LINUX-64

@@ -172,7 +172,7 @@ namespace PVR
bool CPVRGUIActions::ShowEPGInfo(const CFileItemPtr &item) const
{
const CPVRChannelPtr channel(CPVRItem(item).GetChannel());
if (channel && !CheckParentalLock(channel))
if (channel && CheckParentalLock(channel) != ParentalCheckResult::SUCCESS)

This comment was marked as spam.

This comment was marked as spam.

@quthla
Copy link

quthla commented Apr 29, 2018

Can you also fix deadlock when clearing PVR data or epg data via settings?

@ksooo

@ksooo
Copy link
Member Author

ksooo commented Apr 29, 2018

Can you also fix deadlock when clearing PVR data or epg data via settings?

??? Please don't hijack random PRs to get attention. Use the forum or trac. Thanks.

@ksooo ksooo merged commit 04a039d into xbmc:master Apr 29, 2018
@ksooo ksooo deleted the pvr-parental-check branch April 29, 2018 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Fix non-breaking change which fixes an issue v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants