[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - PC shutdown after stop playing

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

PC shutdown after stop playing

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

PC shutdown after stop playing

Postby the waiter » Mon Mar 26, 2012 8:01 am

Is here in SM any possibilty to shut down PC after watching movie? I was looking among properties and I can not find it.
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: PC shutdown after stop playing

Postby rvm » Mon Mar 26, 2012 12:06 pm

No, there is no option for that.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: PC shutdown after stop playing

Postby the waiter » Mon Mar 26, 2012 8:42 pm

I see. Do you plan this feature in the future? It is useful I think
the waiter
 
Posts: 51
Joined: Tue Jan 24, 2012 1:00 pm

Re: PC shutdown after stop playing

Postby rvm » Mon Mar 26, 2012 9:41 pm

Unless someone else sends a patch which implements it, no.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: PC shutdown after stop playing

Postby mastah' » Mon Mar 18, 2013 2:43 am

This would be also a great improvement in this program for me. Often watching movies before sleeping.
Actually this is one of the first features that I'm looking for when choosing a right player for me. SMPlayer is unfortunately having all the important features apart from this one..
Hope this will change soon!
Cheers!
mastah'
 

Re: PC shutdown after stop playing

Postby antonio » Fri Aug 30, 2013 9:25 pm

antonio
 

Re: PC shutdown after stop playing

Postby CommonSense » Fri Sep 27, 2013 9:25 pm

So... KMPlayer,PotPlayer, GOM Player, Media Player Classic are stupid for having this option, and you are smart not having it???
Why you don't just make it? It's a basic thing...
CommonSense
 
Posts: 1
Joined: Fri Sep 27, 2013 9:22 pm

Re: PC shutdown after stop playing

Postby rvm » Fri Sep 27, 2013 10:51 pm

It's not so easy as it seems. SMPlayer runs in linux and windows and then this option should be implemented on both operating systems, which will require different code. And in linux a regular application doesn't have permission to turn off the computer.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: PC shutdown after stop playing

Postby anonymous_user » Sat Sep 28, 2013 4:24 pm

If you could detect whether a Linux distro was using ConsoleKit or systemd, then shutting down as a user should be possible. I forgot the ConsoleKit commands (though I remember them being long) and for systemd you can simply use systemctl poweroff. And if neither is detected then simply disable the option for shutdown.

Edit: or perhaps you can let people enter a custom command. Some people may have removed the password require for the shutdown command and wish to use that.
anonymous_user
 
Posts: 11
Joined: Mon Mar 08, 2010 8:40 pm

Re: PC shutdown after stop playing

Postby Common Sense » Wed Nov 20, 2013 3:59 pm

@Admin

For example qBitTorrent is able to shutdown Linux after downloads completes, why SMPlayer could do it to?
Common Sense
 

Next

Return to General

Who is online

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