Plex plugin to to play various online streams (mostly Latvian).

config.py 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # Plex Extension Framework
  3. # Copyright (C) 2008-2012 Plex, Inc. (James Clarke, Elan Feingold). All Rights Reserved.
  4. #
  5. """
  6. Defaults
  7. """
  8. default_locale = 'en-us'
  9. default_network_timeout = 20.0
  10. module_whitelist = ['re', 'string', 'datetime', 'time']
  11. """
  12. Framework config
  13. """
  14. default_interface = 'socket'
  15. log_level = 'Debug'
  16. console_logging = False
  17. enable_system_debugging = False
  18. root_path = None
  19. plugin_support_dir_name = None
  20. bundles_dir_name = None
  21. # These variables are only used when app_support_path is defined
  22. pid_files_dir = 'pid'
  23. log_files_dir = 'log'
  24. plugin_support_files_dir = 'support'
  25. bundle_files_dir = 'bundle'
  26. # These variables override the app support path + individual dir variables if set
  27. pid_file = None
  28. log_file = None
  29. log_internal_component_usage = False
  30. show_internal_traceback_frames = True
  31. enable_external_debugging = True
  32. messaging_keepalive_interval = 20
  33. messaging_timeout = 60
  34. taskpool_maximum_threads = 8
  35. taskpool_priority_threads = 2
  36. threadkit_parallel_limit = 4
  37. agentservice_update_limit = 3
  38. socket_interface_port = 0
  39. http_cache_max_items = 1024
  40. http_cache_max_items_grace = 100
  41. http_cache_max_size = 52428800
  42. flags = []
  43. ab_api_key = None
  44. cf_domain = None
  45. cf_token = None
  46. cf_rooms = {
  47. 'inc' : '211292',
  48. 'dev' : '213005',
  49. 'err' : '521743',
  50. 'test' : '442698',
  51. }
  52. """
  53. Platform config
  54. """
  55. system_bundle_name = 'System'
  56. system_bundle_identifier = 'com.plexapp.system'
  57. services_bundle_name = 'Services'
  58. services_bundle_identifier = 'com.plexapp.system.services'
  59. services_bundle_path = None
  60. framework_bundle_name = 'Framework'
  61. framework_bundle_identifier = 'com.plexapp.framework'
  62. use_node_for_url_lookups = False
  63. server_version = None
  64. daemonized = None
  65. os_map = {
  66. "Darwin" : "MacOSX",
  67. "Linux" : "Linux",
  68. "Windows" : "Windows",
  69. "FreeBSD" : "FreeBSD",
  70. "SunOS" : "SunOS",
  71. }
  72. cpu_map = {
  73. "i386" : "i386",
  74. "i686" : "i386",
  75. "x86_64" : "i386",
  76. "amd64" : "i386",
  77. "3548b0-smp" : "MIPS",
  78. "mips" : "MIPS",
  79. "mips64" : "mips64",
  80. "Win32" : "Win32",
  81. "armv5tel" : "armv5tel",
  82. "armv61" : "armv5tel",
  83. "armv5tejl" : "armv5tel",
  84. "armv6l" : "armv5tel",
  85. "armv7l" : "armv5tel",
  86. "ppc" : "ppc",
  87. "sun4v" : "sun4v",
  88. }