From 823c5f28b16575d9f2a26331daedf68ef857a910 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Wed, 3 Feb 2016 04:17:00 -0600 Subject: [PATCH] Adding additional logging During playlist creation --- resources/lib/playlist.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/lib/playlist.py b/resources/lib/playlist.py index c869f288..e353f8e7 100644 --- a/resources/lib/playlist.py +++ b/resources/lib/playlist.py @@ -44,7 +44,7 @@ class Playlist(): emby_db = embydb.Embydb_Functions(embycursor) self.logMsg("---*** PLAY ALL ***---", 1) - self.logMsg("Items: %s" % itemids) + self.logMsg("Items: %s and start at: %s" % (itemids, startat)) player = xbmc.Player() playlist = xbmc.PlayList(xbmc.PLAYLIST_VIDEO) @@ -62,6 +62,7 @@ class Playlist(): mediatype = embydb_item[4] except TypeError: # Item is not found in our database, add item manually + self.logMsg("Item was not found in the database, manually adding item.", 1) item = self.emby.getItem(itemid) self.addtoPlaylist_xbmc(playlist, item) else: @@ -78,6 +79,7 @@ class Playlist(): # Seek to the starting position seektime = startat / 10000000.0 player.seekTime(seektime) + self.logMsg("Seeking to: %s" % seektime, 1) self.verifyPlaylist() embycursor.close()