This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
0.5.0 - 2021-08-22
Added
- (dependencies) Added
flake8
,mypy
,types-requests
andisort
to dev-dependencies. - (nfo) The get_banner_image method now returns banners in the same language of the primary audio track.
- (nfo) The chapter_entries scripting variable now shows the timecode to the left of the Chapter Name/Title.
- (examples) Added example output NFO and Description TXT generated by
nfo generate
.
Changed
- (pycharm) Disabled the AttributeOutsideInit Inspection. This is to follow a more modern approach of type-hinting
in the init function, instead of out-right initializing it with a value it probably doesn't need nor want. - (nfo) get_database_ids method has been replaced with separate methods for each database ID. The new methods and
code are more optimized too, with tightened checks on the ID values provided either by the user or the file metadata. - (nfo) Replaced the uses of the scrape function from helpers with a new
requests
session which is stored in the NFO
class directly. - (nfo) The chapters attribute value is now a Dict with the key being the chapter timecode and the value being the
chapter name/title.
Fixed
- (nfo) The chapters_numbered check now checks case-insensitively.
- (nfo) The get_banner_image method now correctly returns banner URLs in expected languages.
- (examples) Removed typo
%
from the end of the if check syntax in templates near the chapter_entries variable. - (examples) Fixed the list->indented newline-separated paragraph conversion on the chapters_entries variable.
- (examples) Removed unnecessary trailing whitespace from some artwork and templates.
Removed
- (dependencies) Dropped support for Python 3.6.0 due to bugs in it. Python 3.6.1 and above is still supported.