         var searchMethod:String
         /*switch (Singleton.sharedInstance.settings.selectedSearchMethod) {
         case .Hot:
-            searchMethod = "hot"
+        searchMethod = "hot"
         case .Random:
-            searchMethod = "random"
+        searchMethod = "random"
         }*/
         
         if Singleton.sharedInstance.settings.hotness == true {

                    Singleton.sharedInstance.tracks = tracks
                    ConnectionManager.sharedInstance.delegate?.didGetTracks!()
                }
        })
    }
    
    

                        track.stream_url = child["stream_url"].string!
                        track.start_time = child["start_time"].int!
                        
                        if Singleton.sharedInstance.settings.duplicates == false {
                            // If duplicates are not allowed
                            if find(playedTracksArray, track.id!) == nil {
                                // Check if the id is in played tracks; if it isn't add it to the collection
                                tracks.addObject(track)
                            }
                            if tracks.count == 0 {
                                
                                // If there's no more tracks abort mission
                                
                                SwiftSpinner.show("Uh Oh! No more songs...", animated:false)
                                return
                            }
                        } else {
                            tracks.addObject(track)
                        }
                        
                    }
                    Singleton.sharedInstance.tracks = tracks
                    ConnectionManager.sharedInstance.delegate?.didGetTracks!()
                }
                
                
            })
        
        
    }
    
    class func getTrackStream (trackUrl:String) {
