[SlimDevices: Plugins] New XM Plug-in: Question Comment

2009-06-04 Thread miked

I just installed the new XM plug-in -- THANK YOU THANK YOU THANK YOU! 
It works great.

However, I have one question/suggestion, and a comment:

1) I noticed that there is no little heart icon when you browse
through your presets (for example), or when you tune a station.  As a
result, I'm not aware of any way to add XM stations to favorites.  Is
there?  This would be a suggestion for the next version, but I'm
wondering if there is a URL so-to-speak that I can use to add an XM
station into favorites.

2) I would like to donate to the cause as an expression of gratitude
for this plug-in -- but I don't see any Paypal link (say) in the google
code page for the plug-in.  Can you guys add one?

Thanks again!!!

- Mike.


-- 
miked

miked's Profile: http://forums.slimdevices.com/member.php?userid=4442
View this thread: http://forums.slimdevices.com/showthread.php?t=64108

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] New XM Plug-in: Question Comment

2009-06-04 Thread miked

OK, I'm a bonehead -- just read the wiki, and found out how to add
favorites.  :\


-- 
miked

miked's Profile: http://forums.slimdevices.com/member.php?userid=4442
View this thread: http://forums.slimdevices.com/showthread.php?t=64108

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread mvordeme

The current logic unfortunately requires both an idle and a not idle
signal to be written to the registry, but it probably would not hurt to
renew the not idle signal now and then if that is easier to implement.
The good thing about the registry solution is that you can choose for
the server to standby, hibernate or shut down, so apart from the timer
features, it can replace SCPowerTool completely.


-- 
mvordeme

'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 |
squeezecenter 7.3.2 | server power control 7.3 |
squeezebox boom  duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5

mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] MusicInfoSCR and SC 7.4 (v24896)

2009-06-04 Thread Michael Herger
 The display 'problem' appears when listening to radio.

This should be fixed in 4.3.8 - please update. Thanks to Triode for the  
help on this.

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] MusicInfoSCR and SC 7.4 (v24896)

2009-06-04 Thread bonze

mherger;429199 Wrote: 
  The display 'problem' appears when listening to radio.
 
 This should be fixed in 4.3.8 - please update. Thanks to Triode for the
 
 help on this.
 
 MichaelLooks OK now - thanks


-- 
bonze

TranquilPC T2-WHS-A3 - SqueezeCenter Version: 7.4 - 26820
3 x wireless SB3 + a Duet

bonze's Profile: http://forums.slimdevices.com/member.php?userid=6150
View this thread: http://forums.slimdevices.com/showthread.php?t=59355

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Custom Browse - using Disc as a separator

2009-06-04 Thread sk33ve

Apologies if this has been covered elsewhere, I couldn't see any threads
for it.

I've just started using Custom Browse, and was hoping to get it to
arrange my music as follows:

Artist-Album-Disc-Track

If on a multi-disc set, but I'm struggling to get it to do it.  Has
anyone else tried this, or got it working?

Thanks

Nick


-- 
sk33ve

sk33ve's Profile: http://forums.slimdevices.com/member.php?userid=16580
View this thread: http://forums.slimdevices.com/showthread.php?t=64113

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread epoch1970

On my system the power control loop checks againsts a value set by the
system state loop (srvPowerControl participates in defining the system
state);
If there is no value to be read by the control loop, or the value is
not polled by the control loop between 2 updates of the state loop,
something is wrong (since by design the control loop runs light and
fast, and the state loop slow with low priority.) 
When no polling has occured, my system commands reboot (after a few
reads, to be sure --e.g. take services startup order into account)

I suggest having a marker saying the system state value has been read
or written, optionnaly by whom. That can serve IHMO avoiding cases where
one system waits on updates from the other, while in fact it is out of
service. I'd be wary about using a timestamp, because of
suspend/hibernate. A variable or boolean would do a more robust job.  
(this reflex of rebooting is just mine; a more lenient fallback policy
will probably be better for most systems)


-- 
epoch1970

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] MusicInfoSCR and SC 7.4 (v24896)

