Merge pull request #694 from turley/fix-int-premiere

Fix syncing when Premiere attribute is an int
This commit is contained in:
mcarlton00 2022-11-21 18:14:45 -05:00 committed by GitHub
commit 97de18e5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ class Movies(KodiDb):
obj['Audio'] = API.audio_streams(obj['Audio'] or [])
obj['Streams'] = API.media_streams(obj['Video'], obj['Audio'], obj['Subtitles'])
if obj['Premiere'] is not None:
obj['Premiere'] = obj['Premiere'].split('T')[0]
obj['Premiere'] = str(obj['Premiere']).split('T')[0]
self.get_path_filename(obj)
self.trailer(obj)