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

--- Comment #8 from fw.smi...@gmail.com ---
(In reply to Nate Graham from comment #7)
> Oh nice, I'll let you take over.
> 
> In manageaudioplayer.h, we'll want a new signal finishedPlayingTrack(). That
> should get emitted in somewhere in
> ManageAudioPlayer::setPlayerPlaybackState() and possible also in
> ManageAudioPlayer::setCurrentTrack() if mSkippingCurrentTrack is false.
> 
> Then in elisaapplication.cpp, we'll want to connect
> ManageAudioPlayer::finishedPlayingTrack to a new function in
> databaseinterface.cpp called DatabaseInterface::trackHasFinishedPlaying().
> That new function should be responsible for the logic that has
> "`PlayCounter` = `PlayCounter` + 1 " in it.
> 
> Or something like that. :)

Thanks for the guidance, that was very helpful! I have posted a MR:
https://invent.kde.org/multimedia/elisa/-/merge_requests/404 (🤖 ⚠️merge request
not found)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to