Version: 0.9 (using KDE 3.2.0, Arch Linux) Compiler: gcc version 3.3.3 OS: Linux (i686) release 2.6.3 having a playlist amarok loads it on startup (good thing) but when i then press play (random mode enabled), the first track in playlist is played, and then the random mode starts selecting new ones should: the first track should be also selected randomly from the whole playlist
fixed in cvs...
I am still having this problem in amarok-CVS 1.1, which was not present in amarok 1.0.1
I also have this problem in cvs. In my opinion a _must_ fix for amaroK 1.1
i'm using 1.0.2 now, and it has this bug too - didn't have time to check the actual cvs, but if you say it has, i'm going to reopen it
reopen because of comment #3
CVS commit by mhowell: Make the first track that is played be random if random mode is on. CCMAIL: 77055-done@bugs.kde.org M +7 -1 playlist.cpp 1.287 --- kdeextragear-1/amarok/src/playlist.cpp #1.286:1.287 @@ -437,5 +437,11 @@ void Playlist::playCurrentTrack() { - activate( currentTrack() ? currentTrack() : *MyIt( this ) ); + if ( !currentTrack() ) + playNextTrack(); + + //we must do this even if the above is correct + //since the engine is not loaded the first time the user presses play + //then calling the next() function wont play it + activate( currentTrack() ); }