Fix too many arguments when marking 100% watched
This commit is contained in:
parent
2a8d288a5b
commit
c37961c600
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue