Page 1 of 1

command line -actions not working

PostPosted: Sat Mar 18, 2017 9:23 am
by Zeus
smplayer -actions "fullscreen compact true" file.mp4

console output:
This is SMPlayer v. 17.2.0 (revision 8426) running on Linux
Error: expected parameter for -actions

Re: command line -actions not working

PostPosted: Sat Mar 18, 2017 10:24 pm
by rvm
Zeus wrote:smplayer -actions "fullscreen compact true" file.mp4


Just tested this command, it works for me (smplayer 17.3).

Re: command line -actions not working

PostPosted: Sun Mar 19, 2017 3:36 pm
by Zeus
Problem in zsh. Some option does not allow the program to run. In pure zsh, everything works.

But we can not jump to the right place. I tried:
smplayer -actions "jump_to 00:02:43" file.mp4 and smplayer -actions "jump_to=00:02:43". Not working.

Re: command line -actions not working

PostPosted: Sun Mar 19, 2017 10:51 pm
by rvm
Zeus wrote:smplayer -actions "jump_to 00:02:43" file.mp4 and smplayer -actions "jump_to=00:02:43". Not working.


I'm afraid this is not supported. The actions basically simulate keystrokes, and don't accept parameters (except for "true"/"false" for toggleable actions). You need to use something like -actions "forward2 forward2 forward1" to go forward 2 minutes and 10 seconds.

Re: command line -actions not working

PostPosted: Mon Mar 20, 2017 9:03 am
by Zeus
you can add ?
smplayer -actions "jump_to=00:02:43"

If it is difficult then you can do this:
smplayer -jumpto 00:23:34 file.mp4

What do you think ?