[8] fix original_language

This commit is contained in:
meisnate12 2022-03-08 15:13:01 -05:00
parent eee987d77a
commit f6bf9cd503
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
docker-develop: docker-nightly:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -1 +1 @@
1.16.0-develop7 1.16.0-develop8

View file

@ -293,7 +293,7 @@ class MetadataFile(DataFile):
logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}") logger.ghost(f"Processing: {i}/{len(all_items)} {item.title}")
tmdb_id, tvdb_id, imdb_id = library.get_ids(item) tmdb_id, tvdb_id, imdb_id = library.get_ids(item)
tmdb_item = config.TMDb.get_item(item, tmdb_id, tvdb_id, imdb_id, is_movie=True) tmdb_item = config.TMDb.get_item(item, tmdb_id, tvdb_id, imdb_id, is_movie=True)
if tmdb_item and tmdb_item.original_language and tmdb_item.original_language.iso_639_1 not in exclude and tmdb_item.collection.english_name not in exclude: if tmdb_item and tmdb_item.original_language and tmdb_item.original_language.iso_639_1 not in exclude and tmdb_item.original_language.english_name not in exclude:
auto_list[tmdb_item.collection.iso_639_1] = tmdb_item.collection.english_name auto_list[tmdb_item.collection.iso_639_1] = tmdb_item.collection.english_name
logger.exorcise() logger.exorcise()
default_title_format = "<<title>> <<library_type>>s" default_title_format = "<<title>> <<library_type>>s"