[8] fix original_language

pull/790/head
meisnate12 3 years ago
parent eee987d77a
commit f6bf9cd503

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

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

@ -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"

Loading…
Cancel
Save