Netflix keyboard shortcuts

Use similar controls as on YouTube when watching Netflix (f for full screen, k to play/pause, c for captions, j and l to go back and forward 10 seconds, a to change audio, p for picture-in-picture, and a LOT more – all configurable)

Verze ze dne 26. 01. 2021. Zobrazit nejnovější verzi.

Autor
keyboard-shortcuts
Hodnocení
0 0 0
Verze
1.4
Vytvořeno
24. 01. 2021
Aktualizováno
26. 01. 2021
Size
16,8 KB
Licence
neuvedeno
Spustit na

Control Netflix video playback using keyboard shortcuts

This script lets you control video playback on Netflix with keyboard shortcuts. A few are inspired by the YouTube shortcuts, and provide consistency with that player.

All the key bindings are documented here and in the script, and are easy to change.

Key bindings

  • k switches between playing and paused
  • l moves ahead by 10 seconds (configurable)
  • j moves back by 10 seconds (configurable)
  • , when paused: moves back by 1/60th of a second, or one frame (configurable)
  • . when paused: moves ahead by 1/60th of a second, or one frame (configurable)
  • c switches subtitles on or off (you can also configure which language to select automatically the first time you switch them on)
  • s changes the size of subtitles (Netflix provides 3 sizes, so it cycles between small/medium/large)
  • v changes the subtitles track, moving to the next one in the list
  • a changes the audio track, moving to the next one in the list
  • m is already set to mute/unmute by Netflix, but you can configure the script to also let you use a different key
  • Page Up increases the audio volume by 5% (configurable) – unfortunately we can't use Up Arrow here since Netflix catches the key press event for it.
  • Page Down decreases the audio volume by 5% (configurable) – unfortunately we can't use Down Arrow here either.
  • 0 to 9 jump to 0% of the video (the start) to 90% in 10% increments (so pressing 5 jumps to 50%, the middle)

Other pre-configured time skips:

  • L moves ahead by 60 seconds (that's capital L)
  • J moves back by 60 seconds
  • ] moves ahead by 5 seconds
  • [ moves back by 5 seconds

Other configuration

  • You can change by how many seconds l, j, and others jump forward or back by updating the values in TIME_SCRUB_KEYS (10 seconds by default)
  • You can configure any single key to go forward or back by any number of seconds simply by adding a new entry in TIME_SCRUB_KEYS.
  • You can change by how much the volume changes when you press Up Arrow or Down Arrow (5% by default)
  • You can change which language to use for subtitles the first time you press c (English by default). If you select a different language with v, pressing c again will switch between "Off" and that new language.

The script also has a debug mode, disabled by default. Enabling it provides debug information for anyone trying to modify it.