blob: 7631282dfd5126f6336a4bf19af92cde3fd18d29 (
plain)
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
|
function mpvshuffledir () {
mpv ${=MPVOPTS} \
--shuffle \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx) \
$@
}
function movies_forgotten () {
mpv ${=MPVOPTS} \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(Oa) \
$@
}
function movies_oldest () {
mpv ${=MPVOPTS} \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(Om) \
$@
}
function movies_newest () {
mpv ${=MPVOPTS} \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(om) \
$@
}
function movies_smallest () {
mpv ${=MPVOPTS} \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(oL) \
$@
}
function movies_biggest () {
mpv ${=MPVOPTS} \
(#i)${1:-.}/**/*.(mpeg|webm|avi|flv|mkv|mpg|wmv|wva|mp4|wva|m4v|ogm|mp4|mov|divx)(OL) \
$@
}
|