PDA

View Full Version : Shuffling by albums?



Tom Armitage
2004-04-06, 12:11
My question concerns shuffling albums. I am running the 5.1.1 slimserver
on a Red Hat 9.1 based Linux server.

I tend to use my Squeezebox by turning it on, set it to shuffle albums,
then hit the play button. The expectation being, that a different album
should start playing every time. The only problem is that it ALWAYS
starts with the same album everytime, but the second and all the following
albums in the list are differnt every time.

Is this a known bug in the shuffle algorithm or is there something I am
missing? I don't want to use play lists, the idea is that I want to get
the thing to start play a different random sequence of albums every time I
start it up.

I've searched through the forums and found a fairly recent question
similar to the one I have, but there didn't appear to be an answer at the
time:

http://lists.slimdevices.com/archives/discuss/2004-January/023147.html

Otherwise very happy with the hardware and software!

Cheers,
Tom

kdf
2004-04-06, 12:34
Quoting Tom Armitage <Tom.Armitage (AT) tenix (DOT) com>:

>
> My question concerns shuffling albums. I am running the 5.1.1 slimserver
> on a Red Hat 9.1 based Linux server.
>
> I tend to use my Squeezebox by turning it on, set it to shuffle albums,
> then hit the play button. The expectation being, that a different album
> should start playing every time. The only problem is that it ALWAYS
> starts with the same album everytime, but the second and all the following
> albums in the list are differnt every time.
>
> Is this a known bug in the shuffle algorithm or is there something I am
> missing? I don't want to use play lists, the idea is that I want to get
> the thing to start play a different random sequence of albums every time I
> start it up.
>

I believe the server stores the current song in a playlist. When the remembered
playlist is restored, that current song is set as the first. This should give
you the curent song/album playing at the time. however, if you are loading a
saved playlist, it could be that the current song isn't stored since it does'nt
really apply to a saved playlist. Thus, the server might be using song 1 as the
curent, and it would always be song 1. Sorting by album would then have the
same album every time. I haven't looked into the playlist loading or sorting in
too much detail, but this would be my theory based on what I do know of it.

For remembered playlists, this is nice, as it would be much like starting where
you left off. For saved playlists, you get bored of the same first song. I'm
not sure how hard it would be to reshuffle with a different anchor point for the
two different cases.

However, this is already reported for bugtracking, so it will be looked at.
http://bugs.slimdevices.com/show_bug.cgi?id=207

-kdf

Roy M. Silvernail
2004-04-06, 13:28
On Tue, 2004-04-06 at 15:34, kdf wrote:
> Quoting Tom Armitage <Tom.Armitage (AT) tenix (DOT) com>:
>
> >
> > My question concerns shuffling albums. I am running the 5.1.1 slimserver
> > on a Red Hat 9.1 based Linux server.
> >
> > I tend to use my Squeezebox by turning it on, set it to shuffle albums,
> > then hit the play button. The expectation being, that a different album
> > should start playing every time. The only problem is that it ALWAYS
> > starts with the same album everytime, but the second and all the following
> > albums in the list are differnt every time.
> >
> > Is this a known bug in the shuffle algorithm or is there something I am
> > missing? I don't want to use play lists, the idea is that I want to get
> > the thing to start play a different random sequence of albums every time I
> > start it up.
> >
>
> I believe the server stores the current song in a playlist. When the remembered
> playlist is restored, that current song is set as the first.

I think Tom is talking about something else. I also noticed that when I
load my entire collection (Browse Albums|All Songs|Play), it *always*
selects the same first song regardless of how I have set the shuffle
option. Curiously, that first song/album is nowhere near the beginning
of any alphabetization I can detect. It's "The River" by Dave Wilen,
from 'Feast of Kali'. No idea how that hits the top of any list (other
than a list of close friends who have released CDs :).
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

kdf
2004-04-06, 13:35
Quoting "Roy M. Silvernail" <roy (AT) rant-central (DOT) com>:

