-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
56 lines (48 loc) · 1.86 KB
/
config.yaml.example
File metadata and controls
56 lines (48 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Luffy Configuration File
# Copy this file to ~/.config/luffy/config.yaml and customize as needed
# Path to fzf binary (default: fzf)
fzf_path: fzf
# change the video player
# supported: mpv, vlc (default: mpv)
player: mpv
# Image backend for displaying images in terminal (default: sixel)
# Options: sixel, kitty.
image_backend: sixel
# Provider for anime sources (default: flixhq)
# Options: flixhq, brocoflix, etc.
provider: flixhq
# Download path for saved videos (default: user's home directory)
# Leave empty to use home directory
dl_path: "/home/swarn/dl"
# Quality selection (default: empty = show fzf prompt to pick quality)
# Set to "best" to automatically select the highest available quality.
# quality: best
# Extra arguments appended to every mpv invocation.
# Useful for hardware decoding, volume presets, window settings, etc.
# mpv_args:
# - "--hwdec=auto"
# - "--volume=80"
# - "--save-position-on-quit"
# Lifecycle hooks — shell commands run at key playback events.
# Each hook is executed via "sh -c" (Unix) or "cmd /c" (Windows).
# The following environment variables are set for every hook:
#
# LUFFY_TITLE – media title
# LUFFY_URL – provider media URL
# LUFFY_SEASON – season number (0 for movies)
# LUFFY_EPISODE – episode number (0 for movies)
# LUFFY_EP_NAME – episode name (empty for movies)
# LUFFY_PROVIDER – provider name
# LUFFY_ACTION – "play" or "download"
# LUFFY_STREAM_URL – resolved stream URL
# LUFFY_POSITION – playback position in seconds (on_exit only)
#
# hooks:
# # Run just before the player launches.
# on_play: 'notify-send "Now playing" "$LUFFY_TITLE"'
#
# # Run after the player exits.
# on_exit: 'echo "$LUFFY_TITLE stopped at ${LUFFY_POSITION}s" >> ~/luffy.log'
#
# # Run just before a download starts.
# on_download: 'notify-send "Downloading" "$LUFFY_TITLE"'