I have an idea that appears to work with the Imported Videos Library and could be adapted to the Photo Library. But I want to make sure nobody see's a problem with how I have implemented it before I post it. Also it still needs another feature added (#3 below) and further testing and documentation.
So here is what I came up with:
- It does nothing to the actual files or directories
- It places a zero byte length file in the directory that you would select that will cause the display of a Parental Lock Code popup menu if a browse attempt is made by selecting it.
- In the configuration menu an option has been created that allows you to browse the directories and choose which ones to restrict - the Parental Lock Code must be entered to enter this directory browse popup.
- It doesn't currently do anything to the Browse Media menu but I am currently looking at locking this down as well.
What it will
NOT be able to do:
- Stop someone from browsing in Explorer or another app to the files from the computer that SageTV is installed on or from another computer - maybe this could be handled by Windows Security measures.
- Stop someone from displaying/playing back the file that has been selected from an application outside of SageTV - could be handled the same way as #1.
- Stop someone from installing another customization or STV and disable this code - This maybe prevented by disabling the Setup menu if the STV or customization allows it.
- Protected content must be under a folder and not in the Root of the imported folder.
Basically what I do is check to see if the file exists in the directory and ignore the selection request if it is found and continue to display the folder if it doesn't.
So with these features and limitations would anyone like this posted? Also if you have a better idea of how to hide these things I welcome your suggestions.
BobP.