Fix PKC resume points set way too high

- Fixes #49
This commit is contained in:
tomkat83 2016-06-04 16:04:25 +02:00
parent 523a2eaf61
commit e9f7c49587

View file

@ -1526,7 +1526,7 @@ class LibrarySync(Thread):
'kodi_id': kodiInfo[0], 'kodi_id': kodiInfo[0],
'file_id': kodiInfo[1], 'file_id': kodiInfo[1],
'kodi_type': kodiInfo[4], 'kodi_type': kodiInfo[4],
'viewOffset': item.get('viewOffset'), 'viewOffset': item.get('viewOffset') / 1000,
'state': state, 'state': state,
'duration': currSess['duration'], 'duration': currSess['duration'],
'viewCount': currSess['viewCount'], 'viewCount': currSess['viewCount'],