Jump to content

Wake screen on play


AxelAxel3

Recommended Posts

AxelAxel3

When the screen goes to sleep and I remotely press play with the HTML5 interface, the screen should be woke up so you can see the video without having to get up and move the mouse.

 

Also posted in github:

https://github.com/MediaBrowser/MediaBrowser.Theater/issues/104

 

 

Edit: for clarification purposes:

When I say the monitor I literally mean just the monitor blanking... Not the computer going to sleep.

Edited by alexander7567
Link to comment
Share on other sites

Shaun

When the screen goes to sleep and I remotely press play, the screen should be woke up so you can see the video without having to get up and move the mouse.

 

 

goes to sleep ? Do you mean screen saver or something else ?

Link to comment
Share on other sites

AxelAxel3

Yes, like I said the screen. And I know its possible because I looked up if it is on Google with WFC (or wpc or whatever language it is) and it was possible. I am just not familiar enough with the project to do it myself.

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

Shaun

Guys

 

I'm looking into this issue to see if I can help resolve it. It is unclear to me what the issue is.

Can you both clarify if.

 

1. Is this a Wake on Lan issue ? - The entire computer goes to sleep, you have a complete blank screen and you have to send some mouse movements to the pc to wake it up ? - What happens then ?

or

2. Something else - please describe ?

Link to comment
Share on other sites

Ghostm

Hmmm a dev would have to tell us if thats possible.

 

But its why many of us want wake on lan to be a standard feature everywhere, in the ios, windows, android, even web client. So then we can turn on our htpc's. 

 

Unless your just referring to just the display. 

Edited by Ghostm
Link to comment
Share on other sites

Ghostm

I think what hes saying is he just puts his display/monitor to sleep, and wants to wake it.

 

I thought he was asking for wake on lan to wake his machine, which is something that has been requested for a few months for mbt/mb3 server  across various platforms, but a separate issue. 

 

I for instance in windows on my desktop just put my monitor to sleep after 10 minutes (not the machine, just the screen) and you shake the mouse to wake the monitor, I think he wants the screen to be woken up when he plays media to it. 

Edited by Ghostm
Link to comment
Share on other sites

Koleckai Silvestri

Guys

 

I'm looking into this issue to see if I can help resolve it. It is unclear to me what the issue is.

Can you both clarify if.

 

1. Is this a Wake on Lan issue ? - The entire computer goes to sleep, you have a complete blank screen and you have to send some mouse movements to the pc to wake it up ? - What happens then ?

or

2. Something else - please describe ?

My PC never sleeps but to conserve a bit of energy, I blank the monitor after 15 minutes of non-use. The monitor would then go to sleep.

 

I think the issue they are having is the monitor/tv is in a power saving mode and they are sending content to the HTPC to play and the monitor isn't waking. Seems the OS and display drivers should control this but if there is a signal you could send to wake it, they would appreciate it.

 

I

Link to comment
Share on other sites

AxelAxel3

When I say the monitor I literally mean just the monitor blanking... Not the computer going to sleep. Since there was so many questions about this, I updated the op.

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

  • 2 weeks later...
Shaun

I understand now. We have 2 issues

 

1. Monitor blanking - this should be fairly straight forward - use WM_SYSCOMMAND.SC_MONITORPOWER, see http://www.codeproject.com/KB/cs/Monitor_management_guide.aspx

2. Wake on Lan - this should be straight forward too - we can add it to the remote api and then all web, ios & android clients can use it. BTW many ios & android remote keyboard apps already implement WOL

 

Can't promise we will get to them soon, but they are on my list

  • Like 1
Link to comment
Share on other sites

AxelAxel3

I think the monitor waking up when pressing play has already added. I tried it last night and it seem to work.

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

Shaun,

There's only one issue in this thread. When MBT receives a remote control command it should also wake up the monitor, if it's turned off.

Link to comment
Share on other sites

AxelAxel3

Shaun,

There's only one issue in this thread. When MBT receives a remote control command it should also wake up the monitor, if it's turned off.

You are right Luke... All I meant was the monitor. But last night it seemed that this feature has already been implemented.

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

Ghostm

I understand now. We have 2 issues

 

1. Monitor blanking - this should be fairly straight forward - use WM_SYSCOMMAND.SC_MONITORPOWER, see http://www.codeproject.com/KB/cs/Monitor_management_guide.aspx

2. Wake on Lan - this should be straight forward too - we can add it to the remote api and then all web, ios & android clients can use it. BTW many ios & android remote keyboard apps already implement WOL

 

Can't promise we will get to them soon, but they are on my list

 

