base ¶
Classes:
-
DVDExtIndexer
– -
DVDIndexer
– -
ExternalIndexer
– -
Indexer
–Abstract indexer interface.
-
VSSourceFunc
–
DVDExtIndexer ¶
DVDExtIndexer(
*,
bin_path: SPathLike | MissingT = MISSING,
ext: str | MissingT = MISSING,
force: bool = True,
default_out_folder: SPathLike | Literal[False] | None = None,
**kwargs: Any
)
Bases: ExternalIndexer
, DVDIndexer
Methods:
-
file_corrupted
– -
get_cmd
–Returns the indexer command
-
get_idx_file_path
– -
get_info
–Returns info about the indexing file
-
get_joined_names
– -
get_out_folder
– -
get_video_idx_path
– -
get_videos_hash
– -
index
– -
normalize_filenames
– -
parse_vts
– -
source
– -
source_func
– -
update_video_filenames
–
Attributes:
-
bin_path
– -
default_out_folder
– -
ext
– -
force
– -
indexer_kwargs
– -
iso_path
(SPath
) –
Source code
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
|
file_corrupted ¶
file_corrupted(index_path: SPath) -> None
Source code
223 224 225 226 227 228 229 230 |
|
get_cmd abstractmethod
¶
Returns the indexer command
Source code
158 159 160 161 162 163 |
|
get_idx_file_path ¶
get_idx_file_path(path: SPath) -> SPath
Source code
220 221 |
|
get_info abstractmethod
¶
get_info(index_path: SPath, file_idx: int = 0) -> IndexFileType
Returns info about the indexing file
Source code
165 166 167 168 169 170 |
|
get_joined_names classmethod
¶
Source code
62 63 64 |
|
get_out_folder ¶
get_out_folder(
output_folder: SPathLike | Literal[False] | None = None,
file: SPath | None = None,
) -> SPath
Source code
209 210 211 212 213 214 215 216 217 218 |
|
get_video_idx_path ¶
get_video_idx_path(
folder: SPath, file_hash: str, video_name: SPathLike
) -> SPath
Source code
278 279 280 281 282 283 |
|
get_videos_hash classmethod
¶
Source code
66 67 68 69 70 |
|
index ¶
index(
files: Sequence[SPath],
force: bool = False,
split_files: bool = False,
output_folder: SPathLike | Literal[False] | None = None,
*cmd_args: str
) -> list[SPath]
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
|
normalize_filenames classmethod
¶
Source code
76 77 78 79 80 81 82 83 84 85 86 |
|
parse_vts ¶
parse_vts(
title: IFO0Title,
disable_rff: bool,
vobidcellids_to_take: list[tuple[int, int]],
target_vts: IFOX,
output_folder: SPath,
vob_input_files: Sequence[SPath],
) -> tuple[VideoNode, list[int], list[tuple[int, int]], list[int]]
Source code
316 317 318 319 320 321 322 323 324 325 |
|
source ¶
source(
file: SPathLike | Sequence[SPathLike],
bits: int | None = None,
*,
matrix: MatrixT | None = None,
transfer: TransferT | None = None,
primaries: PrimariesT | None = None,
chroma_location: ChromaLocationT | None = None,
color_range: ColorRangeT | None = None,
field_based: FieldBasedT | None = None,
**kwargs: Any
) -> VideoNode
Source code
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
|
source_func classmethod
¶
Source code
72 73 74 |
|
DVDIndexer ¶
Methods:
Attributes:
-
iso_path
(SPath
) –
parse_vts ¶
parse_vts(
title: IFO0Title,
disable_rff: bool,
vobidcellids_to_take: list[tuple[int, int]],
target_vts: IFOX,
output_folder: SPath,
vob_input_files: Sequence[SPath],
) -> tuple[VideoNode, list[int], list[tuple[int, int]], list[int]]
Source code
316 317 318 319 320 321 322 323 324 325 |
|
ExternalIndexer ¶
ExternalIndexer(
*,
bin_path: SPathLike | MissingT = MISSING,
ext: str | MissingT = MISSING,
force: bool = True,
default_out_folder: SPathLike | Literal[False] | None = None,
**kwargs: Any
)
Bases: Indexer
Methods:
-
file_corrupted
– -
get_cmd
–Returns the indexer command
-
get_idx_file_path
– -
get_info
–Returns info about the indexing file
-
get_joined_names
– -
get_out_folder
– -
get_video_idx_path
– -
get_videos_hash
– -
index
– -
normalize_filenames
– -
source
– -
source_func
– -
update_video_filenames
–
Attributes:
-
bin_path
– -
default_out_folder
– -
ext
– -
force
– -
indexer_kwargs
–
Source code
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
|
file_corrupted ¶
file_corrupted(index_path: SPath) -> None
Source code
223 224 225 226 227 228 229 230 |
|
get_cmd abstractmethod
¶
Returns the indexer command
Source code
158 159 160 161 162 163 |
|
get_idx_file_path ¶
get_idx_file_path(path: SPath) -> SPath
Source code
220 221 |
|
get_info abstractmethod
¶
get_info(index_path: SPath, file_idx: int = 0) -> IndexFileType
Returns info about the indexing file
Source code
165 166 167 168 169 170 |
|
get_joined_names classmethod
¶
Source code
62 63 64 |
|
get_out_folder ¶
get_out_folder(
output_folder: SPathLike | Literal[False] | None = None,
file: SPath | None = None,
) -> SPath
Source code
209 210 211 212 213 214 215 216 217 218 |
|
get_video_idx_path ¶
get_video_idx_path(
folder: SPath, file_hash: str, video_name: SPathLike
) -> SPath
Source code
278 279 280 281 282 283 |
|
get_videos_hash classmethod
¶
Source code
66 67 68 69 70 |
|
index ¶
index(
files: Sequence[SPath],
force: bool = False,
split_files: bool = False,
output_folder: SPathLike | Literal[False] | None = None,
*cmd_args: str
) -> list[SPath]
Source code
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
|
normalize_filenames classmethod
¶
Source code
76 77 78 79 80 81 82 83 84 85 86 |
|
source ¶
source(
file: SPathLike | Sequence[SPathLike],
bits: int | None = None,
*,
matrix: MatrixT | None = None,
transfer: TransferT | None = None,
primaries: PrimariesT | None = None,
chroma_location: ChromaLocationT | None = None,
color_range: ColorRangeT | None = None,
field_based: FieldBasedT | None = None,
**kwargs: Any
) -> VideoNode
Source code
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 |
|
source_func classmethod
¶
Source code
72 73 74 |
|
Indexer ¶
Bases: ABC
Abstract indexer interface.
Methods:
Attributes:
-
force
– -
indexer_kwargs
–
Source code
52 53 54 55 56 |
|
get_joined_names classmethod
¶
Source code
62 63 64 |
|
get_videos_hash classmethod
¶
Source code
66 67 68 69 70 |
|
normalize_filenames classmethod
¶
Source code
76 77 78 79 80 81 82 83 84 85 86 |
|
source ¶
source(
file: SPathLike | Sequence[SPathLike],
bits: int | None = None,
*,
matrix: MatrixT | None = None,
transfer: TransferT | None = None,
primaries: PrimariesT | None = None,
chroma_location: ChromaLocationT | None = None,
color_range: ColorRangeT | None = None,
field_based: FieldBasedT | None = None,
**kwargs: Any
) -> VideoNode
Source code
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
|