> On Tue, 2004-04-06 at 15:34, kdf wrote:
> > Quoting Tom Armitage <Tom.Armitage (AT) tenix (DOT) com>:
> >
> > >
> > > My question concerns shuffling albums. I am running the 5.1.1
> slimserver
> > > on a Red Hat 9.1 based Linux server.
> > >
> > > I tend to use my Squeezebox by turning it on, set it to shuffle albums,
> > > then hit the play button. The expectation being, that a different album
> > > should start playing every time. The only problem is that it ALWAYS
> > > starts with the same album everytime, but the second and all the
> following
> > > albums in the list are differnt every time.
> > >
> > > Is this a known bug in the shuffle algorithm or is there something I am
> > > missing? I don't want to use play lists, the idea is that I want to get
> > > the thing to start play a different random sequence of albums every time
> I
> > > start it up.
> > >
> >
> > I believe the server stores the current song in a playlist. When the
> remembered
> > playlist is restored, that current song is set as the first.
>
> I think Tom is talking about something else. I also noticed that when I
> load my entire collection (Browse Albums|All Songs|Play), it *always*
> selects the same first song regardless of how I have set the shuffle
> option. Curiously, that first song/album is nowhere near the beginning
> of any alphabetization I can detect. It's "The River" by Dave Wilen,
> from 'Feast of Kali'. No idea how that hits the top of any list (other
> than a list of close friends who have released CDs :).

http://bugs.slimdevices.com/show_bug.cgi?id=207
Feel free to review the bug report and add any details you feel might help. :)

-kdf

Roy M. Silvernail
2004-04-06, 14:17
On Tue, 2004-04-06 at 16:35, kdf wrote:
> Quoting "Roy M. Silvernail" <roy (AT) rant-central (DOT) com>:
> > I think Tom is talking about something else. I also noticed that when I
> > load my entire collection (Browse Albums|All Songs|Play), it *always*
> > selects the same first song regardless of how I have set the shuffle
> > option. Curiously, that first song/album is nowhere near the beginning
> > of any alphabetization I can detect. It's "The River" by Dave Wilen,
> > from 'Feast of Kali'. No idea how that hits the top of any list (other
> > than a list of close friends who have released CDs :).
>
> http://bugs.slimdevices.com/show_bug.cgi?id=207
> Feel free to review the bug report and add any details you feel might help. :)

Duly reviewed and I have nothing further of substance to add.
At least, with my setup, the starting album is one I like. :)
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Rick Nicoletti
2004-04-06, 15:30
Ah ha! And I thought it was just me.

Thus spake Roy M. Silvernail (roy (AT) rant-central (DOT) com):

> On Tue, 2004-04-06 at 15:34, kdf wrote:
> > Quoting Tom Armitage <Tom.Armitage (AT) tenix (DOT) com>:
> >
> > >
> > > My question concerns shuffling albums. I am running the 5.1.1 slimserver
> > > on a Red Hat 9.1 based Linux server.
> > >
> > > I tend to use my Squeezebox by turning it on, set it to shuffle albums,
> > > then hit the play button. The expectation being, that a different album
> > > should start playing every time. The only problem is that it ALWAYS
> > > starts with the same album everytime, but the second and all the following
> > > albums in the list are differnt every time.
> > >
> > > Is this a known bug in the shuffle algorithm or is there something I am
> > > missing? I don't want to use play lists, the idea is that I want to get
> > > the thing to start play a different random sequence of albums every time I
> > > start it up.
> > >
> >
> > I believe the server stores the current song in a playlist. When the remembered
> > playlist is restored, that current song is set as the first.
>
> I think Tom is talking about something else. I also noticed that when I
> load my entire collection (Browse Albums|All Songs|Play), it *always*
> selects the same first song regardless of how I have set the shuffle
> option. Curiously, that first song/album is nowhere near the beginning
> of any alphabetization I can detect. It's "The River" by Dave Wilen,
> from 'Feast of Kali'. No idea how that hits the top of any list (other
> than a list of close friends who have released CDs :).
> --
> Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
> Never Forget: It's Only 1's and 0's!
> SpamAssassin->procmail->/dev/null->bliss
> http://www.rant-central.com
>
>

kdf
2004-04-06, 15:32
Quoting Rick Nicoletti <slimp3 (AT) rickjenn (DOT) net>:

> Ah ha! And I thought it was just me.
>
and that's why there is a bugs database :)
http://bugs.slimdevices.com

-kdf

Rick Nicoletti
2004-04-07, 07:01
Damn, I keep forgetting about that. :-)

Thus spake kdf (slim-mail (AT) deane-freeman (DOT) com):

> Quoting Rick Nicoletti <slimp3 (AT) rickjenn (DOT) net>:
>
> > Ah ha! And I thought it was just me.
> >
> and that's why there is a bugs database :)
> http://bugs.slimdevices.com
>
> -kdf
>