Studios modification

Kodi only takes in one studio to display the studio logo. All of the
studios are still process, but only the first one will be added in the
movie table.
This commit is contained in:
angelblue05 2015-10-18 20:54:57 -05:00
parent 3588b8d89c
commit 069379ae59
1 changed files with 4 additions and 1 deletions

View File

@ -120,7 +120,10 @@ class WriteKodiVideoDB():
mpaa = API().getMpaa(MBitem) mpaa = API().getMpaa(MBitem)
genre = " / ".join(genres) genre = " / ".join(genres)
director = " / ".join(people.get('Director')) director = " / ".join(people.get('Director'))
studio = " / ".join(studios) try:
studio = studios[0]
except IndexError:
studio = None
country = API().getCountry(MBitem) country = API().getCountry(MBitem)
try: # Verify if there's a local trailer try: # Verify if there's a local trailer