                         self.runtimes.append(String(runtime) + " min")
                     }
                     
+                    if key as! String == "file" {
+                        var file_name = value as! String
+                        if file_name.hasPrefix("http") || file_name.hasPrefix("plugin"){
+                            self.episodeFiles.append(file_name)
+                        }else{
+                            file_name = file_name.stringByReplacingOccurrencesOfString("\\", withString: "/")
+                            self.episodeFiles.append(file_name)
+                        }
+                    }
+                    
                     if key as! String == "thumbnail"{
                         var thumbnail = value as! String
                         thumbnail = thumbnail.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.URLHostAllowedCharacterSet())!

        self.navigationItem.title = seasonName
        
        self.rc = RemoteCalls(ipaddress: global_ipaddress, port: global_port)
        self.rc.jsonRpcCall("VideoLibrary.GetEpisodes", params: "{\"tvshowid\":\(tvshow_id),\"season\":\(season), \"properties\":[\"title\",\"thumbnail\",\"firstaired\",\"runtime\",\"episode\"]}"){(response: AnyObject?) in
            
            self.generateSeasonResponse(response as! NSDictionary)
            

    var episodeImages = [String]()
    var episodeTitles = [String]()
    var episodeNumbers = [String]()
    var episodeFiles = [String]()
    var runtimes = [String]()
    var episodesAired = [String]()
    var imageCache = [String:UIImage]()
