This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Description
Thanks for your work.
i've tried to get this to work with radio streams which are endless stream , but it did not work
override func viewDidLoad() {
super.viewDidLoad()
let filemgr = FileManager.default
// let currentPath = filemgr.currentDirectoryPath
let dirPaths = filemgr.urls(for: .documentDirectory, in: .userDomainMask)
let docsDir = dirPaths[0].path
print("docsDir = \(docsDir)")
let url = URL(string: "http://mp3channels.webradio.antenne.de/oldies-but-goldies")!
let player = PersistentStreamPlayer(remoteURL: url, localURL: dirPaths[0])
player?.delegate = self
player?.play()
print("loaded")
}
any hint please