mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Prevent crash missing productionlocations
seems to be a new server bug
This commit is contained in:
parent
2be47a1e4f
commit
11e5de378b
1 changed files with 2 additions and 1 deletions
|
@ -486,7 +486,8 @@ class Movies(Items):
|
||||||
kodicursor.execute(query, (pathid, filename, dateadded, fileid))
|
kodicursor.execute(query, (pathid, filename, dateadded, fileid))
|
||||||
|
|
||||||
# Process countries
|
# Process countries
|
||||||
self.kodi_db.addCountries(movieid, item['ProductionLocations'], "movie")
|
if 'ProductionLocations' in item:
|
||||||
|
self.kodi_db.addCountries(movieid, item['ProductionLocations'], "movie")
|
||||||
# Process cast
|
# Process cast
|
||||||
people = artwork.get_people_artwork(item['People'])
|
people = artwork.get_people_artwork(item['People'])
|
||||||
self.kodi_db.addPeople(movieid, people, "movie")
|
self.kodi_db.addPeople(movieid, people, "movie")
|
||||||
|
|
Loading…
Reference in a new issue