PDA

View Full Version : How to choose a default SB to appear in the web interface



Sebastian Wright
2005-12-03, 09:34
Hi

I have an SB1-G in my study and an SB3 in my living room. These players are
named correspondingly.

When I go to my web browser - using the default skin - it always defaults
the right hand pane of my the slimsever interface to the study player, which
is irritating as the living room player I use more often!

If I happen to have been using SoftSqueeze - which appears as an ip address,
the order becomes; ip address, study, living room.

If I refresh the page it also always defaults back to the study player.


Is there a setting I have over looked that can control this behaviour and
force one squeezebox to be displayed as a default?

I browse using Firefox.


Thanks


Seb

sleepysurf
2005-12-03, 10:43
I've been wondering how to solve this as well!

Richie
2005-12-03, 10:56
> I've been wondering how to solve this as well!

http://SERVER_IP:9000/index.html?player=MAC_ADDRESS

gives you your default skin with your chosen player

or

http://SERVER_IP:9000/SKIN_NAME/index.html?player=MAC_ADDRESS

gives you the skin of your choice with the player of your choice

Richard

sebage
2005-12-03, 11:53
> I've been wondering how to solve this as well!

http://SERVER_IP:9000/index.html?player=MAC_ADDRESS

gives you your default skin with your chosen player

or

http://SERVER_IP:9000/SKIN_NAME/index.html?player=MAC_ADDRESS

gives you the skin of your choice with the player of your choice

Richard

Thanks Richard. So if I understand you correctly, the only way this can be done is to save an individual url in my favorites and browse to there if I want to control an individual SB.

That is a *very* clunky solution.

I'm surprised there is no easy way of forcing the server to serve a specific box - I was expecting to see it in the player settings to be honest. I'm new here - is it something I can register as an enhancement?

Are sleepysurf and I alone in being irritated by this?


S

shvejk
2005-12-03, 12:14
just create a button on the Firefox Bookmarks Toolbar
you can use the player name in place of the mac address
example:

http://192.168.10.41:9000/index.html?player=black

gorstk
2005-12-03, 12:17
sebage wrote:
> Richie Wrote:
>
>>>I've been wondering how to solve this as well!
>>
>>http://SERVER_IP:9000/index.html?player=MAC_ADDRESS
>>
>>gives you your default skin with your chosen player
>>
>>or
>>
>>http://SERVER_IP:9000/SKIN_NAME/index.html?player=MAC_ADDRESS
>>
>>gives you the skin of your choice with the player of your choice
>>
>>Richard
>
>
> Thanks Richard. So if I understand you correctly, the only way this can
> be done is to save an individual url in my favorites and browse to there
> if I want to control an individual SB.
>
> That is a *very* clunky solution.
>
> I'm surprised there is no easy way of forcing the server to serve a
> specific box - I was expecting to see it in the player settings to be
> honest. I'm new here - is it something I can register as an
> enhancement?
>
> Are sleepysurf and I alone in being irritated by this?

The above solution does not work with Exbrowse.
The only way to choose which player to control (by default) with
exbrowse is to rename the player so that it if first in alphabetic order
of all you players. This will probably work with other skins, but
again is a bit of botch (but not one that has particuarly bothered me)

dborn
2005-12-03, 12:19
I wouldn't say I'm irritated but I would like to be able to specify which player is listed by default. I haven't tried it yet but maybe re-ordering the player info in the config file? (running slimserver on Linux).

Daniel

kdf
2005-12-03, 12:29
fishbone skin stores the last chosen player as a cookie.

-kdf

pfarrell
2005-12-03, 12:36
On Sat, 2005-12-03 at 11:19 -0800, dborn wrote:
> I wouldn't say I'm irritated but I would like to be able to specify
> which player is listed by default. I haven't tried it yet but maybe
> re-ordering the player info in the config file? (running slimserver on
> Linux).

I never could figure a way to reorder it.
I tried renaming them, hoping it would be in alphabetical order,
changing the lines in the slimserver config, renaming the nodes
in my DNS/DHCP server. Nothing worked.

I found a workaround, I put a bookmark on my FireFox's bar
to
http://beatles.pfarrell.com:9000/?player=livingroom

and it works perfectly now.


--
Pat
http://www.pfarrell.com/music/slimserver/slimsoftware.html

sebage
2005-12-03, 13:23
Thanks guys. A favorite in my FF toolbar it is then. :-(

I guess it is ordered by MAC address, and I'm in no position to start meddling with that!

Good idea to switch skins - but I'm rather attached to the default... could the default have the fishbone cookie functionality built into it perhaps?

I still don't think it is a 'natural' way for a web interface to behave though - a simple refresh of the screen sending me onto another Squeezebox...

Anyway...!

Moaning aside, it really is the only downside of having more than one squeezebox ;-)

Appreciate the help.



S