2009-06-04 Thread Phil Meyer
This should be fixed in 4.3.8
You have a link to download 4.3.8 on your website, but it references 4.3.7.
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] MusicInfoSCR and SC 7.4 (v24896)

2009-06-04 Thread Michael Herger
 This should be fixed in 4.3.8
 You have a link to download 4.3.8 on your website, but it references  
 4.3.7.

Oops... fixed. Thanks!

-- 

Michael
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread gharris999

mvordeme;429196 Wrote: 
 The current logic unfortunately requires both an idle and a not idle
 signal to be written to the registry, but it probably would not hurt to
 renew the not idle signal now and then if that is easier to implement.
 The good thing about the registry solution is that you can choose for
 the server to standby, hibernate or shut down, so apart from the timer
 features, it can replace SCPowerTool completely.
OK, I've had second thoughts.  Forgetting the not idle signal, if the
shutdown/restart/suspend/hibernate commands point to an executable or
script that signals the is idle state in the registry and tells
LightsOut what the appropriate next action should be, then really no
changes to SrvrPowerCtrl are required at all.  The user would just set
SrvrPowerCtrl's on-idle time-out to a very short value and LightsOut's
longer idle countdown will take up the slack.  The only case where this
wouldn't work is if the on-idle action is shutdown.  In that case,
SrvrPowerCtrl actually kills SqueezeCenter in order to help ensure a
clean db close.  I imagine that most folks don't force a complete
hardware shutdown on idle, though.

If you can get me the full documentation on what LightsOut wants to see
in the registry, I'll write the executable and we can begin testing.

What about scheduled server wake-ups for alarms and such?  Does
LightsOut handle this too?  Or should SCPowerTool continue performing
this chore?


-- 
gharris999

gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] MusicInfoSCR (or Now Playing) enhancement

2009-06-04 Thread Millwood

The display I want when playing a track (either on my server or a listen
again track or podcast) is different from the display I want when
listening to a live station.  It would be nice if there were separate
configurations for the two.

In essence, the elapsed, progress bar, time remaining I put on the top
line is useless for a live track.  On the other hand, a live track has
both the name I know it by and the text it is sending, and I'd like to
see them both.


-- 
Millwood

2 SB3, 1 Duet
Debian Etch server
2 AP (netgear, linksys) wireless network.

Millwood's Profile: http://forums.slimdevices.com/member.php?userid=3600
View this thread: http://forums.slimdevices.com/showthread.php?t=64117

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread gharris999

epoch1970;429231 Wrote: 
 On my system the power control loop checks againsts a value set by the
 system state loop (srvPowerControl participates in defining the system
 state);
 If there is no value to be read by the control loop, or the value is
 not polled by the control loop between 2 updates of the state loop,
 something is wrong (since by design the control loop runs light and
 fast, and the state loop slow with low priority.) 
 When no polling has occured, my system commands reboot (after a few
 reads, to be sure --e.g. take services startup order into account)

I.e. a home-brewed watchdog, yes?  My current hardware includes a BIOS
watchdog function and I know linux has watchdog drivers.  I haven't
really figured out how to make them work, though.  Have you played
around with any of these system watchdog facilities?  If I knew more
about them, I might be tempted to add another command to SrvrPowerCtrl
that could feed a watchdog each minute...something like what the
windows PreventStandby plugin does now.

If we were to go with just the is idle message via the registry, that
should avoid the sort of system deadlock as you describe.  Presumably,
LightsOut has the responsibility of clearing the is idle flag.


-- 
gharris999

gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Inguz expired - what's this and why

2009-06-04 Thread Anne

bhaagensen;415794 Wrote: 
 The DSP part of Inguz has always expired at some fixed date. The EULA
 for the current versions is here:
 
 http://inguzaudio.com/DSP/download.php
 
 Presently I think that you need to reinstall at least the DSP part of
 Inguz whenever it expires.

Correct, replace the DSP and it works again.


-- 
Anne

Squeezebox 3  Stereovox XV2  Bryston B100-DA SST  Martin Logan Aeon I

Anne's Profile: http://forums.slimdevices.com/member.php?userid=10071
View this thread: http://forums.slimdevices.com/showthread.php?t=62453

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread psixilambda

