Bug 492001 - Playing cd tracks only works with track 1
Summary: Playing cd tracks only works with track 1
Status: CONFIRMED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/CD (show other bugs)
Version: 3.1.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 19:32 UTC by robert marshall
Modified: 2025-02-22 10:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert marshall 2024-08-21 19:32:27 UTC
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
Comment 1 Tuomas Nurmi 2024-08-23 12:16:53 UTC
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.
Comment 2 Tuomas Nurmi 2024-09-21 11:04:29 UTC
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...
Comment 3 robert marshall 2024-09-21 19:19:44 UTC
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)
Comment 4 Tuomas Nurmi 2025-02-22 09:42:49 UTC
Ok, might be related to phonon-vlc. I can reproduce with current Amarok git and Qt6 phonon-vlc backend.
Comment 5 Tuomas Nurmi 2025-02-22 10:03:51 UTC
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