teodorpatras / Jukebox

Player for streaming local and remote audio files. Written in Swift.
MIT License
552 stars 122 forks source link

Jukebox in singleton lags with meta data #90

Open leobouilloux opened 6 years ago

leobouilloux commented 6 years ago

Hello,

Not sure if this will help anyone, but I had huge lags causing UI freezes when loading 20 items in the player. Since no one seems to update the code, here is a workaround for anyone having this problem. If anyone encountered and solved these lags another way, I'll be glad to know about it.

    public required init(URL : Foundation.URL, localTitle : String? = nil) {
        self.URL = URL
        self.identifier = UUID().uuidString
        self.localTitle = localTitle
        super.init()
//        configureMetadata()
    }