/* note you can blank a url if you don't want torrentflix to ask you */
/* url to use for kickass torrents */
var kickass_url = "https://kickass.to";
/* url to use for rarbg */
var rarbg_url = "https://rarbg.com";
/* url to use for lime torrents */
var limetorrents_url = "https://limetorrents.unblocked.pw";
/* url to use for extratorrent */
var extratorrent_url = "http://extratorrent.cc";
/* url to use for yts */
var yts_url = "https://yts.re";
/* url to use for thepiratebay */
var tpb_url = "https://thepiratebay.se";
/* url to use for nyaa */
var nyaa_url = "http://www.nyaa.se";
/* url to use for tokyotosho */
var tokyotosho_url = "https://www.tokyotosho.info";
/* what player you want peerflix to use */
var peerflix_player = "--vlc";
/* what arguments you want peerflix to use for the player */
var peerflix_player_args = "";
/* what port you want peerflix to use */
var peerflix_port = "--port=8888";
/* command to run peerflix (most of the time you can leave this) */
var peerflix_command = "peerflix";
/* do you want to fetch subtitles ? (true/false) */
var use_subtitle = "false";
/* subtitle language */
/* To find the abbriviation for your language go to the site below */
/* press ctrl + f enter your language and the abbriviation is the first row */
/* https://github.com/aetheon/node-opensubtitles-client/blob/master/langs.dump.txt */
var subtitle_language = "eng";
/* do you want to save the history ? (true/false) */
var history = "false";
/* where to save the history file */
/* ensure its in a writable directory */
/* you don't need to create the file torrentflix will do it just specify where you want it to go */
var history_location = './history.json';
/* if you want to show when the torrent was added where available (true/false) */
var date_added = 'false';


/*leave everything below */
var data_content = {};
var config_content = [];

module.exports = {
  getConfig: function() {
    data_content = {
      kickass_url: kickass_url,
      rarbg_url: rarbg_url,
      limetorrents_url: limetorrents_url,
      extratorrent_url: extratorrent_url,
      yts_url:yts_url,
      tpb_url: tpb_url,
      nyaa_url: nyaa_url,
      tokyotosho_url: tokyotosho_url,
      peerflix_player: peerflix_player,
      peerflix_player_args: peerflix_player_args,
      peerflix_port: peerflix_port,
      peerflix_command: peerflix_command,
      use_subtitle: use_subtitle,
      subtitle_language: subtitle_language,
      history: history,
      history_location: history_location,
      date_added:date_added
    };

    config_content.push(data_content);

    return config_content;
  }
};

/* note you can blank a url if you don't want torrentflix to ask you */
/* url to use for kickass torrents */
var kickass_url = "https://kickass.to";
/* url to use for rarbg */
var rarbg_url = "https://rarbg.com";
/* url to use for lime torrents */
var limetorrents_url = "http://limetorrents.cc";
/* url to use for extratorrent */
var extratorrent_url = "http://extratorrent.cc";
/* url to use for yts */
var yts_url = "https://yts.re";
/* url to use for thepiratebay */
var tpb_url = "https://thepiratebay.se";
/* url to use for nyaa */
var nyaa_url = "http://www.nyaa.se";
/* url to use for tokyotosho */
var tokyotosho_url = "https://www.tokyotosho.info";
/* what player you want peerflix to use */
var peerflix_player = "--vlc";
/* what arguments you want peerflix to use for the player */
var peerflix_player_args = "";
/* what port you want peerflix to use */
var peerflix_port = "--port=8888";
/* command to run peerflix (most of the time you can leave this) */
var peerflix_command = "peerflix";
/* do you want to fetch subtitles ? (true/false) */
var use_subtitle = "false";
/* subtitle language */
/* To find the abbriviation for your language go to the site below */
/* press ctrl + f enter your language and the abbriviation is the first row */
/* https://github.com/aetheon/node-opensubtitles-client/blob/master/langs.dump.txt */
var subtitle_language = "eng";
/* do you want to save the history ? (true/false) */
var history = "false";
/* where to save the history file */
/* ensure its in a writable directory */
/* you don't need to create the file torrentflix will do it just specify where you want it to go */
var history_location = './history.json';
/* if you want to show when the torrent was added where available (true/false) */
var date_added = 'false';


/*leave everything below */
var data_content = {};
var config_content = [];

module.exports = {
  getConfig: function() {
    data_content = {
      kickass_url: kickass_url,
      rarbg_url: rarbg_url,
      limetorrents_url: limetorrents_url,
      extratorrent_url: extratorrent_url,
      yts_url:yts_url,
      tpb_url: tpb_url,
      nyaa_url: nyaa_url,
      tokyotosho_url: tokyotosho_url,
      peerflix_player: peerflix_player,
      peerflix_player_args: peerflix_player_args,
      peerflix_port: peerflix_port,
      peerflix_command: peerflix_command,
      use_subtitle: use_subtitle,
      subtitle_language: subtitle_language,
      history: history,
      history_location: history_location,
      date_added:date_added
    };

    config_content.push(data_content);

    return config_content;
  }
};

remove limetorrents proxy