From 856bed9337c1b2a21bcff0f72e0a75f3c9216e60 Mon Sep 17 00:00:00 2001 From: NovaXeros Date: Tue, 8 Apr 2014 02:03:53 +0100 Subject: [PATCH] Add checks for LMS Enabled or not, and act upon it --- headphones/postprocessor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/headphones/postprocessor.py b/headphones/postprocessor.py index 492b69c0..6d1b037a 100644 --- a/headphones/postprocessor.py +++ b/headphones/postprocessor.py @@ -419,7 +419,11 @@ def doPostProcessing(albumid, albumpath, release, tracks, downloaded_track_list, xbmc.update() if headphones.XBMC_NOTIFY: xbmc.notify(release['ArtistName'], release['AlbumTitle'], album_art_path) - + + if headphones.LMS_ENABLED: + lms = notifiers.LMS() + lms.update() + if headphones.PLEX_ENABLED: plex = notifiers.Plex() if headphones.PLEX_UPDATE: