Add quvi 0.2.12+ --category-http examples
[clive.git] / examples / cliverc
blob8f8ae7f16afa9f8d428bab03716bbff9ea676bb1
2 # /usr/local/share/clive/config
3 # /usr/share/clive/config
4 # /etc/clive/config
5 # ~/.cliverc
6 # ~/.clive/config
7 # ~/.config/clive/config
8 # or "env CLIVE_CONFIG=/path/to/config/file clive".
10 # Path to quvi(1) with any additional args.
11 # Note that clive adds --quiet if it's not defined.
12 #   %u  Video URL
13 --quvi "/usr/bin/quvi %u"
14 # Recommended value for quvi 0.2.12+
15 #--quvi "/usr/bin/quvi --category-http %u"
17 # Path to a download command, this could be anything you choose,
18 # as long as you work out the details.
19 #   %u  Video download URL
20 #   %f  Full path to video file (to write to)
21 #   %n  File name (basename of the above)
22 --get-with "/usr/bin/curl -L -C - -o %f %u"
24 # Play downloaded video when done.
25 #--exec "/usr/bin/vlc --quiet %f"
27 # Video filename format.
28 #   %t  Video title (after applying --regexp)
29 #   %i  Video ID
30 #   %h  Video host ID (req. quvi 0.2.8+)
31 #   %s  Video file suffix (parsed from server returned content-type)
32 #--filename-format "%t_%i.%s"
34 # Regexp to cleanup the video title before using it in a file name.
35 #--regexp "/(\\w)/g"