fix: support private instances of mediafusion through MEDIAFUSION_API_PASSWORD env

This commit is contained in:
Viren070
2025-01-17 15:42:37 +00:00
parent dcb0353f92
commit b348d21994
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -19,6 +19,8 @@ export class Settings {
process.env.COMET_URL ?? 'https://comet.elfhosted.com/';
public static readonly MEDIAFUSION_URL =
process.env.MEDIAFUSION_URL ?? 'https://mediafusion.elfhosted.com/';
public static readonly MEDIAFUSION_API_PASSWORD =
process.env.MEDIAFUSION_API_PASSWORD ?? '';
public static readonly TORRENTIO_URL =
process.env.TORRENTIO_URL ?? 'https://torrentio.strem.fun/';
public static readonly TORBOX_STREMIO_URL =
+1 -1
View File
@@ -332,7 +332,7 @@ const getMediaFusionConfig = (
'CAM/Screener',
'Unknown',
],
api_password: null,
api_password: Settings.MEDIAFUSION_API_PASSWORD || null,
mediaflow_config: null,
rpdb_config: null,
live_search_streams: false,