Skip to content

Commit bfdd09e

Browse files
committed
Add more debugging for scrobble
1 parent 164943a commit bfdd09e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scrobbler.py

+6
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ def __scrobble(self, status):
257257
self.__scrobbleNotification(response)
258258
logger.debug("Scrobble response: %s" % str(response))
259259
return response
260+
else:
261+
logger.debug("Failed to scrobble movie: %s | %s | %s" % (self.curVideoInfo, watchedPercent, status))
260262

261263
elif utilities.isEpisode(self.curVideo['type']) and scrobbleEpisodeOption:
262264
if self.isMultiPartEpisode:
@@ -270,6 +272,10 @@ def __scrobble(self, status):
270272
self.__scrobbleNotification(response)
271273
logger.debug("Scrobble response: %s" % str(response))
272274
return response
275+
else:
276+
logger.debug("Failed to scrobble episode: %s | %s | %s | %s" % (self.traktShowSummary,
277+
self.curVideoInfo, watchedPercent,
278+
status))
273279

274280
def __scrobbleNotification(self, info):
275281
if not self.curVideoInfo:

0 commit comments

Comments
 (0)