SUMMARY Playing cd tracks only works with track 1 STEPS TO REPRODUCE 1. Insert cd 2. start playing cd in amarok 3. it plays track 1 and then track one again though the playlist claims it is moving through the tracks 4 If you attempt to start with track 2 it will play track 1 OBSERVED RESULT SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13
Great, thank you for filing this report! I've noticed some hints about this kind of problem myself & from other bug reports, but now that there's a specific report I can refer to, I'll be more probable to inspect & try to fix this sometime.
Funny, I encountered this problem earlier, but now when I try to reproduce, it seems to work ok. I'll try and see if I still might be able to trigger this somehow...
Maybe the problem has now changed slightly. It may be more of a UI issue. Playing progresses through the cd tracks but the playlist still shows it as playing track one when it has moved onto subsequent tracks. The current track applet also doesn't update (at least for me) Also if I drag 3 tracks from the cd into a playlist (when there are more than that on the cd, after track 3 it continues with track 4 ignoring what is actually in the playlist (with the current track still shown as track 1 - as above)
Ok, might be related to phonon-vlc. I can reproduce with current Amarok git and Qt6 phonon-vlc backend.
running with --debug-audio, playing track 2 almost starts, but phonon-vlc aborts and starts playing track 1 instead PHONON-VLC BEGIN: virtual QVariant Phonon::VLC::MediaController::interfaceCall(Phonon::AddonInterface::Interface, int, const QList<QVariant>&) PHONON-VLC BEGIN: void Phonon::VLC::MediaController::setCurrentTitle(int) PHONON-VLC setting CDDA track 2 PHONON-VLC END__: void Phonon::VLC::MediaController::setCurrentTitle(int) [Took: 0.12s] PHONON-VLC END__: virtual QVariant Phonon::VLC::MediaController::interfaceCall(Phonon::AddonInterface::Interface, int, const QList<QVariant>&) [Took: 0.12s] PHONON-VLC BEGIN: virtual void Phonon::VLC::MediaObject::play() PHONON-VLC BEGIN: void Phonon::VLC::MediaObject::setupMedia() "PulseSupport(2): context_state_callback Terminated" PHONON-VLC setting CDDA track 1