Add-on:PinSentry

Introduction
PinSentry is an addon that will allow you to set a pin code that you can then force to be input when you play a particular video file or navigate into a given TV Show or Plugin.

After install you need to:
 * Go to settings and select your pin
 * Enable which videos you want the pin to be displayed for (Either via Settings, Programs->PinSenty or Videos->Addons->PinSentry)

Pin Contol
Whenever a user selects an item that has been protected by PinSentry they will be prompted with a dialog like the following:



The correct pincode should be entered via the onscreen buttons or a remote control numeric pad in order to gain access. It you have "Allow Direction Keys In Pin Code" enabled in the settings then you can also use a pin code made up of Up, Down, Left and Right, this is useful if you have a remote control without numbers.

Configuring Access
In order to configure which files or operations require the entry of the pin number you can access the menu be either via: That will present the main settings menu:
 * Videos -> Addons -> PinSentry
 * Programs -> PinSenty
 * Settings



That will allow you to set values as follows:
 * Movies
 * Specify individual Movies to restrict
 * TV Shows
 * Specify individual TV Shows to restrict
 * Movie Sets
 * Specify individual Movie Sets to restrict, this will also flag the movies in the movie set as restricted
 * Music Videos
 * Specify individual Music Videos to restrict
 * Plugins
 * Specify individual Plugins to restrict
 * File Source
 * Specify individual file sources to restrict
 * Classifications
 * Specify Movie or TV Show classification to restrict

Classifications
Each country has their own set of classifications, each meaning different things. Pin Sentry currently supports the following countries classifications If you would like another countries classifications supported then please post a request to the forum. The classifications have been taken from the following documents: Note: Not all countries have TV Show classifications
 * Australia
 * Brazil
 * Canada
 * Denmark
 * Finland
 * Germany
 * Hungary
 * Ireland
 * Netherlands
 * Norway
 * Sweden
 * UK
 * USA
 * http://en.wikipedia.org/wiki/Motion_picture_rating_system
 * http://en.wikipedia.org/wiki/Television_content_rating_systems

The classifications used on your Kodi library will depend on the settings (and scraper) that you used when you loaded them into the library initially. It is always worth noting that some videos can end up with incorrect classifications being set in your library.

There are two options in the PinSentry settings to help you identify videos that do not require a pin when using the current classification settings. Items that do not require a pin will be highlighted with the "Play Triangle" to illustrate that it can be played without a pin.

Videos that are protected via a classification rule can be excluded by manually selecting a given video and then choosing the "Remove Classification Restriction" option. Again, when this option is set it will be highlighted by the "Play Triangle".

Multiple Security Levels
If you wish to have multiple pins to restrict different types of content then you can enable this support via the options screen. You are allowed upto 5 different security levels, each needing a pin number to be set for them. (To access the settings screens the pin for the highest security level will be required).

The security levels are "stacked" ontop of each other. You can set the security level of each video, you will then be prompted for a pin when you try and access the video, at which point you can enter a pin number. If you are trying to play a video with security level 3, then you can enter the pin number set for either 3, 4 or 5 in order to get it playing. Entering the pin for level 1 or 2 will continue to prevent you viewing the video.

If you enable the option "Show Security Level On Permissions Screen" then the security level will be shown on the permissions screens. This is shown in the format 01:00 (Level 1), 02:00 (Level 2), 03:00 (Level 3), 04:00 (Level 4) and 05:00 (Level 5). This is not ideal, but allows the use of the generic Kodi plugin screens without the need to introduce custom screens that would require support to be added for each skin.

Settings
This section details all the settings options for PinSentry

Debugging
If reporting a problem, please also provide a debug log. To do this you need to enable BOTH: Please do not paste the log into the forum thread, just link to it.
 * Kodi logging from the main setting menu
 * PinSentry debug from the PinSentry addon settings menu

Donations
If you have found the PinSentry Addon useful and would like to help support future development and bug fixes, then please feel free to make a small donation.

Please use the link on the top of the PinSentry Forum