Releases: rlaphoenix/nfog
Releases · rlaphoenix/nfog
v1.1.0
Breaking Template Changes
Accessing TMDB ID
If you used tmdb
to list the TMDB ID anywhere, you need to update it from {self.tmdb}
to
{self.tmdb.id}
and manually put tv/
or movie/
before it for the same behavior as before.
Make sure to still check that self.tmdb
is available before using it.
For example:
if self.tmdb:
- self._nfo.append(f" TMDB : https://themoviedb.org/{self.tmdb}")
+ self._nfo.append(f" TMDB : https://themoviedb.org/tv/{self.tmdb.id}")
See 0350498.
Added
- TMDB IDs are now transformed to an API Instance Object using
tmdbsimple
. This can be used to
get title information from TMDB instead of IMDb if you prefer.
Note: This requires a TMDB API v3 key in your config atapi-keys.tmdb
. - Default
nfo generate
arguments can now be specified in the config atcli.generate
. This can
be useful for example to set a default Artwork unless manually specified. - Created four Track classes, BaseTrack, Video, Audio, and Subtitle. All MediaInfo track property
modification and filtering is to be done within it to keep Template clean. - MPEG-1/2 videos now use
pyd2v
andDGIndex
to check for accurate Variable Scan Type data in
theVideo.scan
property.
Removed
- Removed all forms of filtering and checks from track titles. It is now returned as-is.
Templates now assume it does not contain information already specified in the track metadata.
Changed
- IMDb ID has been made optional in
generate
to accommodate the implementation of TMDB as a usable
API Object in templates. However, at least an IMDb or TMDB ID is still required. - All Track-related filtering and functions have been moved to the new Track classes.
- Template's
get_banner_image
function now returns None if there's no https://fanart.tv API Key
within the user's config. - The config format for API Keys has changed, the https://fanart.tv API Key is now stored at
api-keys.fanart-tv
.
Example templates: https://github.com/rlaphoenix/nfog/tree/v1.1.0/examples