gharris999;429256 Wrote: 
 OK, I've had second thoughts.  Forgetting the not idle signal, if the
 shutdown/restart/suspend/hibernate commands point to an executable or
 script that signals the is idle state in the registry and tells
 LightsOut what the appropriate next action should be, then really no
 changes to SrvrPowerCtrl are required at all.  The user would just set
 SrvrPowerCtrl's on-idle time-out to a very short value and LightsOut's
 longer idle countdown will take up the slack.  The only case where this
 wouldn't work is if the on-idle action is shutdown.  In that case,
 SrvrPowerCtrl actually kills SqueezeCenter in order to help ensure a
 clean db close.  I imagine that most folks don't force a complete
 hardware shutdown on idle, though.
 
 If you can get me the full documentation on what LightsOut wants to see
 in the registry, I'll write the executable and we can begin testing.
 
 What about scheduled server wake-ups for alarms and such?  Does
 LightsOut handle this too?  Or should SCPowerTool continue performing
 this chore?

Ok i've playing with this last night and wanted to code the following
into your plugin:

Let's start with the following:

Lights_Out checks the registry value HKLM\SOFTWARE\AxoNet Software
GmbH\LightsOut for the Value Action

possible value are:

0=do nothing (in this case do not shutdown if no clients (computers)
are active)
1=Standby, 
2=Hibernate 
3=Shutdown

I am now trying to execute

reg ADD HKLM\SOFTWARE\AxoNet Software GmbH\LightsOut /v Action /t
REG_DWORD /d 0 /f..

This should be done inside your Watchdog

#$g{log}-debug(Checking to see if scanner is running  if players
are idle..);
if ( Plugins::SrvrPowerCtrl::Block::IsBlocked() ||
Plugins::SrvrPowerCtrl::Util::AnyPlayersPlaying() ||
Plugins::SrvrPowerCtrl::Util::AnyPlayersUpdating() ||
Slim::Music::Import-stillScanning() ) {
$g{log}-debug(Not idle condition..);
#Not idle...reset the timer to check again..
$nIdlePlayersTimeCount = 0;
Reg ADD HERE
return 0;
}

By doing this everytime a player is running LightsOut doesnt do
anything.

and further down i would add reg ADD HKLM\SOFTWARE\AxoNet Software
GmbH\LightsOut /v Action /t REG_DWORD /d 2 /f

right here:

#restart the countdown for our eventual return from
suspend/hibernate/SN..
$nIdlePlayersTimeCount = 0;
HERE-
#cue up the requested action..

This returns LightsOut to its normal operation (in my case 2=hibernate)
when players are idle.

Thoughts on handling of alarms, Shutdown buttons etc.:

Since LightsOut is the main handler for all shutdown and wakeup action
on my Home Server i do not need the other options. I would never
shutdown the server using my squeezeboxen, i just shutdown my pcs and
stop playback - server goes to sleep. A simple checkbutton in the
config Use Lightsout Integration does it for me. All other options are
neither needed nor desired since they would interfere with normal
HomeServer operations. This includes the force to SN options since in
this environment there is always an active server if a client comes up.
The one exception is the Alarm function which i would leave the way it
works now.

Hope this made a little bit of sense, now i'll try to check if i can
add this to your code. It's been a while since i last programmed and
that was Java but well let's see.

Alex


-- 
psixilambda

psixilambda's Profile: http://forums.slimdevices.com/member.php?userid=30773
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread epoch1970

gharris999;429267 Wrote: 
 I.e. a home-brewed watchdog, yes?  My current hardware includes a BIOS
 watchdog function and I know linux has watchdog drivers.  I haven't
 really figured out how to make them work, though.  Have you played
 around with any of these system watchdog facilities?  If I knew more
 about them, I might be tempted to add another command to SrvrPowerCtrl
 that could feed a watchdog each minute...something like what the
 windows PreventStandby plugin does now.
 
 If we were to go with just the is idle message via the registry, that
 should avoid the sort of system deadlock as you describe.  Presumably,
 LightsOut has the responsibility of clearing the is idle flag.
