You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,12 +56,6 @@ If after this the issue persists then open an issue.
57
56
58
57
History has been reworked and relocated. We're working on a transition script, please be patient. Old history can be viewed with `less ${XDG_CACHE_HOME:-$HOME/.cache}/ani-hsts`
59
58
60
-
## New in v4
61
-
62
-
V4 was a complete rewrite, which is why it took so long.
63
-
64
-
The user interface is now powered by [fzf](https://github.com/junegunn/fzf), tho it may be changed to [gum](https://github.com/charmbracelet/gum) in an upcoming version.
65
-
66
59
## Install
67
60
68
61
#### Users of V3.2 or the v3.2.x series should uninstall before upgrading
Watch anime together with friends, using Syncplay (works with mpv only).
36
+
.TP
37
+
\fB\-U|--update\fR
38
+
Fetch update from github.
36
39
.TP
37
-
\fB\-p\fR\fI\,DIRECTORY\/\fR
38
-
download episode to the specified DIRECTORY.
40
+
\fB\-v|--vlc\fR
41
+
Use VLC as the media player.
39
42
.TP
40
-
\fB\-q\fR\fI\,<best|worst|360|480|720|1080>\/\fR
41
-
set the video quality.
43
+
\fB\-V|--version\fR
44
+
Print version number and exit.
42
45
.TP
43
-
\fB\-r\fR
44
-
select provider to scrape first.
46
+
\fB\--dub\fR
47
+
Play the dubbed version. Without this flag, it'll always play the subbed version.
48
+
.PP
49
+
.SH
50
+
ENVIRONMENT VARIABLES
51
+
.PP
52
+
ani-cli v4 uses environment variables to control unstable/untested and niche features in addition to everything that has an option. Command-line options take precedence over env vars. Note that these are all subject to change.
45
53
.TP
46
-
\fB\-s\fR
47
-
watch anime together with friends, using Syncplay (works with mpv only).
54
+
\fBANI_CLI_MODE\fR
55
+
Controlls the scraped media's mode, valid options are sub or dub. Default is sub.
48
56
.TP
49
-
\fB\-U\fR
50
-
fetch update from github.
57
+
\fBANI_CLI_MEDIA_LOCALE\fR
58
+
Controlls the scraped media's locale, check allanime for valid options. Default is en-US.
51
59
.TP
52
-
\fB\-v\fR
53
-
use VLC as the media player.
60
+
\fBANI_CLI_DOWNLOAD_DIR\fR
61
+
Controlls the directory where files are downloaded. Default is the current dir.
54
62
.TP
55
-
\fB\-V\fR
56
-
print version number and exit.
63
+
\fBANI_CLI_QUALITY\fR
64
+
Controlls the scraped media's quality, check allanime for valid options or set to worst/best. Default is best.
57
65
.TP
58
-
\fB\-x\fR
59
-
print all video links from all providers to stdout (for debugging
60
-
purpose).
61
-
.SH EPISODE SELECTION
66
+
\fBANI_CLI_PLAYER\fR
67
+
Sets the player ani-cli uses. Can be debug (print links), download (equivalent to -d), android_mpv (apk and am start), android_vlc (apk and am start), flatpak_mpv (for flatpak) or any player that can play urls. For defaults see working without arguments.
68
+
.TP
69
+
\fBANI_CLI_EXTERNAL_MENU\fR
70
+
Controlls the frontend of ani-cli. Can be 0 (uses fzf) or 1 (uses rofi dmenu). Default is 0.
71
+
.TP
72
+
\fBANI_CLI_MULTI_SELECTION\fR
73
+
Controlls the multi flag for the chosen frontend. Default is -m for fzf and --multi-select for rofi dmenu.
74
+
.TP
75
+
\fBANI_CLI_CACHE_DIR\fR
76
+
Controlls the directory ani-cli uses for caching results. A /ani-cli subfolder is created there for the cache files if doesn't exists. Default is $XDG_CACHE_HOME if set, $HOME/.cache/ if not.
77
+
.TP
78
+
\fBANI_CLI_HIST_DIR\fR
79
+
Controls the directory ani-cli uses for storing history. A /ani-cli subfolder is created there for the histfile if doesn't exists. Default is $XDG_STATE_HOME if set, $HOME/.local/state if not.
80
+
.TP
81
+
\fBANI_CLI_DEFAULT_SOURCE\fR
82
+
Controlls the default source. Valid is history (equivalent to -c), everything else means search. Default is search.
62
83
.PP
63
-
Episode selection: Multiple episodes can be chosen given a range Choose
64
-
episode [1-13]: 1 6 This would choose episodes 1 2 3 4 5 6 To select the
65
-
last episode use -1
84
+
.SH EPISODE SELECTION
66
85
.PP
67
-
When selecting non-interactively, the first result will be selected, if
68
-
anime is passed
86
+
Multiple episodes can be chosen using fzf (or alternative frontend's) multi-selection mode. For this refer to their instructions.
0 commit comments