Update NEWS for 2.3.3
[clive.git] / examples / cliverc
blobe4eaa0edce607c4e4feb5068c9c79859d9bc9804
2 # Typical paths.
3 #   /usr/local/share/clive/config
4 #   /usr/share/clive/config
5 #   /etc/clive/config
6 #   ~/.cliverc
7 #   ~/.clive/config
8 #   ~/.config/clive/config
9 # or set the path to the file with CLIVE_CONFIG env. variable.
11 # quvi command. clive appends "--quiet" to it.
12 #   %u  Media page URL
13 # quvi 0.4.1+
14 --quvi "/usr/bin/quvi -c http %u"
15 #--quvi "/usr/bin/quvi --category-http %u"
17 # Download command.
18 #   %u  Media stream URL
19 #   %f  Path to the downloaded media file
20 #   %n  File name (basename of the above)
21 # Make a note of user-agent. Some websites are known refuse to work
22 # with the curl default user-agent value. Use the quvi default value.
23 --get-with "/usr/bin/curl -L -C - -o %f %u --user-agent Mozilla/5.0"
25 # Play copied media file when transfer finishes.
26 #   %f  Path to the local media file
27 #--exec "/usr/bin/vlc --quiet %f"
29 # Save downloaded media as, where
30 #   %h  Media host ID
31 #   %t  Media title
32 #   %s  File suffix
33 #   %i  Media ID
34 #--filename-format "%t_%i.%s"
36 # Cleanup title with regular expression.
37 #--regexp "/(\\w)/g"