Fix ValueError: invalid literal for int() with base 10 during show sync

This commit is contained in:
croneter 2020-09-19 14:40:00 +02:00
parent 096046347b
commit 06cc2b6cde

View file

@ -42,7 +42,7 @@ class FillMetadataQueue(common.LibrarySyncMixin,
checksum = int('{}{}'.format( checksum = int('{}{}'.format(
plex_id, plex_id,
xml.get('updatedAt', xml.get('updatedAt',
xml.get('addedAt', '1541572987')))) xml.get('addedAt', '1541572987')).replace('-', '')))
if (not self.repair and if (not self.repair and
plexdb.checksum(plex_id, section.plex_type) == checksum): plexdb.checksum(plex_id, section.plex_type) == checksum):
continue continue