This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Strange random dynamic playlist behaviour

Tags: None
(comma "," separated)
User avatar
l3u
Registered Member
Posts
38
Karma
0
OS
Hi :-)

I use Amarok 2.2.1.90. When I enable a random dynamic playlist, Amarok chooses only about 10 different songs out of my 4000 songs collection and always appends only these ... is this a known bug or a local problem only for me?!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Did you enable any random action of the playlist + the dynamic playlist? That wouldn't make much sense since the dynamic playlist already is random. Combining two random algorithms that don't know of each other might well cause the system not to work.

Works fine here in 2.2-git, using for example a 100% random bias on the genre classical, I get a lot of different stuff, just letting it repopulate itself, basing the 10 next on the 5 previous which is the default setting. I do this all the time, rarely had the same track playing twice (which in an absolutely random pattern would still be random anyway).


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
l3u
Registered Member
Posts
38
Karma
0
OS
No matter which settings I change, I always get the same 20 (or so) songs. When I play around with the dynamic playlist for a while, Amarok crashes ...

amarok --debug prints a lot like
Code: Select all
amarok:     [BiasSolver] [ERROR!] track is 0 in BiasSolver::getRandomTrack()

and finally
Code: Select all
amarok:     [BiasSolver] No collection filters, returning random initial playlist

The last messages before crashing are:
Code: Select all
QSocketNotifier: Invalid socket 5 and type 'Read', disabling...
amarok: Fatal IO error: client killed
amarok: BEGIN: virtual CurrentEngine::~CurrentEngine()
amarok: END__: virtual CurrentEngine::~CurrentEngine() - Took 9.9e-05s
amarok: BEGIN: virtual ContextObserver::~ContextObserver()
amarok: BEGIN: void ContextSubject::detach(ContextObserver*)
amarok: END__: void ContextSubject::detach(ContextObserver*) - Took 2.2e-05s
amarok: END__: virtual ContextObserver::~ContextObserver() - Took 7.1e-05s
KCrash: Application 'amarok' crashing...
sock_file=/home/tobias/.kde4/socket-skoni/kdeinit4__0


Even after deleting all Amarok related config files and a complete rescan of my collection, I get exactly the same results. When I query the same collection from my other machine (via NFS), the situation is also the same.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Ouch, are you sure you have 2.2.1.90? That looks like a regression then ...
Could you please file a bug on https://bugs.kde.org/enter_bug.cgi?product=amarok ?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
l3u
Registered Member
Posts
38
Karma
0
OS
Yes, I definitely have 2.2.1.90, built from the official sources vcia Gentoo's portage system. I'll file a bug, let's see what causes this ;-)

EDIT: https://bugs.kde.org/show_bug.cgi?id=219431


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]