I dont mean to high jack and to interfere with the ops thread but im sure many people beside myself would love some wake on lan api. Was just thinking about that last night. I am currently using 3rd party products but it would nice to see built in api for it like xbmc has so 3rd party products would not be required. And i really miss it in the ios, android apps as you mention (which xbmc had it available for since its basically a power button for our htpc's). Someone created this request months back but in an old forum asking the windows phone developer to include it. Was not always wife friendly explaining to her to jump to a different app if she wants to turn it on, and then jump back to mb3. 

 

Although the ops idea was also very useful.

Edited by Ghostm
Link to comment
Share on other sites

AxelAxel3

Although this is off topic and I think the topic should be split by a moderator, I want to bring up this point with wol.

 

To my understanding (and according to wikipedia), to send a wake on lan request, you must send the mac address of the computer to wake up.

 

How is mb going to know the mac address of which computer you want to wake up? Once a client losses connection from mb, it forgets it (if I'm not mistaken). So how will mb know what to wake up?

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

Ghostm

Not sure if im answering your question. In xbmc app you input your mac address for the pc (so one has to know it or locate it). Then you save it, and it sends a magic packet to wake the pc, 3rd party products i use operate the same way. Input your mac address, save it, and it wakes whenever you hit the wake on lan button. I dont know how its going to be implemented here in this instance and shaun may have other ideas, and i havent used xbmc in a few months to check, but i noticed they added new api for wake on lan as well so im not sure if they changed how it functions on their end.

 

Really i also seen requests on the server side as well to have wake on lan so people can also wake up their servers along with an htpc. It would be nice for end users if all the apps provided this so users dont have to rely on separate products, its all included in one app to wake the mb3 devices you want and it also gives you an easy to use family acceptable factor as well.

 

Its the one thing I give xbmc credit for doing extremely well, they make htpc control very simple, they create api for every function, and then make sure the app developers implement it. Its one of the issues im having converting a friend over to mb3, he keeps mentioning how slick and easy to use the xbmc app is to control his htpc. You just download the app and you have endless control of your htpc. 

Edited by Ghostm
Link to comment
Share on other sites

Although this is off topic and I think the topic should be split by a moderator, I want to bring up this point with wol.

 

To my understanding (and according to wikipedia), to send a wake on lan request, you must send the mac address of the computer to wake up.

 

How is mb going to know the mac address of which computer you want to wake up? Once a client losses connection from mb, it forgets it (if I'm not mistaken). So how will mb know what to wake up?

 

Sent from my android using Tapatalk

 

This is not hard to get around.  MBC has WOL functionality now.  We simply save the mac address of the last server we connected to and attempt to wake it when we start the next time.

Link to comment
Share on other sites

AxelAxel3

This is not hard to get around. MBC has WOL functionality now. We simply save the mac address of the last server we connected to and attempt to wake it when we start the next time.

So its wake on lan of the server not the client?

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

So its wake on lan of the server not the client?

 

Sent from my android using Tapatalk

 

Correct.  Sorry, that response was a part of the hijack.  I realize it is a different issue from this one.

Link to comment
Share on other sites

AxelAxel3

Wait... No that is not what other people are talking about. They are talking about wol of the clients. Shaun said in his earlier post to add it to the media browser server api... That would mean he is wanting the server to send wol packets to clients from the mb server.

 

Sent from my android using Tapatalk

Link to comment
Share on other sites

Wait... No that is not what other people are talking about. They are talking about wol of the clients. Shaun said in his earlier post to add it to the media browser server api... That would mean he is wanting the server to send wol packets to clients from the mb server.

 

Sent from my android using Tapatalk

 

Okay, so there's three different permutations :).

 

Waking a client is a bit trickier because, even if you wake it, you can't guarantee our app is running on it. We would need a small stub app always running on every device.  We've also discussed this.

Link to comment
Share on other sites

Ghostm

Interesting, i would be happy if i could just enter a mac address in iphone/android/maybe even the web client and wake my mbt htpc with a magic packet (some users might want to wake the serve as well, i personally would like to wake my htpc, my server always runs).

 

I am not sure if shaun has something more advanced in mind. I always have mbt running on my htpc. Im a creature of habit yet from xbmc where i left it run as they told me thats how it was intended to operate, and their ios app had a wake on lan button, it was good enough for me simply to wake my pc with xbmc running, or in this case mbt. Or even if i turn my htpc off, mbt is in the startup programs so it launches automatically anyway on startup. I do this with a 3rd party program at the moment. HTPC is off, wake on lan, htpc boots up, mbt launches on startup.

 

The app always running would be an interesting idea though with possibilities, it would also be cool if it could launch mbt if its not running, or launch it from a button press in an app for android/ios/windows ect...this is basically what i have mce controller doing right now, it runs in the background listening for commands and i use the green button from mce controller to launch mbt if it happens to not be running (also using a 3rd party ios product), but it would be nice to get rid of it, and just use one mb3 applications instead of 3rd party patch job stuff. Anything that makes the htpc easier to control for an end user is a bonus imo.

 

Edited by Ghostm
Link to comment
Share on other sites

  • 3 years later...
mangis

Hey Guys

 

Old post but wondering if this has been implemented. Sending something to my Windows 10 PC running Emby Theater from the Android app isn't turning the screen back on. 

 

Thanks

Link to comment
Share on other sites

It will prevent the screen from turning off. I don't believe it will turn it back on. We'll have to test that out. Thanks.

  • Like 2
Link to comment
Share on other sites

  • 9 months later...

The next update to the Emby Theater Windows Store app will have Wake on LAN. You'll be able to wake a server from the server selection screen. Just click on a server as usual, and you'll see "Wake On LAN" as one of the options in the menu for that server.

 

Enjoy.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...