Re: [slim] Any way of doing this?
There is the Execute Script plugin, which lets you run scripts from the Squeezebox, rather than from SqueezeCenter. I think you could do what you want with it. I don't use a PC, so I have no idea what the actual script should be. On my Mac, I use a little program that keeps it alive and I run a script to start that program and another to quit it. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
Since the software is open-source, I\'ve done something similar (executing a script at shutdown of Squeezecenter), adding some lines of code to the stop process, but I use Debian Etch and I modify /etc/init.d/squeezecenter (the startup script in Debian), not sure if on Windows XP this can be acomplished, as maybe this is done a bit different. Right now I\\\'m not at reach of my server, so I\\\'m going to check when I get home. -- pichonCalavera *rip* (eac) > *convert* (flac) > *tag* (musicbrainz) > *normalize* (replaygain/foobar2000) > *albumart* (winamp) > *transport* (winscp) > *store* (debian) >*rescan* (slimserver) > *play* (squeezebox) > *hear* (sennheiser) > *scrooble* (last.fm) > *enjoy* (me :) pichonCalavera's Profile: http://forums.slimdevices.com/member.php?userid=13068 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
MadScientist;269303 Wrote: > Is there any way I can get SqueezeCenter to run a script when its starts > up? It would need to do this when it starts up again each time my > server comes out of standby. My server being a Dell PC running XP > pro. > > The reason for this rather unusual request is that I want to have the > server in standby mode when not being used and to be able to control > the time between SB3 ceasing activity and the machine going back into > standby (several good reasons for this which I wont bore you with). > > > At the moment this is not possible since the PC goes back to standby 2 > min after SB3 activity ceases and it does not appear possible to change > this. If I can run a script to simulate a key press on SqueezeCenter > start, then the time to standby should come under control of the > Windows power management settings which I can modify to suit. > > Any help appreciated > > MS Just curious. The time interval you described could easily be adjusted with the Windows Power management setting in control panel. Why do you need a plugin to do that? -- Honva Honva's Profile: http://forums.slimdevices.com/member.php?userid=14948 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
Honva;269388 Wrote: > Just curious. The time interval you described could easily be adjusted > with the Windows Power management setting in control panel. Why do you > need a plugin to do that? No, that's the problem. The time to sleep after a wake-on-lan can't be controlled by XP power management. It's 2 minutes - like it or not. Once a key is pressed then it does come under my control and this is waht I want to emulate pichonCalavera, Thanks, although I'm not sure I'm in the modifying SC code league. MS -- MadScientist MadScientist's Profile: http://forums.slimdevices.com/member.php?userid=5827 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
I don't think you really want to run the script when SS starts up, you want to run it when the machine comes out of sleep. SS remains "running" even when the machine is asleep, it doesn't really know when it's woken up. What you want is something which can hook into windows' power management states and trigger the script (or whatever) on a state change. -- radish radish's Profile: http://forums.slimdevices.com/member.php?userid=77 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
radish;269406 Wrote: > I don't think you really want to run the script when SS starts up, you > want to run it when the machine comes out of sleep. SS remains > "running" even when the machine is asleep, it doesn't really know when > it's woken up. What you want is something which can hook into windows' > power management states and trigger the script (or whatever) on a state > change. Agreed, Any suggestions on a utility that could achieve this aim? MS -- MadScientist MadScientist's Profile: http://forums.slimdevices.com/member.php?userid=5827 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
MadScientist;269450 Wrote: > Agreed, Any suggestions on a utility that could achieve this aim? > > MS A quick google found these possibilities: http://www.filedudes.com/WakeUp-screenshot-14916.html http://www.nncron.ru/ (look at the plugins on the download page, specifically "rstimer.spf") -- radish radish's Profile: http://forums.slimdevices.com/member.php?userid=77 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Any way of doing this?
radish;269460 Wrote: > A quick google found these possibilities: > > http://www.filedudes.com/WakeUp-screenshot-14916.html > http://www.nncron.ru/ (look at the plugins on the download page, > specifically "rstimer.spf") Many thanks. I found Arksoft Hibernator which is supposed to run tasks etc. on wake. I played with it for a couple of hours last night - completely useless! I'll give your finds a go. Thanks again. MS -- MadScientist MadScientist's Profile: http://forums.slimdevices.com/member.php?userid=5827 View this thread: http://forums.slimdevices.com/showthread.php?t=43470 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss