Skip to content

About

A Plugin for Emby to improve parental control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

🛡️ Parental Companion for Emby

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

  1. Copy ParentalCompanion.dll to the plugins folder of your Emby server.
  2. Restart Emby.
  3. Open Parental Companion in the menu of Emby's dashboard.

Getting started in three steps

  1. Click the child's user.
  2. Open the Screen time tab, turn on Screen-time limits and set the times you want.
  3. 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.

Settings (for all users)

  • 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

  1. A warning comes before the limit, 10 and 2 minutes before by default.
  2. 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.
  3. Playback stops after 10 seconds. If the child starts something new, it is stopped again.
  4. 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.

🔧 For developers

dotnet build -c Release

The build references the Emby DLLs in %AppData%\Emby-Server\system. The output is ParentalCompanion/bin/Release/netstandard2.0/ParentalCompanion.dll.

Screen time used is stored in <programdata>/plugins/configurations/ParentalCompanion/usage.json, and the settings in the plugin's normal XML configuration.

About

A Plugin for Emby to improve parental control.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages