Skip to content

QueuePlayer notifies track change before actually changing the currentTrack  #11

@ivan-konov

Description

@ivan-konov

Hello I noticed this piece of code:
case .didPlayToEndTime: notify(.didPlayToEndTime) if let _ = nextTrackIndexPath() { next() play() } else { notify(.nextPlaylistRequested) }
In the listen(_ event:) function of the QueuePlayer class. So any observer of this event will check currentTrack but it is yet no changed which is not the desired behavior. Is there a specific desing decision behind this implementation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions