| Summary: | Randomize mode that picks random albums, not random tracks | ||
|---|---|---|---|
| Product: | [Applications] Elisa | Reporter: | Radoslaw Jurga <radoslaw.jurga> |
| Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
| Status: | ASSIGNED --- | ||
| Severity: | wishlist | CC: | bart, be.0, nate, paul, postix |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Radoslaw Jurga
2021-09-01 19:22:35 UTC
So you want random albums, not random songs. I'd kinda like that myself. Yes, that's it. Here's a use case where it makes the most sense: classical music. You don't listen to a random movement of a symphony, only to switch to another random movement of some other concerto, for example. A symphony or a concerto is typically listened in full, sequentially. So the randomness here should be at the level of selecting the symphony/concerto, which usually is a whole album. Yep, makes total sense to me. Rather than shuffling by album within the current playlist, I'd like to have a sorting option for the albums grid that sorts randomly. Just adding my +1 that this is the main thing stopping me using Elisa. I may have to browse the source. (In reply to Paul Elliott from comment #5) > Just adding my +1 that this is the main thing stopping me using Elisa. I may > have to browse the source. I actually started working on this a while ago. I think the implementation is mainly complete except for: - icon to represent album shuffle; - part of the implementation when new tracks are added to a pre-existing non-empty playlist (but this is close to complete, just had some bugs if I remember correctly) Here's the reference to the branch. https://invent.kde.org/bdevries/elisa/-/tree/work/album-shuffle?ref_type=heads I'll see if I find some time to finish this. Alternatively, if someone wants to pick this up and finish it, just let me know. A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/575 A possibly relevant merge request was started @ https://invent.kde.org/multimedia/elisa/-/merge_requests/575 Git commit 08fbb15415201b0bf70a18348a07baea126ed1ba by Bart De Vries. Committed on 09/05/2024 at 06:52. Pushed by ngraham into branch 'master'. Implement album shuffle option on playlist Additional test added to check: - switching between the shuffle modes - save and restore playlist shuffle state - enqueueing tracks while shuffle mode is active - check whether album tracks remain properly grouped in album shuffle mode M +404 -99 autotests/mediaplaylistproxymodeltest.cpp M +8 -2 autotests/mediaplaylistproxymodeltest.h M +4 -1 src/CMakeLists.txt M +229 -54 src/mediaplaylistproxymodel.cpp M +18 -7 src/mediaplaylistproxymodel.h M +6 -5 src/mpris2/mediaplayer2player.cpp M +1 -1 src/mpris2/mediaplayer2player.h M +54 -4 src/qml/MediaPlayerControl.qml M +10 -10 src/qml/NativeGlobalMenu.qml A +16 -0 src/qml/NativeGlobalMenuShuffleModeItem.qml [License: LGPL(v3.0+)] A +17 -0 src/qml/ShuffleModeItem.qml [License: LGPL(v3.0+)] M +45 -4 src/qml/mobile/MobileTrackPlayer.qml https://invent.kde.org/multimedia/elisa/-/commit/08fbb15415201b0bf70a18348a07baea126ed1ba |