Bug 2045 - Random mix plugin ignores count.
: Random mix plugin ignores count.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 6.2.0
: Macintosh All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-31 09:07 UTC by Blackketter Dean
Modified: 2008-09-15 14:36 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2005-08-31 09:07:32 UTC
Should keep ten tracks on playlist, but only keeps 1 or two.
Comment 1 KDF 2005-08-31 11:32:08 UTC
Line 78 needs to change to:
$client->execute(['playlist', 'addtracks', 'listRef', $items]);
Comment 2 sbjaerum 2005-08-31 14:31:59 UTC
The patch fixes the problem with the initial number of tracks in the playlist.

However, for each track finished playing, ten new tracks are added to the
playlist instead of just one new track. The number of tracks in the playlist
therefore grows towards infinity. This is probably not the intended behavior.
Comment 3 KDF 2005-08-31 15:13:44 UTC
yup, just tested that myself.  use this instead:
$client->execute(['playlist', 'addtracks', 'listRef', $items]) unless $addOnly;
Comment 4 Dan Sully 2005-08-31 17:52:19 UTC
Fixed in subversion change 4141.