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
|
# Typical paths.
# /usr/local/share/clive/config
# /usr/share/clive/config
# /etc/clive/config
# ~/.cliverc
# ~/.clive/config
# ~/.config/clive/config
# or set the path to the file with CLIVE_CONFIG env. variable.
# quvi command. clive appends "--quiet" to it.
# %u Media page URL
# quvi 0.4.1+
--quvi "/usr/bin/quvi -c http %u"
#--quvi "/usr/bin/quvi --category-http %u"
# Download command.
# %u Media stream URL
# %f Path to the downloaded media file
# %n File name (basename of the above)
# Make a note of user-agent. Some websites are known refuse to work
# with the curl default user-agent value. Use the quvi default value.
--get-with "/usr/bin/curl -L -C - -o %f %u --user-agent Mozilla/5.0"
# Play copied media file when transfer finishes.
# %f Path to the local media file
#--exec "/usr/bin/vlc --quiet %f"
# Save downloaded media as, where
# %h Media host ID
# %t Media title
# %s File suffix
# %i Media ID
#--filename-format "%t_%i.%s"
# Cleanup title with regular expression.
#--regexp "/(\\w)/g"
|