config.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?
  2. ### Config
  3. $TV_PATH = '/mnt/media/TV'; # Root path for all TV series
  4. $MAX_AGE = 86400 * 90; # Consider a series "old" if it has not been updated for this many seconds
  5. $CACHE_AGE = 300;
  6. $CACHE_FILE = '/var/tmp/php/tv_web.cache';
  7. ### TVDB
  8. $ENABLE_TVDB = true; # Master enable/disable flag
  9. $TVDB_DELAY = 20; # Minimum delay between TVDB downloads
  10. $TVDB_DELAY_COUNT = 3; # Number of TVDB requests allowed without throttling
  11. $TVDB_TIMEOUT = 15; # Maximum load time for TVDB pages
  12. $TVDB_LANG_ID = 7; # Default language ID for TVDB URLs
  13. $TVDB_URL = 'http://thetvdb.com/?tab=series';
  14. ### App Config
  15. $EXISTS_FILES = array('no_quality_checks', 'more_number_formats', 'skip');
  16. $CONTENT_FILES = array('must_match', 'search_name', 'excludes', 'search_by_date');
  17. ### Login Config
  18. $LOGIN_PAGE = 'login';
  19. $MAIN_PAGE = '/tv/';
  20. ### PAM Config
  21. $PAM_SERVICE = 'tv_web';
  22. ### MyPlex Config
  23. $PLEX_PRODUCT = 'UberZach TV';
  24. $PLEX_VERSION = '0.1';
  25. $PLEX_ID = 'UberZach-TV-v' . $PLEX_VERSION;
  26. $PLEX_AUTH_URL = 'https://my.plexapp.com/users/sign_in.xml';
  27. $PLEX_SERVERS_URL = 'https://my.plexapp.com/pms/servers?auth_token=';
  28. # Import the secret (i.e. non-repo) config
  29. require_once('secrets.php');
  30. ?>