Page 1 of 1

Variables are not resolved in Parameters.

PostPosted: Mon Dec 07, 2015 1:13 am
by anonimox69
SMTube not expand variables "%HOMEDRIVE%, %HOMEPATH%, %userprofile%...", the error occurs using youtube-dl, passing parameters from Windows example:

Name: Download 1080p
executable: mplayer\youtube-dl.exe
Parameters: %u -f "bestvideo[height<=?1080]+bestaudio/best" -o "%USERPROFILE%\Videos\Youtube\%(title)s.%(ext)s"


youtube-dl does not expand the variable "%USERPROFILE%", but from cmd yes, SMTube may expand the variable before passing it to youtube-dl or another program.

Sorry translate google.