Strange brew, it is. Using watchdog is very simple on an always-on
system. I had it running in a few minutes in the last Alix mini-server
it did setup. 
On a system that is under power management and does suspend/resume,
using it is a nightmare. But it works, in the end. On a system like
this, I have 3 loops running :
- the slow and bright (?) one: the status assessment loop; It is a
Loop method instance of Net::Daemon. Runs, says, every 5 minutes, looks
at a lot of things (AFP, NFS, SB clients, SC7, ...) and comes back with
a status (keep alive, shutdown, reboot, sleep).
- a faster one: listening on a TCP port for a connexion, and replying
the current status. It is a Run instance of Net::Daemon (in the same
code as the one above). It tries to respond very fast at any time. It
serves the last know status, which may be soon obsolete if the Loop
instance is near finishing a new assessment. Normally it shouldn't do
anything but respond, but there are things better done at the last
minute, so this loop will for example write to the RTC if the status is
suspend. Runs whenever it is being called...
- ... by the linux client-side watchdog program. Configured to run
with RT priority, say, every 30 secs. The watchdog is C code, it does a
lot of smart things and polls a device, probably /dev/watchdog. If
/dev/watchdog is not being written to timely, the OS reboots. If the
client-side can't write to /dev/watchdog, it reboots the machine itself
(not calling shutdown, it's all coded in the client. In fact it can also
sit and wait, depends on your configuration for the client.) The
watchdog also launches a helper test program; this program in my case
is a light perl script that connects to the Net::Daemon instance and
executes the required action according to its response. If it times out,
the watchdog client will reboot the machine. This is why within the
assessment loop isn't queried directly. The required action is launched
in another process, with a slight delay to allow the test script to
return before the system is suspended.  

Now enters ACPI wake-up. Who wants to use a watchdog on a non 24/7
system ? Well, me.

Kernel-wise, I had pretty inconsistent results according to my use of
the Intel ITCO hardware watchdog (I think you'll find this hidden gem in
any ICH7 chip and up), or of the softdog module, linuxes software
watchdog: in some cases I had to unload the module before sleep, and
reload it as part of wake-up, in other cases doing so rebooted the
machine (only removing a watchdog module configured with nowayout=1
should cause the kernel to reboot, but that is the theory, not my
practice.) 
Ok, with a bit of testing, modular or inlined in the kernel, soft or
hard (if available, of course), nowayout or yeswayout... you'll get an
OS that will reboot when it's stuck, but won't reboot at wake up.
(Unfortunately the ACPI wake process is not subject to the watchdog, so
you can still freeze at wake-up, and not reboot. That is a severe
limitation, considering this is probably the only moment the watchdog
would be truly useful.)

Now, at wake-up, the watchdog client wakes up too, and it's grumpy.
First of all if the external test script which ran the sleep action
failed to return before the system was actually suspended, then watchdog
will believe there was a (long) timeout, and reboot. Hence the
delay+other job used in the external test script.
You can't fool the watchdog client like this. At wake-up, because some
time has lapsed in real life between its last run, it will compute that
the current load is enormous, and want to trigger reboot. It will also
notice that a lot of time has passed without any traffic on the network
interfaces, or that the interfaces are down (i.e. not up again already),
and want to tigger reboot.
Fortunately, before rebooting the watchdog can be configured to launch
a repair script. Same as the test script, it has to return fairly
quickly. But it can be used to defuse those false alarms caused by
wake-up. 
My repair script looks at a flag that is set as part of the pm-suspend
script, at ACPI wake-up time. If that flag was recently touched, then
this is a false alarm, and the test script blocks the reboot. Otherwise
it lets go and the machine reboots.

I might add I have a reboot counter in /etc/init, so that 

Re: [SlimDevices: Plugins] TrackStat survey, what's most important ?

2009-06-04 Thread schiegl


A poll associated with this post was created, to vote and see the
results, please visit http://forums.slimdevices.com/showthread.php?t=64055

Question: What functionality in TrackStat do you need most ?

- The ability to set track ratings on currently playing track
- The ability to set track ratings when browsing music library
- The ability to set track ratings from third party clients like
  iPeng and Moose
