Add checks for LMS Enabled or not, and act upon it

This commit is contained in:
NovaXeros
2014-04-08 02:03:53 +01:00
parent 3a00c7a79a
commit 856bed9337

View File

@@ -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: