mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: support private instances of mediafusion through MEDIAFUSION_API_PASSWORD env
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user