TortugaPower / BookPlayer

Player for your DRM-free audiobooks
GNU General Public License v3.0
1.53k stars 186 forks source link

Parental controls to disable some functionality for young children #907

Open bluetarpmedia opened 1 year ago

bluetarpmedia commented 1 year ago

Feature request

Add a new "protected mode" which would disable certain functionality for young children.

I'd like to hide or disable these features:

And whenever the Settings link is clicked it would require a pin code to proceed.

Narrative

I'd like my young children to be able to listen to audiobooks with BookPlayer on an iPad. But I want to prevent them from accidentally or deliberately trying to import or delete books.

In addition, I'd like the Settings screen to only be accessible via a pin code.

Design

Add a new toggle to the Settings screen for "Protected / Child Mode". If toggled on, the user must set a pin code.

When Protected Mode is enabled:

All "Add" / "Add files" links are hidden / disabled. All "Delete" links are hidden / disabled. Clicking the Settings link requires the pin code to get access to the Settings screen.

GianniCarlo commented 1 year ago

This is a very interesting feature request 🤔, definitely something I want to look into, not sure about blocking the entire settings screen with pin code as there are player controls preferences there, but definitely block the tip jar (or the support section which links to Github and mail)

bluetarpmedia commented 1 year ago

not sure about blocking the entire settings screen with pin code as there are player controls preferences there

Yeah, good point. There is the 'Manage Storage' link inside Settings which lets the user delete files, so I was thinking of that plus the external links and tip jar. Maybe enabling 'Protected Mode' could have a subtle link to the tip jar. :)