tanhakabir / SwiftAudioPlayer

Streaming and realtime audio manipulation with AVAudioEngine
https://medium.com/chameleon-podcast/creating-an-advanced-streaming-audio-engine-for-ios-9fbc7aef4115
MIT License
546 stars 108 forks source link

Is there a way to get a list of all saved URLs? #176

Closed micahjon closed 1 year ago

micahjon commented 1 year ago

First off, thanks for maintaining such an excellent library. Makes developing a podcast app much easier!

Is there a way to get the URLs of all saved audio files? I realize this might be a bit expensive, but it'd be handy for tracking down any files that were downloaded and are no longer tracked as such (e.g. due to a bug, deletion failure, or other issue).

Thanks!

micahjon commented 1 year ago

If anyone else is needing this, I added some helper methods on my fork that expose all the saved audio file "URLs" (file paths) https://github.com/tanhakabir/SwiftAudioPlayer/commit/d6f3576d28bbfe3e40955b69fb49c2ec7638efef