- Dynamic playlists offered through Dynamic Playlist plugin
- Browsing top rated statistics
- Browsing most played statistics
- Browsing last added statistics
- iTunes statistics import/export modules offered through Custom Scan
- MusicIP statistics import/export modules offered through Custom
  Scan
- Amarok statistics import/export modules offered through Custom Scan


just my 2 cents (after having completed the poll): For the time being
i'm gone stay at 7.3 (or 7.4trunk - not the 7.4sqlite-branch) until
trackstat + dynmaic-playlist or something equivalent in SC's core is
available again.

erland, thanks for your plugins!

kind regards,
Markus


-- 
schiegl

schiegl's Profile: http://forums.slimdevices.com/member.php?userid=6654
View this thread: http://forums.slimdevices.com/showthread.php?t=64055

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse - using Disc as a separator

2009-06-04 Thread erland

It should be possible but it will require some special handling.

The problematic part is that I'm guessing that you only want the disc
level if the album have multiple discs ?

One requirement is that you have enabled the SqueezeCenter setting:
Thread multi-disc sets as a single album. Without this setting, you
will get duplicate album entries.

You will need duplicate menu elements that lists track, one should
look as the default one but have a filter to only show tracks if there
are a single disk. The other one should list disks but only if there are
multiple disks and it should have a sub menu element that lists tracks
on the disk selected. The duplicate menu elements is somewhat similar
to how the various artists handling works in the artists menu.

I don't have the time to give you an exact XML at the moment, but if
you get it to work partly and post what you have done it's a bit easier
to help.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=64113

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] CD Player - no CD in drive

2009-06-04 Thread vasik

