2022-07-17 12:21:51 +01:00
|
|
|
import loadJson from "./sub/loadJSON.js";
|
2022-07-17 12:08:49 +01:00
|
|
|
const config = loadJson("./src/config.json");
|
2022-07-28 17:03:17 +01:00
|
|
|
const packageJson = loadJson("./package.json");
|
2022-10-09 18:44:00 +01:00
|
|
|
const servicesConfigJson = loadJson("./src/modules/processing/servicesConfig.json");
|
2022-07-17 12:08:49 +01:00
|
|
|
|
|
|
|
export const
|
2022-08-23 15:43:56 +01:00
|
|
|
services = servicesConfigJson.config,
|
|
|
|
audioIgnore = servicesConfigJson.audioIgnore,
|
2022-08-16 08:14:19 +01:00
|
|
|
appName = packageJson.name,
|
|
|
|
version = packageJson.version,
|
|
|
|
streamLifespan = config.streamLifespan,
|
|
|
|
maxVideoDuration = config.maxVideoDuration,
|
2022-08-22 15:10:54 +01:00
|
|
|
maxAudioDuration = config.maxAudioDuration,
|
2022-08-16 08:14:19 +01:00
|
|
|
genericUserAgent = config.genericUserAgent,
|
|
|
|
repo = packageJson["bugs"]["url"].replace('/issues', ''),
|
|
|
|
authorInfo = config.authorInfo,
|
|
|
|
supportedLanguages = config.supportedLanguages,
|
|
|
|
quality = config.quality,
|
|
|
|
internetExplorerRedirect = config.internetExplorerRedirect,
|
|
|
|
donations = config.donations,
|
|
|
|
ffmpegArgs = config.ffmpegArgs,
|
|
|
|
supportedAudio = config.supportedAudio
|