Closed robinbanbury closed 6 years ago
@codinronan any chance this can be reviewed?
Hi @robincsmith sorry about that I've been a bit overwhelmed lately!!
No worries pal, it sounds like you've been very busy - it happens to the best of us! :-D
Cheers for merging the fixes, and for the excellent work on the plugin - it's super useful.
Description
When the user searches for a track, the track and playlist index are returned by
findTrackById
. If a suitable track is not found, use NSNull to represent the track, as the NSDictionary returned by this function cannot use 'nil' values.Related Issue
14
Motivation and Context
Required to gracefully handle user / developer errors without crashing the plugin
How Has This Been Tested?
Before and after test on a live device with multiple tracks
Screenshots (if appropriate):
None appropriate, but logs before:
Logs after:
And the player does not start playing - suitable since there is no corresponding track to play for this selection.
Types of changes
Checklist: