2023-10-12 12:33:26 +01:00
|
|
|
import { loadJSON } from "./sub/loadFromFs.js";
|
|
|
|
const config = loadJSON("./src/config.json");
|
|
|
|
const packageJson = loadJSON("./package.json");
|
|
|
|
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
|
|
|
version = packageJson.version,
|
|
|
|
streamLifespan = config.streamLifespan,
|
|
|
|
maxVideoDuration = config.maxVideoDuration,
|
|
|
|
genericUserAgent = config.genericUserAgent,
|
|
|
|
repo = packageJson["bugs"]["url"].replace('/issues', ''),
|
|
|
|
authorInfo = config.authorInfo,
|
|
|
|
donations = config.donations,
|
|
|
|
ffmpegArgs = config.ffmpegArgs,
|
2022-10-27 17:27:20 +01:00
|
|
|
supportedAudio = config.supportedAudio,
|
2023-05-18 18:05:29 +01:00
|
|
|
celebrations = config.celebrations,
|
2023-10-12 12:33:26 +01:00
|
|
|
links = config.links,
|
|
|
|
sponsors = config.sponsors
|