misiio / flutter_music_kit

MIT License
12 stars 10 forks source link

setPlaybackTime #3

Open XMitja opened 1 year ago

XMitja commented 1 year ago

I added setPlaybackTime for playing not from the beginning, this can be done for example between prepareToPlay and play

also fixed a warning on MusicSubscription result not being sent on the main thread

apple api supports setting start/end times in MusicPlayer.Queue.Entry but there's an apple bug preventing it from working: https://developer.apple.com/forums/thread/714807 I left a stub for that in setQueue(item: PlayableMusicItem) for the future when it could be implemented