soderlund 231 Posted November 16 Posted November 16 Hi all! A new plugin I have been working on for a while, and now it's finally ready to release. https://github.com/soderlund91/ParentalCompanion Parental controls and screen time, one child at a time. Parental Companion puts everything you need to manage a child's Emby account on one page, and adds what Emby lacks: screen-time limits. Set a limit per day, a longest time in a row before a break, and the times when watching is allowed. When time is up, the child gets a message and playback stops, on every device. Everything in one place. Age rating, tags, libraries, allowed times and account settings, without hunting through Emby's user pages. Limits per day. For example 2 hours on weekdays and 5 hours at the weekend. Breaks. For example at most 2 hours in a row, then a 30-minute break. Parent controls. Give extra time, lock now, skip a break or allow free play for the rest of the day, all with one click. Fair counting. Only time spent actually watching counts. Pauses don't count, and two screens at once count as the same time. Installation Requires Emby 4.10.1.0 and above Download .dll from GitHub (link) Copy ParentalCompanion.dll to the plugins folder of your Emby server. Restart Emby. Open Parental Companion in the menu of Emby's dashboard. Getting started Click the child's user. Open the Screen time tab, turn on Screen-time limits and set the times you want. Click Save. That's all. From now on the time is counted, and the limits apply on every device. What you can do Click a user to open their panel. It has five tabs. Today How long the child has watched today and in a row, and how much time is left. What is playing right now, and on which device. Parent controls: +15 min, +30 min, +1 h, −15 min, reset today, lock now / unlock, skip the break, free play for the rest of today. A chart of the last 14 days and a log of what has happened, such as warnings, blocks and your own changes. Screen time Per day: a limit for each day of the week. Type hours:minutes (2:30) or minutes (150). In a row: the longest stretch of watching before a break, and how long the break must be. A pause at least as long as the break starts a new stretch, and shorter pauses don't. Warnings: two messages before a limit, 10 and 2 minutes before by default. Also lock the account: see When time is up. Music counts as screen time: off by default, so only video counts. Content Age rating: hide titles rated above a certain age. Unrated titles: hide movies, shows and other items that have no rating. Tags: block items with certain tags, or only allow items with certain tags. Libraries: choose which libraries the child can see. Schedule The times of day when the child may watch, for example 07:00–19:00 every day. Outside these times, watching is blocked. Access Number of screens at the same time, access from outside the home network, live TV, downloads, deleting media, and disabling the account. Global settings Time zone, and when a new day starts. With 04:00, watching at 00:30 still counts as the evening before. Seconds from the message to stopping when time is up. The default is 10. The messages shown on the child's screen. Write them in the language your children read. When time is up A warning comes before the limit, 10 and 2 minutes before by default. When the limit is reached, a message appears on the child's screen, headed "Stopping in 10 seconds". Playback continues meanwhile, so there is time to read it. Playback stops after 10 seconds. If the child starts something new, it is stopped again. The account is locked at the same time, if Also lock the account is on. The child is signed out on every device and can't sign in until the block ends. This is the safest choice, because no app can get around it. The block ends by itself: the next day, when the break is over, or when the allowed time starts. You can also end it at once from the Today tab. Breaks never lock the account, so the child isn't signed out at every break. An account you disabled yourself stays disabled. Good to know Emby's own schedule: Emby 4.10 stores the allowed times but doesn't enforce them itself. Parental Companion does, but only for users who have screen-time limits turned on. Free play lifts the daily limit and breaks for the rest of the day, but not the allowed times. Administrators: Emby doesn't apply content limits to administrators, and Parental Companion never locks an administrator's account. Apps that ignore "stop": a few apps, such as some TV and DLNA players, don't obey remote commands. Also lock the account stops them too. Before uninstalling: unlock every child first. Otherwise a locked account stays disabled until you enable it again in Emby's user settings. Disclaimer: I do not take any responsibility if you kid comes screaming at you that he can't look at the latest episode of Rick and Morty, or that she still should have one more hour to look at the latest Kim Kardashian show! I do not neither take any responsibility if this plugin messes something up - with that said it is working and it is tested! I just wanted to make that clear. Use the plugin with caution. Do not use while in an emotional state if your child has been a pain in the ass - this would only lead to more trouble ahead, trust me!
soderlund 231 Posted November 16 Author Posted November 16 (edited) First release - version 0.2.0.0 https://github.com/soderlund91/ParentalCompanion/releases/tag/v0.2.0.0 As this is a first release there are some bugs expected. I have tested this and using in my own live server, but only for one user atm. So a larger scale would probably reveal some bugs I have missed. This is not considered a stable release yet, so please keep that in mind. Release notes Se first post above ParentalCompanion.dll Edited November 16 by soderlund
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now