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['Audio'] = API.audio_streams(obj['Audio'] or [])
obj['Streams'] = API.media_streams(obj['Video'], obj['Audio'], obj['Subtitles']) obj['Streams'] = API.media_streams(obj['Video'], obj['Audio'], obj['Subtitles'])
if obj['Premiere'] is not None: 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.get_path_filename(obj)
self.trailer(obj) self.trailer(obj)