yausername / youtubedl-android

youtube-dl for android
GNU General Public License v3.0
947 stars 172 forks source link

Add support for options with multiple arguments #197

Closed deniscerri closed 1 year ago

deniscerri commented 1 year ago

I am trying to use the command --replace-in-metadata "metadata-name" "regex" "replacement" but currently only one argument is allowed. I tried to add quotation marks manually but it still considers everything as one argument request.addOption("--replace-in-metadata", "\"title\" \"[ ]\" \""+replacement+"\"");

JunkFood02 commented 1 year ago

Custom command would work for complicated use cases like this.

deniscerri commented 1 year ago

worked flawlessly. Thank you