         var url : URL
         
         if(audioType == "network" || audioType == "liveStream"){
-            let urlStr : String = path.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
-            if let u = URL(string: urlStr) {
+            if let u = URL(string: path) {
                 return u
             } else {
-                print("Couldn't parse myURL = \(urlStr)")
+                print("Couldn't parse myURL = \(path)")
                 return nil
             }
             

            print("category " + category.rawValue);
            print("mode " + mode.rawValue);
            print("displayNotification " + displayNotification.description);
            
            //        log("url: "+url.absoluteString)
            /* set session category and mode with options */
            if #available(iOS 10.0, *) {
                try AVAudioSession.sharedInstance().setCategory(category, mode: mode, options: [.mixWithOthers])

                    result(FlutterError(
                        code: "PLAY_ERROR",
                        message: "Cannot play "+assetPath,
                        details: item.error?.localizedDescription)
                    );
                @unknown default:
                    fatalError()
