timespan ¶
Classes:
Attributes:
Region ¶
Bases: CustomEnum
Methods:
-
from_framerate– -
from_param–Return the enum value from a parameter.
-
vts_framerate–
Attributes:
Source code in vssource/formats/dvd/parsedvd/timespan.py
51 52 53 54 | |
from_framerate classmethod ¶
Source code in vssource/formats/dvd/parsedvd/timespan.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 | |
from_param classmethod ¶
from_param(value: Any, func_except: FuncExcept | None = None) -> Self
Return the enum value from a parameter.
Parameters:
-
(value¶Any) –Value to instantiate the enum class.
-
(func_except¶FuncExcept | None, default:None) –Exception function.
Returns:
-
Self–Enum value.
Raises:
-
NotFoundEnumValue–Variable not found in the given enum.
Source code in jetpytools/enums/base.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
TimeSpan dataclass ¶
Methods:
Attributes:
Source code in vssource/formats/dvd/parsedvd/timespan.py
22 23 24 25 26 27 28 29 30 31 32 33 34 | |
bcd_to_int staticmethod ¶
Source code in vssource/formats/dvd/parsedvd/timespan.py
36 37 38 | |