Page 1 of 1

Possible bug with duplicate tracks in a playlist

PostPosted: Fri Jan 21, 2011 8:47 pm
by grnidb
First off thank you, thank you, thank you! Subsonic is an amazing product, I WILL be donating next paycheck.

I noticed a possible bug when you have the same song in a playlist multiple times. The behavior I noticed was if the same song was in a playlist twice for example number 1 and number 4 were the same song it would play 1 through 4 but once the 4th track finished it would NOT move on to track 5 but start again at track 2, creating an endless loop of the same 4 songs. Is there a solution for this rather than reviewing playlists for duplicates?

If this has been listed or documented somewhere else my apologies I did search the forums before posting.

Thanks Again!
Grnidb

PostPosted: Sun Jan 23, 2011 5:50 am
by GJ51
That's very generous, but I really don't think Sindre expects you to donate your paycheck!!!!! :lol:

Just kidding, I'm testing on my server to see if it does the same thing.

Edit: Confirmed. I get the same behavior.

Sindre is aware of it.

PostPosted: Sun Jan 23, 2011 8:35 pm
by sindre_mehus
Hi guys,

Yeah, I'm aware of this bug and it's been around for ages I'm afraid. I remember looking into it some time ago and wasn't able to find a fix for it then - but I'll have another go when time allows.

As always, thanks for reporting!
Sindre

PostPosted: Mon Jan 24, 2011 4:24 am
by grnidb
GJ51 - thanks for the conformation and laugh... :)

Sindre - Thanks, it is an easy one to remedy on my end.

Re: Possible bug with duplicate tracks in a playlist

PostPosted: Sun Jan 22, 2012 6:48 pm
by ytechie
Currently working on this. The dynamic refreshing is what's making this hard. What we need to do is make each instance of the same track unique, and have it remain unique even when the playlist is shuffled for instance.

Re: Possible bug with duplicate tracks in a playlist

PostPosted: Mon Jan 23, 2012 4:02 am
by eblade
i recreated this same bug in the webOS client, am hoping no one will notice. ;) actually, probably just going to make it so that it doesn't allow the same song to be dumped into the playlist more than once, because that'll be a little bit easier than trying to make each instance of the song unique.

Re: Possible bug with duplicate tracks in a playlist

PostPosted: Mon Jan 23, 2012 4:25 am
by ytechie
I was actually trying to make it dump the second song, but I got lazy. It's very annoying to work with at times.

Re: Possible bug with duplicate tracks in a playlist

PostPosted: Thu Feb 07, 2013 4:55 pm
by Carrot Cruncher
does anyone know if there is any known fix / workaround for this yet ? i couldn't find any related bug on sourceforge. cheers.