Now a plex ip address is dynamically passed into the plexrepository, fetched from the config

This commit is contained in:
2019-06-04 23:45:22 +02:00
parent 70f6497404
commit e3ed08e8dd
4 changed files with 11 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
const PlexRepository = require('src/plex/plexRepository');
const configuration = require('src/config/configuration').getInstance();
const plexRepository = new PlexRepository();
const plexRepository = new PlexRepository(onfiguration.get('plex', 'ip'));
/**
* Controller: Search for media and check existence