Bug 94866 - remember previously played tracks while on random play
Summary: remember previously played tracks while on random play
Status: RESOLVED FIXED
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 23:56 UTC by Miles Stevenson
Modified: 2008-06-01 20:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Stevenson 2004-12-10 23:56:53 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

This is almost an exact duplicate of Bug 56459, but that bug was marked as RESOLVED back in 2003 and I'm still having this issue running from CVS-HEAD.

Basically, while JuK is set to random play, it should remember the tracks that it has already played in the current playlist/collection. Not only does the randomness seem to be very poor for me (tends to play the same 50-60 tracks most of the time out of the 2600+ tracks in my collection) but it will often play the same track it just played 5 tracks ago! 

I'm thinking that it would not only be nice to improve this, but write the previously played tracks to disk. That way random play will continue to play tracks I haven't heard yet even after I have closed and restarted JuK.  For example, say I have a playlist with the tracks A B C and D. Random play plays it as CBDA. After tracks C and B are played, I close JuK and reboot my system. When I resume random play on that playlist, it should play tracks D and then A. 

This might be unexpected behavior for those that do NOT want the playlists to loop, but stop after it has played each track once. Maybe this would be better to have as a configurable option in the JuK settings menu. Maybe a checkbox titled "Remember Previously Played Tracks".
Comment 1 Dik Takken 2005-01-25 19:41:13 UTC
I also wanted to report this wish. Especially when you play a small number of very long tracks, it happens that the same track is played twice in a row. Not very nice indeed.

This should be solved when Juk keeps a not-yet-played list and removes each song after playing it. New songs should be randomly selected from this list only.

I use KDE 3.3.2 by the way.
Comment 2 Michael Pyne 2005-07-11 02:47:48 UTC
SVN commit 433499 by mpyne:

Big huge update.

Make random play work better.  Before only the old style unused random list was
being updated when a playlist changed.  In addition, there are a lot of
improvements to the new cover support.
* You can drag-and-drop covers onto playlist items.  Right now only selected
  items are altered even if you drag onto a
  different item, so I'll have to change that.
* Clearing a cover from a track no longer removes it from every track using
  that cover.
* Replacing a track's cover works again as well.

I'm sure that both features could use more work so I guess it's back to the
grindstone for me, I just wish I had more time. :(
CCBUG: 94866


 M  +1 -0      Makefile.am  
 M  +1 -1      collectionlist.cpp  
 M  +9 -24     coverdialog.cpp  
 M  +117 -14   coverdialogbase.ui  
 A             covericonview.cpp   [License: GPL (v2+)]
 A             covericonview.h   [License: GPL (v2+)]
 M  +26 -14    coverinfo.cpp  
 M  +3 -0      coverinfo.h  
 M  +77 -4     covermanager.cpp  
 M  +39 -0     covermanager.h  
 M  +51 -12    playlist.cpp  
 M  +2 -7      playlist.h  
 M  +20 -0     tracksequenceiterator.cpp  
 M  +29 -0     tracksequenceiterator.h  
 M  +7 -0      tracksequencemanager.cpp  
Comment 3 Michael Pyne 2008-06-01 20:37:02 UTC
I fixed this a long time ago, accidentally used CCBUG instead of BUG though.