Added annex.youtube-dl-command config
This can be used to run some forks of youtube-dl. Sponsored-by: Brett Eisenberg on Patreon
This commit is contained in:
parent
3093e8fcc3
commit
6d4a728455
4 changed files with 20 additions and 5 deletions
|
@ -95,6 +95,7 @@ data GitConfig = GitConfig
|
|||
, annexDebugFilter :: Maybe String
|
||||
, annexWebOptions :: [String]
|
||||
, annexYoutubeDlOptions :: [String]
|
||||
, annexYoutubeDlCommand :: Maybe String
|
||||
, annexAriaTorrentOptions :: [String]
|
||||
, annexCrippledFileSystem :: Bool
|
||||
, annexLargeFiles :: GlobalConfigurable (Maybe String)
|
||||
|
@ -180,6 +181,7 @@ extractGitConfig configsource r = GitConfig
|
|||
, annexDebugFilter = getmaybe (annexConfig "debugfilter")
|
||||
, annexWebOptions = getwords (annexConfig "web-options")
|
||||
, annexYoutubeDlOptions = getwords (annexConfig "youtube-dl-options")
|
||||
, annexYoutubeDlCommand = getmaybe (annexConfig "youtube-dl-command")
|
||||
, annexAriaTorrentOptions = getwords (annexConfig "aria-torrent-options")
|
||||
, annexCrippledFileSystem = getbool (annexConfig "crippledfilesystem") False
|
||||
, annexLargeFiles = configurable Nothing $
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue