tmdb
TMDBOrder
Bases: IntEnum
TMDB Episode groups or orders. Don't think there is a universally agreed on name.
This enum is for automatically selecting one with the given type.
Source code in muxtools/muxing/tmdb.py
ABSOLUTE = 2
class-attribute
instance-attribute
Absolute numbering order
DIGITAL = 4
class-attribute
instance-attribute
Digital order
DVD = 3
class-attribute
instance-attribute
DVD order
ORIGINAL_AIR_DATE = 1
class-attribute
instance-attribute
Original air date order
PRODUCTION = 6
class-attribute
instance-attribute
Production order, this is usually what contains the proper seasons now that TMDB mods decided to be weird.
See https://www.themoviedb.org/tv/95479/discuss/64a5672ada10f0011cb49f99
STORY_ARC = 5
class-attribute
instance-attribute
Story Arc order
TV = 7
class-attribute
instance-attribute
TV order
TmdbConfig
dataclass
A simple configuration class for TMDB Usage in muxing.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id
|
int
|
TMDB Media ID. The numerical part in URLs like https://www.themoviedb.org/tv/82684/... |
required |
season
|
int
|
The number of the season. If given an order this will be the Nth subgroup in that order. |
1
|
movie
|
bool
|
Is this a movie? |
False
|
order
|
TMDBOrder | str | None
|
Episode group/order enum or a string for an exact ID. Obviously not applicable to a movie. |
None
|
language
|
str
|
The metadata language. Defaults to english. This requires ISO 639-1 codes. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes Be aware that some metadata might just not exist in your requested language. Check beforehand. |
'en-US'
|
offset
|
int
|
Offset to apply to the current number used in the setup that will be matched to the TMDB number. |
0
|
write_title
|
bool
|
Writes the episode title to the |
False
|
write_ids
|
bool
|
Writes the IDs (IMDB, TVDB, TMDB) to their respective mkv tags if True |
True
|
write_date
|
bool
|
Writes the episode release date to the |
True
|
write_cover
|
bool
|
Download episode thumbnail from TMDB to use as cover art attachment for the MKV. |
False
|
write_summary
|
bool
|
Writes the series summary/synopsis to the |
False
|
write_synopsis
|
bool
|
Writes the individual episode synopsis to the |
False
|
Source code in muxtools/muxing/tmdb.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
|
TitleTMDB(id, season=1, movie=False, language='en-US', offset=0, order=None)
Shortcut function to get a TMDB config with just titles enabled.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id
|
int
|
TMDB Media ID. The numerical part in URLs like https://www.themoviedb.org/tv/82684/... |
required |
season
|
int
|
The number of the season. If given an order this will be the Nth subgroup in that order. |
1
|
movie
|
bool
|
Is this a movie? |
False
|
order
|
TMDBOrder | str | None
|
Episode group/order enum or a string for an exact ID. Obviously not applicable to a movie. |
None
|
language
|
str
|
The metadata language. Defaults to english. This requires ISO 639-1 codes. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes Be aware that some metadata might just not exist in your requested language. Check beforehand. |
'en-US'
|
offset
|
int
|
Offset to apply to the current number used in the setup that will be matched to the TMDB number. |
0
|