 
         }
 
-        updateSongStatus()
+        //updateSongStatus()
     }
 
     func jukeboxStateDidChange(_ jukebox: Jukebox) {

            let data = JSON(command.arguments[0]);
            let autoPlay = data["autoPlay"].bool ?? false
            
            doAddItem(data);

            if autoPlay {
                jukebox.play();
            }

            pluginResult = CDVPluginResult(


    @objc(toggle:)
    func toggle(_ command: CDVInvokedUrlCommand) {
        self.commandDelegate!.run(inBackground: {() -> Void in
            var pluginResult = CDVPluginResult(
                status: CDVCommandStatus_ERROR
            )

            if self.jukebox.state == .playing {
                self.jukebox.pause()
            } else {
                self.jukebox.play()
            }

            pluginResult = CDVPluginResult(
                status: CDVCommandStatus_OK
            )

            self.commandDelegate!.send(
                pluginResult,
                callbackId: command.callbackId
            )
        })
    }

    @objc(play:)
    func play(_ command: CDVInvokedUrlCommand) {
        self.commandDelegate!.run(inBackground: {() -> Void in
            var pluginResult = CDVPluginResult(
                status: CDVCommandStatus_ERROR
            )

            self.jukebox.play()
            pluginResult = CDVPluginResult(
                status: CDVCommandStatus_OK
            )

            self.commandDelegate!.send(
                pluginResult,
                callbackId: command.callbackId
            )
        })
    }

    @objc(pause:)
