# System defaults for abcde version 2.2.x
# Nothing in this file is uncommented by default.
#
# If you wish to override these system-wide settings, create your own
# .abcde.conf file in your home directory.
ACTIONS=cddb,read,getalbumart,encode,tag,move,cue,clean
# CDDB options
# Choose whether you want to use CDDB or Musicbrainz. Default is CDDB
CDDBMETHOD=musicbrainz
# CDDBURL="http://freedb.musicbrainz.org/~cddb/cddb.cgi"
# Specify the path to the application. In most cases the application
# should be in your $PATH as I illustrate below, otherwise you will
# need to specify the full path. For example: /usr/bin/glyrc
GLYRC=glyrc
IDENTIFY=identify
CONVERT=convert
DISPLAYCMD=display
# album art download options (see glyrc's help for details with more detailed
# examples here: https://github.com/sahib/glyr/wiki/Commandline-arguments).
# For example use '--formats jpg;jpeg' to only search for JPEG images
# These options: '--from <provider>' and '--lang <langcode>' might also be useful
GLYRCOPTS=
ALBUMARTFILE="cover.jpg"
ALBUMARTTYPE="JPEG"
IDENTIFYOPTS="-colorspace RGB -size 600x600"
CONVERTOPTS=
DISPLAYCMDOPTS="-resize 512x512 -title abcde_album_art"
ALBUMARTALWAYSCONVERT="y"
CDDBPROTO=6
# FLAC:
OUTPUTTYPE="flac"
FLACOPTS='-s -e -V -8'
# Give the location of the ripping program and pass any extra options,
# if using libcdio set 'CD_PARANOIA=cd-paranoia'.
CDPARANOIA=cdparanoia
CDPARANOIAOPTS="--never-skip=40"
# Output format and dirs
OUTPUTDIR=$HOME/tmp/music
OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}/${ALBUMFILE}'
VAOUTPUTFORMAT='${OUTPUT}/Various/${ALBUMFILE}'
ONETRACKOUTPUTFORMAT=$OUTPUTFORMAT
VAONETRACKOUTPUTFORMAT=$VAOUTPUTFORMAT
MAXPROCS=2
BATCHNORM=n
NOGAP=n
EJECTCD=y
#--------------------------------------------------------------------------#
# A post_encode function to embed album art downloaded with abcde 2.7 #
# and greater using the new getalbumart function. OUTPUTTYPE must be #
# flac and and tagging is with metaflac. To use this function copy the #
# entire code block and paste it into your ~/.abcde.conf file. #
# #
# abcde: Downloading Album Art... #
# http://www.andrews-corner.org/getalbumart.html #
#--------------------------------------------------------------------------#
post_encode ()
{
ARTISTFILE="$(mungefilename "$TRACKARTIST")"
ALBUMFILE="$(mungefilename "$DALBUM")"
if [ "$VARIOUSARTISTS" = "y" ] ; then
FINDPATH="$(eval echo "$VAOUTPUTFORMAT")"
else
FINDPATH="$(eval echo "$OUTPUTFORMAT")"
fi
FINALDIR="$(dirname "$OUTPUTDIR/$FINDPATH")"
cd "$FINALDIR"
if [ "$OUTPUTTYPE" = "flac" ] ; then
vecho "Preparing to embed the album art..." >&2
else
vecho "Not embedding album art, you need flac output.." >&2
return 1
fi
if [ -e "cover.jpg" ] ; then
for i in *.flac
do
metaflac --import-picture-from=cover.jpg "$i"
done
mv $ALBUMARTFILE ${ALBUMFILE}.jpg
vecho "Your files have had the album art embedded..." >&2
else
vecho "No album art found so no image embedded..." >&2
fi
}[user]
name = Sebastien Le Maguer
email = sebastien.lemaguer@helsinki.fi
[init]
defaultBranch = main
[push]
default = simple
[diff "md"]
textconv = markdown
[core]
excludesfile = /home/lemagues/.gitignore
editor = emacs
pager = ~/environment/local/bin/delta
[interactive]
diffFilter = ~/environment/local/bin/delta --color-only
# [gpg]
# program = gpgv2
# [commit]
# gpgsign = true
[include]
path = /home/lemagues/.private_git
[credential]
helper = store
[alias]
rebase-last = "!b=\"$(git branch --no-color | cut -c3-)\" ; h=\"$(git rev-parse $b)\" ; echo \"Current branch: $b $h\" ; c=\"$(git rev-parse $b)\" ; echo \"Recreating $b branch with initial commit $c ...\" ; git checkout --orphan new-start $c ; git commit -C $c ; git rebase --onto new-start $c $b ; git branch -d new-start ; git gc"
[delta]
line-numbers = true # show line numbers
navigate = true # use n and N to move between diff sections
light = true # set to true if you're in a terminal w/ a light background color
[url "https://git.sv.gnu.org/git"]
insteadOf = git://git.sv.gnu.org
[url "https://"]
insteadOf = git://font-family = "Liga SFMono Nerd Font"
font-size = 10
font-feature = "calt"
font-feature = "ss01"
font-feature = "zero"
window-padding-x = 15
window-padding-y = 15
window-theme = "dark"
window-decoration = true
window-save-state = "always"
window-inherit-working-directory = true
theme = "Nord Light"
background-opacity = 0.98
cursor-style = "block"
cursor-style-blink = true
minimum-contrast = 1.15
unfocused-split-opacity = 0.95
mouse-hide-while-typing = true
copy-on-select = true
mouse-shift-capture = false
mouse-scroll-multiplier = 1.0
scrollback-limit = 10000
confirm-close-surface = false
command="zsh"
shell-integration = "detect"
shell-integration-features = "cursor,sudo"
clipboard-read = "allow"
clipboard-write = "allow"
bold-is-bright = true
window-vsync = true
macos-secure-input-indication = true
window-inherit-font-size = true
quit-after-last-window-closed = true
keybind = "ctrl+shift+c=copy_to_clipboard"
keybind = "ctrl+shift+v=paste_from_clipboard"
keybind = "ctrl+shift+n=new_window"
keybind = "ctrl+shift+t=new_tab"
keybind = "ctrl+shift+w=close_surface"
keybind = "ctrl+shift+f=toggle_fullscreen"
keybind = "ctrl+shift+0=reset_font_size"
keybind = "ctrl+shift+k=scroll_to_top"
keybind = "ctrl+shift+j=scroll_to_bottom"
keybind = "ctrl+a>c=clear_screen"
keybind = "ctrl+a>r=reload_config"
keybind = "ctrl+a>q=close_surface"
gtk-single-instance = true
gtk-tabs-location = "top"# Theme
include themes/flatfluc.conf
#: Fonts {{{
font_family MesloLGS NF
# font_family Fira Code
# font_family Roboto Mono
bold_font auto
italic_font auto
bold_italic_font auto
font_size 10.0
#: }}}
#: Tab bar {{{
tab_bar_edge bottom
tab_bar_margin_width 0.0
tab_bar_margin_height 0.0 0.0
tab_bar_style fade
tab_bar_align left
tab_bar_min_tabs 2
tab_switch_strategy previous
tab_fade 0.25 0.5 0.75 1
tab_separator " ┇"
tab_powerline_style angled
tab_activity_symbol none
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"
active_tab_title_template none
active_tab_font_style bold-italic
inactive_tab_font_style normal
tab_bar_background none
tab_bar_margin_color none
map ctrl+shift+t new_tab_with_cwd
#: }}}
#: Splits {{{
# - Do the split
map ctrl+shift+o launch --cwd=current --location=hsplit
map ctrl+shift+e launch --cwd=current --location=vsplit
# - Navigate
map ctrl+left neighboring_window left
map ctrl+right neighboring_window right
map ctrl+up neighboring_window up
map ctrl+down neighboring_window down
#: }}}
#: shell integration {{{
shell zsh
shell_integration disabled
#! }}}
#: notification {{{
enable_audio_bell no
#! }}}# vim:ft=kitty
## name: flatfluc
## author: Sébastien Le Maguer
## license: MIT
# Baseline
foreground #425D78
background #ECF0F1
selection_foreground #000000
selection_background #E67E22
url_color #0087BD
cursor #81A1C1
# Tab color
active_tab_foreground #ECF0F1
active_tab_background #C0392B
inactive_tab_foreground #81A1C1
inactive_tab_background #425D78
# Shell specific
# - black
color0 #34495E
color8 #425D78
# - red
color1 #BF616A
color9 #BF616A
# - green
color2 #2ECC71
color10 #2ECC71
# - yellow
color3 #F1C40F
color11 #F1C40F
# - blue
color4 #2980B9
color12 #3498db
# - magenta
color5 #B48EAD
color13 #B48EAD
# - cyan
color6 #88C0D0
color14 #8FBCBB
# - white
color7 #E5E9F0
color15 #ECEFF4# Ignore temporary/bulk files
*~*
.#*
**.swp
.bundle
.DS_Store
# Some generated files
coverage
tags
# Python
__pycache__/# See https://www.anaconda.com/understanding-and-improving-condas-performance/ for more info.
# help debug channel issues
show_channel_urls: true
# pip will always be installed with python
add_pip_as_python_dependency: true
# strict priority and conda-forge at the top will ensure
# that all of your packages will be from conda-forge unless they only exist on defaults
channel_priority: strict
channels:
- conda-forge
- defaults
# when using "conda create" for envs these packages will always be installed
# adjust that list according your needs, the packages below are just a suggestion!
create_default_packages:
- pip
- black
- ipython
safety_checks: disabled
auto_activate_base: false### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.cache/aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.cache/aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
max-concurrent-downloads=1
# Continue downloading a partially downloaded file.
continue=true
# Set max overall download speed in bytes/sec. 0 means unrestricted. Default: 0
max-overall-download-limit=0
# Set max download speed per each download in bytes/sec. 0 means unrestricted. Default: 0
max-download-limit=0
# Make aria2 quiet (no console output). Default: false
quiet=true
### Advanced ###
# Restart download from scratch if the corresponding control file doesn't exist. Default: false
allow-overwrite=true
# If false is given, aria2 aborts download when a piece length is different from one in a control file. If true is given, you can proceed but some download progress will be lost. Default: false
allow-piece-length-change=true
# Always resume download. If true is given, aria2 always tries to resume download and if resume is not possible, aborts download. If false is given, when all given URIs do not support resume or aria2 encounters N URIs which does not support resume, aria2 downloads file from scratch. Default: true
always-resume=true
# Enable asynchronous DNS. Default: true
async-dns=false
# Rename file name if the same file already exists. This option works only in HTTP(S)/FTP download. Default: true
auto-file-renaming=true
# Handle quoted string in Content-Disposition header as UTF-8 instead of ISO-8859-1, for example, the filename parameter, but not the extended version filename. Default: false
content-disposition-default-utf8=true
# Enable disk cache. If SIZE is 0, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. SIZE can include K or M. Default: 16M
disk-cache=64M
# Specify file allocation method. none doesn't pre-allocate file space. prealloc pre-allocates file space before download begins. This may take some time depending on the size of the file. If you are using newer file systems such as ext4 (with extents support), btrfs, xfs or NTFS(MinGW build only), falloc is your best choice. It allocates large(few GiB) files almost instantly. Don't use falloc with legacy file systems such as ext3 and FAT32 because it takes almost same time as prealloc and it blocks aria2 entirely until allocation finishes. falloc may not be available if your system doesn't have posix_fallocate(3) function. trunc uses ftruncate(2) system call or platform-specific counterpart to truncate a file to a specified length. Possible Values: none, prealloc, trunc, falloc. Default: prealloc
file-allocation=falloc
# No file allocation is made for files whose size is smaller than SIZE. Default: 5M
no-file-allocation-limit=8M
# Set log level to output to console. LEVEL is either debug, info, notice, warn or error. Default: notice
# console-log-level=notice
# Set log level to output. LEVEL is either debug, info, notice, warn or error. Default: debug
# log-level=debug
# The file name of the log file. If - is specified, log is written to stdout. If empty string("") is specified, or this option is omitted, no log is written to disk at all.
# log=
### RPC ###
# Enable JSON-RPC/XML-RPC server. Default: false
enable-rpc=true
# Pause download after added. This option is effective only when --enable-rpc=true is given. Default: false
# pause=false
# Save the uploaded torrent or metalink meta data in the directory specified by --dir option. If false is given to this option, the downloads added will not be saved by --save-session option. Default: true
# rpc-save-upload-metadata=true
# Add Access-Control-Allow-Origin header field with value * to the RPC response. Default: false
rpc-allow-origin-all=true
# Listen incoming JSON-RPC/XML-RPC requests on all network interfaces. If false is given, listen only on local loopback interface. Default: false
rpc-listen-all=false
# Specify a port number for JSON-RPC/XML-RPC server to listen to. Possible Values: 1024 -65535 Default: 6800
# rpc-listen-port=50100
# Set RPC secret authorization token.
# rpc-secret=
# Use the certificate in FILE for RPC server. The certificate must be either in PKCS12 (.p12, .pfx) or in PEM format. When using PEM, you have to specify the private key via --rpc-private-key as well. Use --rpc-secure option to enable encryption.
# rpc-certificate=
# Use the private key in FILE for RPC server. The private key must be decrypted and in PEM format. Use --rpc-secure option to enable encryption.
# rpc-private-key=
# RPC transport will be encrypted by SSL/TLS. The RPC clients must use https scheme to access the server. For WebSocket client, use wss scheme. Use --rpc-certificate and --rpc-private-key options to specify the server certificate and private key.
# rpc-secure=false
### HTTP/FTP/SFTP ###
# The maximum number of connections to one server for each download. Default: 1
max-connection-per-server=16
# aria2 does not split less than 2*SIZE byte range. Possible Values: 1M -1024M. Default: 20M
min-split-size=8M
# Download a file using N connections. The number of connections to the same host is restricted by the --max-connection-per-server option. Default: 5
split=32
# Set user agent for HTTP(S) downloads. Default: aria2/$VERSION, $VERSION is replaced by package version.
user-agent=Transmission/2.77
### BitTorrent ###
# Save meta data as ".torrent" file. Default: false
# bt-save-metadata=false
# Set TCP port number for BitTorrent downloads. Multiple ports can be specified by using ',' and '-'. Default: 6881-6999
listen-port=50101-50109
# Set max overall upload speed in bytes/sec. 0 means unrestricted. Default: 0
# max-overall-upload-limit=256K
# Set max upload speed per each torrent in bytes/sec. 0 means unrestricted. Default: 0
# max-upload-limit=0
# Specify share ratio. Seed completed torrents until share ratio reaches RATIO. Specify 0.0 if you intend to do seeding regardless of share ratio. Default: 1.0
seed-ratio=0.1
# Specify seeding time in (fractional) minutes. Specifying --seed-time=0 disables seeding after download completed.
seed-time=0
# Enable Local Peer Discovery. If a private flag is set in a torrent, aria2 doesn't use this feature for that download even if true is given. Default: false
# bt-enable-lpd=false
# Enable IPv4 DHT functionality. It also enables UDP tracker support. If a private flag is set in a torrent, aria2 doesn't use DHT for that download even if true is given. Default: true
enable-dht=true
# Enable IPv6 DHT functionality. If a private flag is set in a torrent, aria2 doesn't use DHT for that download even if true is given.
enable-dht6=true
# Set UDP listening port used by DHT(IPv4, IPv6) and UDP tracker. Default: 6881-6999
dht-listen-port=50101-50109
# Set host and port as an entry point to IPv4 DHT network.
dht-entry-point=dht.transmissionbt.com:6881
# Set host and port as an entry point to IPv6 DHT network.
dht-entry-point6=dht.transmissionbt.com:6881
# Change the IPv4 DHT routing table file to PATH. Default: $HOME/.aria2/dht.dat if present, otherwise $XDG_CACHE_HOME/aria2/dht.dat.
dht-file-path=${HOME}/.aria2/dht.dat
# Change the IPv6 DHT routing table file to PATH. Default: $HOME/.aria2/dht6.dat if present, otherwise $XDG_CACHE_HOME/aria2/dht6.dat.
dht-file-path6=${HOME}/.aria2/dht6.dat
# Enable Peer Exchange extension. If a private flag is set in a torrent, this feature is disabled for that download even if true is given. Default: true
enable-peer-exchange=true
# Specify the prefix of peer ID. Default: A2-$MAJOR-$MINOR-$PATCH-. For instance, aria2 version 1.18.8 has prefix ID A2-1-18-8-.
peer-id-prefix=-TR2770-
# Specify the string used during the bitorrent extended handshake for the peer’s client version. Default: aria2/$MAJOR.$MINOR.$PATCH, $MAJOR, $MINOR and $PATCH are replaced by major, minor and patch version number respectively. For instance, aria2 version 1.18.8 has peer agent aria2/1.18.8.
peer-agent=Transmission/2.77[Unit]
Description=aria2 Daemon
[Service]
Type=simple
ExecStart=/usr/bin/aria2c --conf-path=%h/.config/aria2/aria2.conf
TimeoutStopSec=20
Restart=on-failure
[Install]
WantedBy=default.targetyou can then active as follow
systemctl --user enable aria2cd[Unit]
Description=DavMail Daemon
[Service]
Type=simple
ExecStart=/usr/bin/davmail %h/.config/davmail.conf
TimeoutStopSec=20
Restart=on-failure
[Install]
WantedBy=default.targetyou can then active as follow
systemctl --user enable davmaillayout_mamba() {
# initialize micromamba
eval "$(micromamba shell hook --shell=bash)"
# check if environment name is specified
if [ -n "$1" ]; then
# Explicit environment name from layout command.
local env_name="$1"
# activate environment
micromamba activate ${env_name}
elif (grep -q name: environment.yml 2> /dev/null); then
# Detect environment name from `environment.yml` file in `.envrc` directory
micromamba activate `grep name: environment.yml | sed -e 's/name: //'`
else
# if all else fails, activate base environment
micromamba activate base;
fi;
}.mode columns
.header on[Unit]
Description=Email OAuth2 Proxy Daemon
[Service]
Type=simple
ExecStart=%h/environment/local/bin/micromamba run -r %h/environment/local/micromamba/ -n local_environment emailproxy --config-file %h/.config/emailproxy.cfg --no-gui --external-auth
TimeoutStopSec=20
Restart=on-failure
[Install]
WantedBy=default.targetyou can then active as follow
systemctl --user enable emailproxy# MPV v3 Config - version 1.0.10
# Adapted from: https://github.com/Argon-/mpv-config/blob/master/mpv.conf
# ===== Terminal =====
cursor-autohide=200 # autohides the cursor after 200ms
cursor-autohide-fs-only=yes # don't autohide the cursor in window mode, only fullscreen
msg-color=yes # color log messages on terminal
msg-module=yes # prepend module name to log messages
term-osd-bar=yes # displays a progress bar on the terminal
# ===== OSD =====
osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom)
osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height
osd-bar-w=99 # width of " " "
osd-border-color='#DD322640' # ARGB format
osd-border-size=2 # size for osd text and progress bar
osd-color='#FFFFFFFF' # ARGB format
osd-duration=2000 # hide the osd after x ms
osd-font-size=32
#osd-font='Arial' # sets a custom font (comment out line if font change is undesired)
osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}'
# ===== Seeking =====
save-position-on-quit=yes # saves the seekbar position on exit
force-seekable=yes # forces videos to be seekable
# ===== RAM =====
cache=yes # uses a large seekable RAM cache even for local input.
cache-secs=300 # uses extra large RAM cache (needs cache=yes to make it useful).
demuxer-max-back-bytes=20M # sets fast seeking
demuxer-max-bytes=20M # sets fast seeking
demuxer-readahead-secs=200
# ===== Audio =====
volume-max=100 # maximum volume in %, everything above 100 results in amplification
volume=70 # default volume, 100 = unchanged
audio-display=no
# ===== Subtitles =====
# Display English Subtitles if available
#sub-ass-force-margins=yes
#sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts
#sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload
#sub-border-color="#FF262626"
#sub-border-size=3.0
#sub-color="#FFFFFFFF"
#sub-shadow-color="#33000000"
#sub-shadow-offset=1
#sub-spacing=0.5
#sub-use-margins=yes
alang=en,eng # default audio languages
embeddedfonts=yes # use embedded fonts for SSA/ASS subs
slang=en,eng # default subtitles languages
sub-auto=all
sub-color='#eaea27' # use yellow sub color (remove this line to make subtitles the default white colour)
sub-file-paths-append='Subs/${filename/no-ext}' # search for external subs in these relative subdirectories
sub-file-paths-append='Subs/${filename}'
sub-file-paths-append='subs/${filename/no-ext}'
sub-file-paths-append='subs/${filename}'
sub-file-paths-append=ASS
sub-file-paths-append=Ass
sub-file-paths-append=SRT
sub-file-paths-append=Srt
sub-file-paths-append=Sub
sub-file-paths-append=Subs
sub-file-paths-append=Subtitles
sub-file-paths-append=ass
sub-file-paths-append=srt
sub-file-paths-append=sub
sub-file-paths-append=subs
sub-file-paths-append=subtitles
sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases)
sub-font-size=45
sub-font="Arial"
sub-scale-with-window=yes
# == YouTube
script-opts=ytdl_hook-ytdl_path=yt-dlp
# == To sort
hls-bitrate=max # uses max quality for HLS streams
pause=no # disables autoplay
prefetch-playlist=yes # prefetches the playlist
pulse-latency-hacks=yes# MPV v3 Input Configuration - version 1.0.10
# Mouse
MOUSE_BTN0 ignore
MOUSE_BTN0_DBL cycle fullscreen
MOUSE_BTN2 cycle pause
MOUSE_BTN3 ignore
MOUSE_BTN4 ignore
MOUSE_BTN5 ignore
MOUSE_BTN6 ignore
# Trackpad
AXIS_UP ignore
AXIS_DOWN ignore
AXIS_LEFT ignore
AXIS_RIGHT ignore
# Arrow/navigation keys
RIGHT osd-msg-bar seek +5 relative+keyframes
LEFT osd-msg-bar seek -5 relative+keyframes
SHIFT+RIGHT osd-msg-bar seek +1 relative+exact
SHIFT+LEFT osd-msg-bar seek -1 relative+exact
CTRL+RIGHT frame-step ; show-text "Frame: ${estimated-frame-number} / ${estimated-frame-count}"
CTRL+LEFT frame-back-step ; show-text "Frame: ${estimated-frame-number} / ${estimated-frame-count}"
UP osd-msg-bar seek +30 relative+keyframes
DOWN osd-msg-bar seek -30 relative+keyframes
SHIFT+UP osd-msg-bar seek +120 relative+keyframes
SHIFT+DOWN osd-msg-bar seek -120 relative+keyframes
PGUP osd-msg-bar seek +600 relative+keyframes
PGDWN osd-msg-bar seek -600 relative+keyframes
ALT+RIGHT sub-seek +1 ; show-text "Sub Seek +1"
ALT+LEFT sub-seek -1 ; show-text "Sub Seek -1"
#ALT+RIGHT add video-pan-x -0.01
#ALT+LEFT add video-pan-x +0.01
#ALT+UP add video-pan-y +0.01
#ALT+DOWN add video-pan-y -0.01
#META+RIGHT add video-zoom +0.05
#META+LEFT add video-zoom -0.05
#META+UP add video-zoom +0.05
#META+DOWN add video-zoom -0.05
# ` [1] [2] [3] [4] [5] [6] [7] [8] [9] [0] - =
# ~ [!] @ # $ % ^ & * ( ) _ +
1 add contrast -1 ; show-text "Contrast: ${contrast}"
2 add contrast +1 ; show-text "Contrast: ${contrast}"
3 add brightness -1 ; show-text "Brightness: ${brightness}"
4 add brightness +1 ; show-text "Brightness: ${brightness}"
5 add gamma -1 ; show-text "Gamma: ${gamma}"
6 add gamma +1 ; show-text "Gamma: ${gamma}"
7 add saturation -1 ; show-text "Saturation: ${saturation}"
8 add saturation +1 ; show-text "Saturation: ${saturation}"
9 add volume -2 ; show-text "Volume: ${volume}"
0 add volume +2 ; show-text "Volume: ${volume}"
! cycle ontop
` ignore
~ ignore
# ignore
$ ignore
% ignore
^ ignore
& ignore
* ignore
§ ignore
± ignore
# [q] [w] [e] [r] [t] [y] [u] [i] [o] [p] [ ]
# [Q] [W] E R [T] [Y] [U] [I] O [P] { }
Q quit
q script-binding auto_save_state/quit-watch-later-conditional
w script-message osc-playlist
W playlist-shuffle
e playlist-prev ; show-text "${playlist-pos-1}/${playlist-count}"
E ignore
r playlist-next ; show-text "${playlist-pos-1}/${playlist-count}"
R ignore
t cycle-values sub-use-margins "yes" "no"
T cycle-values ass-force-margins "yes" "no" # does not work with :blend-subtitles
CTRL+t cycle-values blend-subtitles "yes" "video" "no"
y cycle-values stretch-image-subs-to-screen "yes" "no"
Y cycle-values stretch-dvd-subs "yes" "no"
u cycle-values hwdec "auto" "no"
U cycle-values vf "format=colorlevels=full" "format=colorlevels=auto" "format=colorlevels=limited"
i script-binding stats/display-stats
I script-binding stats/display-stats-toggle
o cycle-values osd-level 3 1
O ignore
p cycle-values video-rotate 90 180 270 0
P cycle-values video-aspect "16:9" "4:3" "2.35:1" "16:10"
[ ignore
] ignore
{ ignore
} ignore
# [a] [s] [d] [f] [g] [h] [j] [k] [l]
# [A] [S] [D] [F] [G] [H] [J] [K] [L]
a cycle audio # switch audio streams
A cycle-values af "lavfi=[dynaudnorm=f=200:g=5:r=0.1]" "" # dynamic range compression
CTRL+a script-binding auto_audio_device/toggle-switching # toggle automatic audio device switching
s cycle sub # cycle through subtitles
S cycle sub-visibility
CTRL+s cycle secondary-sid
d cycle-values window-scale "1.5" "2.0" "3.0" "0.5" "1.0" ; show-text "Scale: ${window-scale}"
D cycle edition
CTRL+d cycle video
f cycle fullscreen ; show-text "Scale: ${window-scale}"
F vf clr "" ; show-text "Filters cleared"
g cycle-values video-sync display-resample audio ; cycle-values interpolation yes no ; show-text "Interpolation: ${interpolation} (${tscale})"
G cycle-values tscale "linear" "catmull_rom" "mitchell" "bicubic" "oversample" ; show-text "Interpolation: ${interpolation} (${tscale})"
CTRL+g cycle-values interpolation no yes ; show-text "Interpolation: ${interpolation} (${tscale})"
h cycle deinterlace
H script-binding autodeint
j cycle deband
J vf toggle "lavfi=[hqdn3d=2.0]"
K ignore
l cycle-values loop-file yes no ; show-text "${?=loop-file==inf:Looping enabled (file)}${?=loop-file==no:Looping disabled (file)}"
L cycle-values loop-playlist yes no ; show-text "${?=loop-playlist==inf:Looping enabled}${?=loop-playlist==no:Looping disabled}"
CTRL+l ab-loop
# [z] [x] [c] [v] [b] [n] [m] [,] [.]
# [Z] X C V [B] [N] [M] [<] [>]
x script-message osc-chapterlist
X ignore
c script-message osc-playlist
C ignore
v script-message osc-tracklist
V ignore
b add speed +0.05
B add speed -0.05
CTRL+b set speed 1.0
n add audio-delay +0.10
N add audio-delay -0.10
CTRL+n set sub-delay 0
m add sub-delay +0.10
M add sub-delay -0.10
CTRL+m set sub-delay 0
, add sub-scale -0.05 # decrease subtitle font size
< add sub-scale +0.05 # increase subtitle font size
. add sub-pos -1 # move subtitles up
> add sub-pos +1 # move subtitles down
# Adjust timing so that next/prev subtitle is displayed now
/ sub-step +1 ; show-text "Sub Step +1 (timing adjustment)"
? sub-step -1 ; show-text "Sub Step -1 (timing adjustment)"
# [esc] [space] [backspace]
# [tab] [enter]
ESC cycle fullscreen
SPACE cycle pause
IDEOGRAPHIC_SPACE cycle pause
TAB cycle mute
ENTER show-progress
BS revert-seek
SHIFT+BS set speed 1.0 ; set gamma 0 ; set brightness 0 ; set contrast 0 ; set saturation 0 ; set hue 0 ; show-text "Speed/Gamma/Brightness/Contrast/Saturation/Hue resetted"
ALT+BS set video-pan-x 0 ; set video-pan-y 0 ; show-text "Pan resetted"
META+BS set video-zoom 0 ; show-text "Zoom resetted"
# [F1] [F2] F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
F1 script-binding console/enable
# Numpad
KP0 ignore
KP1 ignore
KP2 ignore
KP3 ignore
KP4 ignore
KP5 ignore
KP6 ignore
KP7 ignore
KP8 ignore
KP9 ignore
KP_DEC ignore
KP_ENTER ignore