Works like a charm!!! Thank you for your help, really appreciate the
time you spent with my problem. When you would need anything from music
branch, let me know (I'm a jazz saxophonist)...:-) Thanks


-- 
vasik

vasik's Profile: http://forums.slimdevices.com/member.php?userid=21285
View this thread: http://forums.slimdevices.com/showthread.php?t=63899

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Extension Downloader - unlucky 13?

2009-06-04 Thread Triode

See the beta forum - if you loaded a nighly from monday it sounds like
you need to delete the extension.pref file as it got set to the wrong
values.

Sorry!


-- 
Triode

Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=64097

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Extension Downloader - unlucky 13?

2009-06-04 Thread ModelCitizen

Cheers Triode. I could not find the Extension Downloader plugin install
zip file and was just about to give up when I saw your post. I'm running
a nightly from Tuesday. I've deleted extensions.pref and restarted but
still the ED web interface will not open.

Time for bed.

MC


-- 
ModelCitizen

On average people have fewer than two feet.

Last.fm/user/ModelCitizen

ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446
View this thread: http://forums.slimdevices.com/showthread.php?t=64097

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread mvordeme

gharris999;429256 Wrote: 
 if the shutdown/restart/suspend/hibernate commands point to an
 executable or script that signals the is idle state in the registry
 and tells LightsOut what the appropriate next action should be, then
 really no changes to SrvrPowerCtrl are required at all.  The user would
 just set SrvrPowerCtrl's on-idle time-out to a very short value and
 LightsOut's longer idle countdown will take up the slack.That is what I 
 thought. I would have taken the registry commands from
the existing VB script and tried to build one that accepts approximately
the same options as SCPowerTool, so one would only need to replace the
name of the command in SPC's configuration.

gharris999;429256 Wrote: 
 Forgetting the not idle signal... which would be the one change required?

gharris999;429256 Wrote: 
 If you can get me the full documentation on what LightsOut wants to see
 in the registry, I'll write the executable and we can begin testing.I see 
 that Alex himself has pre-empted me.

gharris999;429256 Wrote: 
 What about scheduled server wake-ups for alarms and such?  Does
 LightsOut handle this too?  Or should SCPowerTool continue performing
 this chore?LightsOut does take care of those things but it offers no reliable
interface to supply the data, so I think that SCPowerTool will still be
needed for the alarm timers.

psixilambda;429296 Wrote: 
 Since LightsOut is the main handler for all shutdown and wakeup action
 on my Home Server i do not need the other options. I would never
 shutdown the server using my squeezeboxen, i just shutdown my pcs and
 stop playback - server goes to sleep. A simple checkbutton in the
 config Use Lightsout Integration does it for me. All other options are
 neither needed nor desired since they would interfere with normal
 HomeServer operations. This includes the force to SN options since in
 this environment there is always an active server if a client comes up.
 The one exception is the Alarm function which i would leave the way it
 works now.If only because it keeps the integration more flexible, I would 
 rather
use an external script or executable similar to SCPowerTool. Plus I like
my Boom to be changed over to SN on hibernate. Other people might even
prefer standby to hibernate. In my opinion, an external script and an
added not idle command option are the cleanest and least intrusive
solution.


-- 
mvordeme

'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 |
squeezecenter 7.3.2 | server power control 7.3 |
squeezebox boom  duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5

mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Extension Downloader - unlucky 13?

2009-06-04 Thread Triode

Regarding 13 items causing a problem - I believe this is due to the 13th
item in the wiku list causing a problem.

There are actually at least two repos which use redirects which won't
work at present.  This is because the underlying Squeezecenter
asychronous http implementation seems to struggle with redirects at
present.


-- 
Triode

Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=64097

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread psixilambda

dirty, but well let's leave room for improvements :-)

changed Watchdog.pm:
add the following at the beginning:

use Win32::TieRegistry;

and the modify the following:

sub IdleWatchdog {
my $nCurTime;

my $item;
my @clients;
my $curclient;
my $action;
my $nTimeDelay;
my $key;

#$g{log}-debug(Checking to see if scanner is running  if players
are idle..);
if ( Plugins::SrvrPowerCtrl::Block::IsBlocked() ||
Plugins::SrvrPowerCtrl::Util::AnyPlayersPlaying() ||
Plugins::SrvrPowerCtrl::Util::AnyPlayersUpdating() ||
Slim::Music::Import-stillScanning() ) {
$g{log}-debug(Not idle condition..);
#Not idle...reset the timer to check again..
$Registry-Delimiter(/); 
$key=$Registry-{LMachine/SOFTWARE/AxoNet Software
GmbH/LightsOut/}; 
$key-{/Action} = [ pack(L,0), REG_DWORD ]; 
undef $key; 

return 0;
}

#We're idle..increment the idle count..
#$g{log}-debug(Players are idle..);
$nIdlePlayersTimeCount++;
$Registry-Delimiter(/); 
$key=$Registry-{LMachine/SOFTWARE/AxoNet Software GmbH/LightsOut/};

$key-{/Action} = [ pack(L,2), REG_DWORD ]; 
undef $key; 

It's all done in perl. no external scripts etc. Works for me at the
moment.

possible improvements:

seperate from SvrPowerControl and do simple interface with LO plugin.
This would only include watchdog (as implemented here or in Prevent
Windows Shutdown Plugin) and registry modification according to idle
status.

offer selection for standby / hibernate / in plugin config. would be as
easy as exchanging 1,2,3 literally ;-)

Integrate in SvrPowerControl to automatically include registry
modifications if process LightsOutService.exe is running - absolutely
no configuration necessary. Here we would have to check the acutal value
set in the LO Plugin (registry key) before altering it to 0 to prevent
shutdown. If it's been saved somewhere we can reset it in idle condition
to whatever it was before. That would be my prefered way. Maybe i'll try
something like this next week. For now I'm pretty happy with what we've
got so far.

Alex


-- 
psixilambda

psixilambda's Profile: http://forums.slimdevices.com/member.php?userid=30773
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl

2009-06-04 Thread mvordeme

Hey, great work! I am already looking forward to installing LightsOut on
my server. :-)


-- 
mvordeme

'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 |
squeezecenter 7.3.2 | server power control 7.3 |
squeezebox boom  duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5

mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Extension Downloader - unlucky 13?

2009-06-04 Thread Michael Herger
 There are actually at least two repos which use redirects which won't
 work at present.  This is because the underlying Squeezecenter
 asychronous http implementation seems to struggle with redirects at
 present.

http://bugs.slimdevices.com/show_bug.cgi?id=12153

Maybe we should increase its importance...

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins