Skip to main content

AppMovie

ClassDataClassSource

AppMovie(
id: int,
name: str,
thumbnail: str,
dash_av1: str | None = None,
dash_h264: str | None = None,
hls_h264: str | None = None,
highlight: bool = False
)

The information of an app release trailer movie.

Fields​

NameTypeRequired
Description
idintThe ID of the movie. It is maintained in the whole store scope.
namestrThe name of the video.
thumbnailstrThe url to the thumbnail screenshot.
dash_av1str | NoneThe url to the Dash AV1 stream.
dash_h264str | NoneThe url to the Dash H264 stream.
hls_h264str | NoneThe url to the HLS H264 (m3u8) stream.
highlightboolWhether the movie will be displayed in highlights.

Methods​

get_thumbnail​

v_1: Image | None = self.get_thumbnail()

Download the thumbnail image by its url.

Returns​

NameType
Description
v_1Image | NoneGet the thumbnail image object if it exists.