llewelld/getiplay

Deleting audio files can block execution

Closed this issue · 1 comments

GetiPlay tracks the audio files in its queue and if any are deleted, it'll remove them from the queue. When the app is started, the first thing it does is therefore check the existence of the files and remove them if they're not there.

A bug in the iterator code (how embarrassing) that performs this check will result in an exception if the very last item in the queue has been deleted. If this triggers the app crashes out when starting, preventing it from being run at all.

Created branch 86-deletion-audio-crashes for this.