Bug 363883 - Songs are being played twice in in amarok in shuffle album mode if the album is added to the playlist twice
Summary: Songs are being played twice in in amarok in shuffle album mode if the album ...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.8.0
Platform: Kubuntu Linux
: NOR minor
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-03 08:56 UTC by t.lattmann
Modified: 2018-10-08 19:49 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 t.lattmann 2016-06-03 08:56:26 UTC
I am often listening to music in shuffle/random album mode.
In my playlist are many albums so I might have forgotten that the album I wanna listen to is already in the playlist - so I add it. If the album has been in there before and is now in the playlist twice it always jumps from track 1 from album x (position 2) that I just added  to track 1 from album x that is somewhere else (position 1) in the playlist.

So it's like this:
album x, pos 2, track 1
album x, pos 1, track 1
album x, pos 2, track 2
album x, pos 1, track 2
...
...

Even though it helps to keep the playlist clean, I wouldn't mind if that "feature" is gone in a future release.

Thanks!

btw: the next album button would really be nice to have!

Reproducible: Always

Steps to Reproduce:
1. set listening mode to shuffle albums
2. at two times the same album
3. 

Actual Results:  
Each song is being played twice

Expected Results:  
Each song is being played once (no jumping between those albums)
Comment 1 Myriam Schweingruber 2016-06-04 10:05:07 UTC
Could you please test with amarok 2.9 beta?
Comment 2 t.lattmann 2016-06-07 19:44:26 UTC
(In reply to Myriam Schweingruber from comment #1)
> Could you please test with amarok 2.9 beta?

There is no deb file right? I downloaded the Amarok source from here: https://amarok.kde.org/en/node/887 and compiled it with
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -Wno-dev
and also installed all required dependencies but I still get at least one error:
Could NOT find FFmpeg (missing:  AVFORMAT_LIBRARIES AVFORMAT_INCLUDE_DIRS)
but ffmeg is installed, libavformat-dev as well. I found some bug reports but no solution.

also I'm not sure if this is an error:
Found gmock and gtest but need to build both: /usr/include/gmock;/usr/src/gmock;GOOGLEMOCK_DEP_GTEST_SOURCES-NOTFOUND/gtest/include, GOOGLEMOCK_DEP_GTEST_SOURCES-NOTFOUND
CMake Error at tests/CMakeLists.txt:143 (add_subdirectory):
  add_subdirectory given source "GOOGLEMOCK_DEP_GTEST_SOURCES-NOTFOUND/gtest"
  which is not an existing directory.

So right now i can't test it, sorry
Comment 3 Myriam Schweingruber 2016-06-12 13:04:03 UTC
You can just disable the test framework (which is enabled my default for KDE applications) by adding the option

-DKDE4_BUILD_TESTS=OFF 

to your cmake line
Comment 4 Myriam Schweingruber 2017-02-13 18:46:58 UTC
Any news on this?
Comment 5 t.lattmann 2018-10-08 19:49:03 UTC
Seems to work in Version 2.9 as expected. Thanks a lot, sorry I never did any testing!