This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Variables are not resolved in Parameters.

SMTube is a YouTube browser that can be used along with SMPlayer. Let's talk about it.

Variables are not resolved in Parameters.

Postby anonimox69 » Mon Dec 07, 2015 1:13 am

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.
anonimox69
 
Posts: 1
Joined: Fri Dec 04, 2015 1:51 am

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests