Contains all youtubeDl functions
- Source:
Members
(inner, constant) blacklistedParameter :array
- Source:
- Default Value:
[ "-h", "--help", "-v", "--version", "-U", "--update", "-q", "--quiet", "-s", "--simulate", "-g", "--get-url", "-e", "--get-title", "--get-id", "--get-thumbnail", "--get-description", "--get-duration", "--get-filename", "--get-format", "-j", "--dump-json", "--newline", "--no-progress", "--console-title", "--dump-intermediate-pages", "--write-pages" ]
Type:
- array
Methods
(inner) binaryDetailsPathGet() → {string}
Gets the path to the youtube-dl binary details file
- Source:
Gets the path to the youtube-dl binary details file
Returns:
youtubeDlBinaryDetailsPath - The actual path to the youtube-dl details file
- Type
- string
(inner) binaryDetailsValueGet()
Gets all values from the youtube-dl binary details file
- Source:
Gets all values from the youtube-dl binary details file
(inner) binaryPathGet() → {string}
Gets the path to the youtube-dl binary file
- Source:
Gets the path to the youtube-dl binary file using getYtdlBinary()
Returns:
youtubeDlBinaryPath - The actual path to the youtube-dl binary
- Type
- string
(inner) binaryPathReset(path)
Resets the youtube-dl binary path in details
- Source:
Resets the youtube-dl binary path in details
Parameters:
Name | Type | Description |
---|---|---|
path |
string | The path to the youtube-dl details file |
(inner) binaryUpdateCheck(silentopt, forceopt)
Checks if the yoututbe-dl setup allows updating or not
- Source:
Checks if the yoututbe-dl setup allows updating or not
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
silent |
boolean |
<optional> |
Boolean with default value. Shows a feedback in case of no available updates If 'silent' = false. Special handling for manually triggered update search |
force |
boolean |
<optional> |
If progressing is forced or not |
(inner) binaryUpdateExecute()
Updates the youtube-dl binary
- Source:
Updates the youtube-dl binary
(inner) binaryUpdateSearch(silent, force)
Searches for youtube-dl binary updates
- Source:
Searches for youtube-dl binary updates
Parameters:
Name | Type | Description |
---|---|---|
silent |
boolean | Defaults to true. If true, the progress is silent, if false there is info-feedback even if there is no update available |
force |
boolean | Defaults to false. If enabled the update is forced even if there isa no update available (replacing the existing) |