Something else I've spent some time on is a "native" (as in not web based) control panel for basic SC settings and control: set startup mode, start/stop SC, access log files, set paths, run scans, view information, cleanup etc.
It should eventually show up in Windows control panel, OSX Preference Pane etc. For now you'll find it in OSX' application folder and in Windows start menu (or the SqueezeTray icon bottom right).
While I'm interested in what you're thinking about it, please keep in mind this should stay clean and simple, and therefore concentrate on the very basics. We don't want this to be a full fledged SC control.
If you're running Linux, you can access it by running cleanup.pl. Make sure you have a recent Wx for perl installed (>0.7).
(Edit: I assume you can guess the various labels from my German version :-))
Results 1 to 10 of 49
Thread: 7.4 - OS "native" control panel
Hybrid View
-
2009-03-16, 08:39 #1
7.4 - OS "native" control panel
-
2009-03-16, 09:12 #2
One thing I'd mention is that I'd be really sad if this meant the deb builds suddenly had dependencies on GUI stuff (e.g. X11, gnome, whatever). My server's headless and GUI-less and I avoid installing things which insist on bringing in piles of stuff I don't want. I've no problem with the control panel code being in there, it's just external deps I'm concerned about.
-
2009-03-16, 09:25 #3
7.4 - OS "native" control panel
> One thing I'd mention is that I'd be really sad if this meant the deb
> builds suddenly had dependencies on GUI stuff (e.g. X11, gnome,
> whatever).
Don't worry. If cleanup.pl can't find Wx it will expose a very simple CLI.
The GUI is really optional.
> My server's headless and GUI-less and I avoid installing
> things which insist on bringing in piles of stuff I don't want.
So is mine.
--
Michael
-
2009-03-16, 12:40 #4
Awesome, thanks for the reassurance
-
2009-03-16, 14:17 #5
How does it modify prefs such as paths? Does is send a message to the server to modify the loaded options, or does it require a server restart?
-
2009-03-17, 02:30 #6
7.4 - OS "native" control panel
> How does it modify prefs such as paths? Does is send a message to the
> server to modify the loaded options, or does it require a server
> restart?
It's mostly using JSON/RPC - like the Controller and the web UI. Most
settings therefore are only available while SC is running. Some critical
settings will be available without SC running, if they can help debug a
failing SC.
--
Michael
-
2009-03-17, 05:13 #7
- Join Date
- Feb 2009
- Location
- Cambridge, UK
- Posts
- 369
7.4 - OS "native" control panel
mherger wrote:
> If you're running Linux, you can access it by running cleanup.pl. Make
> sure you have a recent Wx for perl installed (>0.7).
The Debian build doesn't have cleanup.pl, but it does have
/usr/sbin/squeezecenter-cleanup.
Is that it?
cheers,
calum.
-
2009-03-17, 14:00 #8
7.4 - OS "native" control panel
> /usr/sbin/squeezecenter-cleanup.
>
> Is that it?
I guess so. Give it a try and you'll know :-)
Michael
-
2009-03-17, 16:09 #9
- Join Date
- Feb 2009
- Location
- Cambridge, UK
- Posts
- 369
7.4 - OS "native" control panel
Michael Herger wrote:
>> /usr/sbin/squeezecenter-cleanup.
>>
>> Is that it?
>
> I guess so. Give it a try and you'll know :-)
it didn't sound like something I wanted to try without checking; perhaps
cleanup meant remove all my files?
anyway, not to promising so far, but perhaps it's something simple? I'm
far from a Perl guru; here do I get the JSON module, please?
cheers,
calum.
diz $ /usr/sbin/squeezecenter-cleanup
Use of uninitialized value in subroutine entry at
/usr/share/perl5/Slim/Utils/OS.pm line 264.
dirsFor: Didn't find a match request: [base]
GUI can't be loaded: Can't locate loadable object for module JSON::XS in
@INC (@INC contains: /usr/share/squeezecenter/CPAN
/usr/share/squeezecenter
/usr/sbin/CPAN/arch/5.10/i386-linux-thread-multi
/usr/sbin/CPAN/arch/5.10/i386-linux-thread-multi/auto
/usr/sbin/CPAN/arch/5.10.0/i486-linux-gnu-thread-multi
/usr/sbin/CPAN/arch/5.10.0/i486-linux-gnu-thread-multi/auto
/usr/sbin/CPAN/arch/5.10/i486-linux-gnu-thread-multi
/usr/sbin/CPAN/arch/5.10/i486-linux-gnu-thread-multi/auto
/usr/sbin/CPAN/arch/i486-linux-gnu-thread-multi /usr/sbin/lib
/usr/sbin/CPAN /usr/sbin CPAN /etc/perl /usr/local/lib/perl/5.10.0
/usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . CPAN)
at /usr/share/perl5/Slim/GUI/ControlPanel.pm line 203
Compilation failed in require at
/usr/share/perl5/Slim/GUI/ControlPanel.pm line 203.
BEGIN failed--compilation aborted at
/usr/share/perl5/Slim/GUI/ControlPanel.pm line 203.
Compilation failed in require at /usr/sbin/squeezecenter-cleanup line 38.
Please Stop SqueezeCenter before running the cleanup.
-
2009-03-18, 00:54 #10
7.4 - OS "native" control panel
> anyway, not to promising so far, but perhaps it's something simple? I'm
> far from a Perl guru; here do I get the JSON module, please?
Two things:
> dirsFor: Didn't find a match request: [base]
Proving we didn't test this with Linux yet. Will fix this.
> GUI can't be loaded: Can't locate loadable object for module JSON::XS in
> @INC (@INC contains: /usr/share/squeezecenter/CPAN
Proving you were too excited to read the announcement to the end ;-)
"If you're running Linux, you can access it by running cleanup.pl. Make
sure you have a recent Wx for perl installed (>0.7)."
> beta mailing list
> beta (AT) lists (DOT) slimdevices.com
Enjoing hasslefree posting to the forums using the mailing list :-)
Michael