Fix too many arguments when marking 100% watched

This commit is contained in:
tomkat83 2017-05-08 19:33:54 +02:00
parent 2a8d288a5b
commit c37961c600

View file

@ -165,7 +165,7 @@ class Items(object):
'Mark item played at %s percent.' 'Mark item played at %s percent.'
% (item['ratingKey'], str(complete), MARK_PLAYED_AT), 1) % (item['ratingKey'], str(complete), MARK_PLAYED_AT), 1)
if complete >= MARK_PLAYED_AT: if complete >= MARK_PLAYED_AT:
log.info('Marking as completely watched in Kodi', 1) log.info('Marking as completely watched in Kodi')
sleep(500) sleep(500)
try: try:
item['viewCount'] += 1 item['viewCount'] += 1