command line -actions not working

Problems, bugs, suggestions... anything related to SMPlayer.

command line -actions not working

Postby Zeus » Sat Mar 18, 2017 9:23 am

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
Zeus
 
Posts: 5
Joined: Thu Aug 27, 2015 11:35 am

Re: command line -actions not working

Postby rvm » Sat Mar 18, 2017 10:24 pm

Zeus wrote:smplayer -actions "fullscreen compact true" file.mp4


Just tested this command, it works for me (smplayer 17.3).
rvm
Site Admin
 
Posts: 2650
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: command line -actions not working

Postby Zeus » Sun Mar 19, 2017 3:36 pm

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.
Zeus
 
Posts: 5
Joined: Thu Aug 27, 2015 11:35 am

Re: command line -actions not working

Postby rvm » Sun Mar 19, 2017 10:51 pm

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.
rvm
Site Admin
 
Posts: 2650
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: command line -actions not working

Postby Zeus » Mon Mar 20, 2017 9:03 am

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 ?
Zeus
 
Posts: 5
Joined: Thu Aug 27, 2015 11:35 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 2 guests