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