| |||||||
| General Talk Talk about the MediaPortal TV-Server |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| I run the TVserver and a client setup. The server is also used for other stuff like backup and ftp. I would like to have a small tool to keep the server alive, sort of like faking I have started the client. This would make the server pc much more versatile. So the basic idea is to have a small stand alone script running on the client PC that fake the alive signal from the MP client, but without the MP client have to be running. Can anyone do that, or can I do it myself? Best regards Light |
| | |
| |
| | #2 (permalink) |
| Portal Tester | What do you mean by 'always alive' as unless you setup the TVSERVER otherwise it will always be running? Run the powerschedular plugin in SETUPTV then from the config tab choose an 'exe' that is always running, The TVSERVER will never stop unless it has an odd bug. Or run the excellent MP TV Client - MediaPortal Forum OR Are you wanting timeshifting without a client attached? Can you expand on your request? |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| pc1. is running the TV server. TV server is setup to hibernate after 5 min. FTP/HTTP/UPNP server also running here. pc2. is running the MP client. pc3. is just another pc. pc1 is hibernated most of the time in order to save power. When I want to watch TV I wake it up using WOL. Which works ok. I have other stuff on pc1 like ftp, upnp server http server and stuff like that. I would like to be able to keep pc1 alive from pc2 or pc3 simply by using a fake alive signal like the one the client is sending to the server. And I would like pc1 to hibernate when I stop sending the fake signal from pc2 or pc3. P.S. I didn't write "always alive". Best regards Light |
| | |
| | #6 (permalink) |
| Portal Member Join Date: Sep 2007
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | Ok, if I understand correct, you don't want an allive-signal, you want to prevent you server from hibernating when you are watching TV! I have no idea how it can resolved easyly. I would recommend the following: make a little program that sends a message via LAN to you server in a short intervall. On the server you will need a tool that receives this message and sends an alive signal to windows. |
| | |
| | #7 (permalink) |
| Super Moderator Join Date: Jun 2005 Location: Cheshire UK
Posts: 5,883
Thanks: 103
Thanked 178 Times in 160 Posts
Country: | Set the powerscheduler client plugin to only work in home screen, and go to anywhere but this, then minimise MP, will keep server alive. Why have something else that may screw up your setup involved.
__________________ Ray\PD Check your codecs are fine with Filmerit. XP\Vista known issues FOR FULL SUPPORT PLEASE GIVE USER SPECIFICATIONS AND RELEVANT LOG's as per HERE |
| | |
| | #8 (permalink) |
| Portal Member Join Date: Aug 2007
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
| you would need to create a little application that listens for the WM_POWERBROADCAST events and if one is received from the system to prevent this occuring; WM_POWERBROADCAST Message (Windows) I would suggest a simple app that listens for a connection on a certain port and if present then acts as above. This would indicate a client is connected and that the machine should not sleep. If no machine is connected it can sleep as normal. Still, I would say this is all overkill. As recommended just change your power settings to prevent hibernation. |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Feb 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
| The whole idea is to let the server be self contained. Hence I would like it to go into hibernate except when I start one of the client machines. I would like it to be possible to keep the server alive without having to remotely log into the MP server PC, or having to disable the hibernate on the server PC. And I would like it to work without having to startup the MP client. It must be possible to start a small app on the client pc (without running the MP client) which will keep the server PC alive and prevent it from hibernating. I would like to be able to use this PC (MP server PC) for other usage than MP server. I would like: 1. Server PC should wake on lan. (This is allready working.) 2. Server PC should stay out of hibernating as long as my client PC is running. This should be achieved without MP client running either. (This is not working yet) What signal is sent from MP client to keep MP server alive? What is the mechanism to prevent the server from hibernating when a MP client is using the TV service? I want to do the same thing but from a small app. running on my client PC. Best regards Light |
| | |
| | #10 (permalink) |
| Portal Member Join Date: Aug 2007
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
| There is no easy answer however you have been presented with a number of choices. I would suggest you review them and decide for yourself. It is possible to start a simple app to keep the server running however you may need to write it yourself and this will require comminucations between the two machines. I would suggest you research creating a simple windows service and a tray application for each client. If the service running on the tv server detects a connection from one of the clients then it will prevent hibernation. If no connections are detected it can hibernate as normal. I would suggest you are over complicating this a little, why is disabling hibernation not an option for you? |
| | |
![]() |
| Bookmarks |
| Tags |
| alive, server |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can't enter Mediaportal TV Server Configuration after adding Slave Server | Arn01805 | pre 1.0 RC1 | 62 | 2008-03-25 09:31 |
| TV-Server 3 Client verbindet sich nicht mit dem Server | Netzdiver | Media Portal - Support | 13 | 2007-01-05 12:27 |
| Keep-Alive between client and server. | joboehl | Improvement Suggestions | 8 | 2006-11-17 04:25 |
| It's Alive... | chili | OffTopic | 4 | 2006-08-25 09:34 |