Removing or configuring players

Need help? Post your questions here.

Moderator: moderators

Removing or configuring players

Postby labrat-radio » Tue Dec 04, 2007 6:40 pm

I've been testing various settings and I've noticed it is piling up a list of players.

Is a new player created each time a person logs on and streams music? Is the player associated to a login or to a list of music that is/was being streamed? If I am streaming remotely, inputting my subsonic URL into winamp, do I need to have a player configured for that purpose? And lastly, am I doing something incorrectly that is causing so many players to be created?

Thanks very much.
labrat-radio
 
Posts: 3
Joined: Tue Dec 04, 2007 6:14 pm

Postby sindre_mehus » Tue Dec 04, 2007 7:32 pm

The logic for deciding when to create new players is too complex to spell out in detail here, but the following is taken into account:

o HTTP request parameter "player"
o HTTP session parameter "player"
o Content of cookie "player".
o IP address
o User name
o Type of request (stream, download, upload, other)
o Player settings (in Settings > Players)

Refer to the source code for the details. In general, the intention is to create as few new players as possible. (Ideally, there should be one player instance per Subsonic client machine).

It's hard to tell if you're doing something "wrong", or if there's a bug since it depends on so many factors. I have a couple of questions, though:

o Have you disabled cookies in the browser?
o Do you type the stream URL manually in Winamp?

Thanks :-)
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests