Quoting nickgebbett <[EMAIL PROTECTED]>: > > I am attempting to produce a plugin using windows - I have followed the > instructions in the slimserver help but none of my plugin code is > recognised. I then tried editing an existing plugin and making a minor > change - just to prove that this would work and was surprised to find > that even doing this makes a working plugin broken!
what were you doing to it? to debug plugins, you should get used to running the server from the command line. Open a command prompt, cd "program files\slimserver\server" then type: slim.exe --d_plugins Any errors loading plugins will show up there. you may also try this: slim.exe --d_plugins --logfile c:\plugins.log if you want to store the data for review later. > > What editor tools should I use to modify plugins succesfully under > windows as I think this may be the problem. The plugins strings section is particularly sensitive to white space and line endings. you must use tabs and spaces in teh right places, as well as maintain unix style line endings. I use UltraEdit for this, but something like TextPad works really well too. > FAI - I want to produce a plugin that generates a disk file (or sends a > message over TCP/IP). The idea is that by using the squeezebox, my wife > can set a time limit for how long my son can spend on his PC - he would > get a reminder to turn it off when time was up (that's a different > application - no problems there) Have you looked at Felix's Announce script? Its not a plugin, but if you install ActiveState Perl (www.activestate.com), you can run it as a scheduled event in windows. You could also use the alarm clock, or the plugin version to play an audio file at a preset time. -kdf _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
