defaults.js 376 B

123456789101112131415161718
  1. 'use strict';
  2. const config = require('./config');
  3. class Defaults {
  4. constructor() {
  5. this.DOWNLOAD_DIR = config.get('saveLayout.root', 'Music');
  6. this.PLAYLIST_FILE_ITEMS = {};
  7. this.DOWNLOAD_LINKS_FILE = 'downloads.txt';
  8. this.DOWNLOAD_MODE = 'single';
  9. this.DOWNLOAD_QUALITY = 'MP3_320';
  10. }
  11. }
  12. const defaults = new Defaults();
  13. module.exports = defaults;