public PlexListenerService(PlexListenerConfig configuration)
 {
     _plexWebChecker = new PlexWebChecker(new Uri(string.Format("{0}/status/sessions",configuration.ServerUri)));
     
     Configuration = configuration;
     _timer = new Timer();
     _timer.Interval = 5000;
     _timer.AutoReset = true;
     _timer.Elapsed += OnTimerElapsed;
 }
        public PlexListenerService(PlexListenerConfig configuration)
        {
            _plexWebChecker = new PlexWebChecker(new Uri(string.Format("{0}/status/sessions", configuration.ServerUri)));

            Configuration    = configuration;
            _timer           = new Timer();
            _timer.Interval  = 5000;
            _timer.AutoReset = true;
            _timer.Elapsed  += OnTimerElapsed;
        }