PDA

View Full Version : problems & suggestions for slimserver



Laurent Perez
2004-04-21, 07:32
Hello

I just received my Squeezebox and I absolutly *love* it, you guys did a
good job, however I'm experiencing various problems, and I'd like to add
few suggestions :

Within slimserver, when I use Look for artists / enter name / click on
artist, then album, then track, when I click on the track, it shows out the
track infos like 30% of time, 70% other produce a bug which randomly pops
out a 404 not found/ freezes slimserver (100% cpu usage)/ freezes (100%
cpu) then crashes slimserver, causing a full complete rescan of mp3 library
on restart.

I can see from debug window the following problem which seems to cause the
cpu overload :
SlimServer has started!
Use of uninitialized value in transliteration (tr///) at
/PerlApp/File/Spec/Win32.pm line 99.
Use of uninitialized value in pattern match (m//) at
/PerlApp/File/Spec/Win32.pm line 101.
Use of uninitialized value in transliteration (tr///) at
/PerlApp/File/Spec/Win32.pm line 99.
(looping over and again)

I had a look at SlimServer_v5.1.4\SlimServer_v5.1.4\CPAN\File\Spec however
I'm not sure of what's in lines 99/101 because of pod documentation bundled
in .pm (I don't have a good .pl editor on my windows server).

Also the 'Download' link from squeezebox pane doesn't work, it shows a 404
not found. No debug visible :(

Now for suggestions :

- I think a Play/Validate button in-between the up/down/left/right remote
buttons would be a good idea, the current play button is too small, and
most of the time when browsing I find my thumb pretty inactive in middle of
the cross.
- I'm not blind but I think a little button modification (something like
cellphone blind-help button on key 5 for ex.) would be a great idea for ppl
with sight problems, especially since I suspect the Size button to be
already present for sight problems.
- I'd like to override the default string 'Now playing (x of y)' to show
any id3 tag or text, and thus have the progress bar being scaled when
string is too large (or being switched with a percentage three-digits
progress, 0% to 100%). I know I can modify the 2nd line output, but I'd
like to customize the boring Now Playing too :)
- I'd like some sort of timer to always revert to the 'Now playing' status
screen when squeezebox menu had been idling for too long.
- Ability to play a custom track when using the wake-up plugin (I know I
could make a one-file saved playlist but hey)
- A equalizer-style-output plugin a-la-winamp would be nice, I mean to show
live bass/pitch settings :)

A question about the wake-up plugin :

I'd really like to write a perl script to fetch newsfeeds from various www
sites, so that when you wake up the squeezebox shows you today's news and
so on. I know how to write the script, but how could I 'call' it from
squeezebox once wake-up starts ?

Thanks for any advices

laurent

Rob Funk
2004-04-21, 11:03
Laurent Perez wrote:

> - I'd like to override the default string 'Now playing (x of y)' to show
> any id3 tag or text, and thus have the progress bar being scaled when
> string is too large (or being switched with a percentage three-digits
> progress, 0% to 100%). I know I can modify the 2nd line output, but I'd
> like to customize the boring Now Playing too :)

Add a slimserver-strings.txt file that looks like this:

### START ###
PLAYING
EN [>

PLAYING_RANDOMLY
EN [> ?

STOPPED
EN []

OUT_OF
EN /

PAUSED
EN ||
### END ###

What would be really cool would be for the server to define a single custom
character to indicate the current mode (play/stop/pause) and use that
instead of these strings.

--
==============================| "A slice of life isn't the whole cake
Rob Funk <rfunk (AT) funknet (DOT) net> | One tooth will never make a full grin"
http://www.funknet.net/rfunk | -- Chris Mars, "Stuck in Rewind"