danco
2005-12-03, 14:06
On 3/12/05 at 10:53 -0800, sebage wrote
>Richie Wrote:
>> > I've been wondering how to solve this as well!
>>
>> http://SERVER_IP:9000/index.html?player=MAC_ADDRESS
>>
>> gives you your default skin with your chosen player
>>
>> or
>>
>> http://SERVER_IP:9000/SKIN_NAME/index.html?player=MAC_ADDRESS
>>
>> gives you the skin of your choice with the player of your choice
>>
>> Richard
>
>Thanks Richard. So if I understand you correctly, the only way this can
>be done is to save an individual url in my favorites and browse to there
>if I want to control an individual SB.


That is also my understanding.

>
>That is a *very* clunky solution.


But I don't regard it as a clunky solution. I used to have the
"Welcome to Squeezeboc" page (localhost:9000) bookmarked, but now I
have the bookmark set up as above to point to a particular player.

>
>I'm surprised there is no easy way of forcing the server to serve a
>specific box - I was expecting to see it in the player settings to be
>honest. I'm new here - is it something I can register as an
>enhancement?
>
>Are sleepysurf and I alone in being irritated by this?
>

It's certainly one of the things that should be properly explained in
the manual or the wiki, but this method seems fine to me.
--
Daniel Cohen

radish
2005-12-03, 14:22
I still don't think it is a 'natural' way for a web interface to behave though - a simple refresh of the screen sending me onto another Squeezebox...


Actually, it's a very natural way for a web interface to work. There are two people in my apartment, we both use the web interface on our respective computers to control the SB nearest to us. Having the default be server-wide would be useless. Much better to be per browser, as a browser usually maps to a location and it's usually the location of the SB w.r.t the computer which is important. Per user could also work, but (a) slimserver has no concept of users and (b) if I'm in the livingroom using that computer I _probably_ want to control the livingroom SB.

And I don't see what you mean by your last point, I can refresh away to my hearts content but it stays on the selected player, because the player parameter is on the refreshed URL.

Dan Sully
2005-12-03, 17:20
* radish shaped the electrons to say...

>> I still don't think it is a 'natural' way for a web interface to behave
>> though - a simple refresh of the screen sending me onto another
>> Squeezebox...
>
>And I don't see what you mean by your last point, I can refresh away to
>my hearts content but it stays on the selected player, because the
>player parameter is on the refreshed URL.

The Fishbone style of setting a cookie for the player selection should be ported to the Default skin.

-D
--
"It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein

radish
2005-12-03, 17:52
* radish shaped the electrons to say...

>> I still don't think it is a 'natural' way for a web interface to behave
>> though - a simple refresh of the screen sending me onto another
>> Squeezebox...
>
>And I don't see what you mean by your last point, I can refresh away to
>my hearts content but it stays on the selected player, because the
>player parameter is on the refreshed URL.

The Fishbone style of setting a cookie for the player selection should be ported to the Default skin.

-D
--
"It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein

Agreed - would certainly be easier for most people than setting a bookmark. I still think something's broken if a refresh loses the selected browser though, it doesn't do that for me (using default).

sebage
2005-12-03, 18:05
Radish - My original point was that I did not want to use two different url's - or even computers! - to control my SB's. I wanted to use the same web interface - and if I refreshed the page, the pane would not change to the 'other' SB. It does this if you don't specify a MAC address in the url. I don't think it should. I think the skin should remember you are accessing your Living Room player, instead of bouncing you back to your Study player if you hit F5.

I'm blissfully happy now with two favorites controlling the two boxes. :-) Although that may not please everyone. I still think it is clunky.

Dan - thanks for picking up on the cookie idea. I think that is the easy answer. Of course, I have no idea how easy it would be to implement....!

I'm aware that 'less teckie' people in my house use (and love) the SB. They have picked up this behaviour - which means other potential customers may also.


S

markwm
2007-08-28, 03:58
Has this ever been fixed?

I find myself getting frustrated that everytime I refresh my page or reload slimserver it goes to another player :-(

mherger
2007-08-28, 04:17
> Has this ever been fixed?

If cookies don't work you'll have to fix your browser. Make sure that you check related options in your security suite, too: some of the offer "privacy protection" or similar which kills cookies.

Michael

markwm
2007-08-28, 05:03
It's not working for me in safari and opera. I have no issues with other sites and cookies at all.

Safari is set to accept all cookies without exception and I have cleared all previous cookies

markwm
2007-08-28, 17:15
So is there a solution to this at all?

do any of the guys who work on the SB read these forums. I've had numerous problems and when posting here, it's rare that I find a solution.

mherger
2007-08-28, 21:27
> So is there a solution to this at all?

I can't reproduce the issue. Even Opera on my 5yr old Zaurus Linux PDA is
working fine.

> do any of the guys who work on the SB read these forums.

I happen to work for Logitech. But while we do our best to help out, this
is not the official way to contact support. If you have serious problems,
please contact support at slimdevices dot com. Thanks.


--

Michael