access-news / Access-News-Reader-iOS-deprecated

iOS app for Society for the Blind volunteers to upload their recordings.
3 stars 2 forks source link

AVQueuePlayer for ListRecordings? #13

Open toraritte opened 6 years ago

toraritte commented 6 years ago

https://developer.apple.com/documentation/avfoundation/avqueueplayer

Maybe a playback control center above the list of recordings, where one could just advance the list and mark recordings for future (or immediate) actions. For example, play, delete, loads next in queue, play, (mark for deletion | rename | edit other metadata) etc.

toraritte commented 6 years ago

e2bc24d - used AVQueuePlayer to allow pausing the recordings process.

toraritte commented 6 years ago

It may be that simply using an AVPlayer instead would be a better idea, because AVQueuePlayer does not provide a good solution to skip songs forwards and backwards. A solution with AVPlayer: https://stackoverflow.com/questions/34971839/better-way-to-do-skip-to-previous-with-avqueueplayer/35017140

On the other hand, the trick from RecordViewController (when recreating AVQueuePlayer with a new array) could be used here, but I don't know which would be better in terms of efficiency and code cleanliness.