debian:/home/lahijan# smplayer -h
Qt: Session management error: None of the authentication protocols specified are supported
This is SMPlayer v. 0.6.8 (SVN r3213) running on Linux
Usage: smplayer [-minigui] [-defaultgui] [-mpcgui] [-config-path directory]
[-send-action action_name] [-actions action_list] [-close-at-end]
[-no-close-at-end] [-fullscreen] [-no-fullscreen] [-sub subtitle_file] [-pos x
y] [-size width height] [-add-to-playlist] [-help|--help|-h|-?] [[-playlist]
media] [[-playlist] media]...
-minigui: opens the mini gui instead of the default one.
-mpcgui: opens the mpc gui.
-defaultgui: opens the default gui.
-config-path: specifies the directory where smplayer will store its
configuration files (smplayer.ini, smplayer_files.ini...)
-send-action: tries to make a connection to another running instance and
send to it the specified action. Example: -send-action
pause The rest of options (if any) will be ignored and the
application will exit. It will return 0 on success or -1 on
failure.
-actions: action_list is a list of actions separated by spaces. The
actions will be executed just after loading the file (if
any) in the same order you entered. For checkable actions
you can pass true or false as parameter. Example: -actions
"fullscreen compact true". Quotes are necessary in case you
pass more than one action.
-close-at-end: the main window will be closed when the file/playlist
finishes.
-no-close-at-end: the main window won't be closed when the file/playlist
finishes.
-fullscreen: the video will be played in fullscreen mode.
-no-fullscreen: the video will be played in window mode.
-sub: specifies the subtitle file to be loaded for the first
video.
-pos: specifies the coordinates where the main window will be
displayed.
-size: specifies the size of the main window.
-help: will show this message and then will exit.
-add-to-playlist: if there's another instance running, the media will be
added to that instance's playlist. If there's no other
instance, this option will be ignored and the files will be
opened in a new instance.
media: 'media' is any kind of file that SMPlayer can open. It can
be a local file, a DVD (e.g. dvd://1), an Internet stream
(e.g. mms://....) or a local playlist in format m3u or pls.
If the -playlist option is used, that means that SMPlayer
will pass the -playlist option to MPlayer, so MPlayer will
handle the playlist, not SMPlayer.