py_now_playing.dataclasses.media_info ===================================== .. py:module:: py_now_playing.dataclasses.media_info .. autoapi-nested-parse:: This module defines the MediaInfo class, which holds information about the currently playing media. Classes ------- .. autoapisummary:: py_now_playing.dataclasses.media_info.MediaInfo Module Contents --------------- .. py:class:: MediaInfo Media Information Class This class holds details about the currently playing media, including artist, title, album information, track number, genres, playback type, and thumbnail image. Attributes: artist: Name of the artist title: Title of the media album_title: Title of the album album_artist: Artist of the album album_track_count: Number of tracks in the album track_number: Track number in the album genres: List of genres associated with the media playback_type: Type of playback (e.g., music, video) thumbnail: Thumbnail image of the media .. py:attribute:: artist :type: str | None :value: None .. py:attribute:: title :type: str | None :value: None .. py:attribute:: album_title :type: str | None :value: None .. py:attribute:: album_artist :type: str | None :value: None .. py:attribute:: album_track_count :type: int | None :value: None .. py:attribute:: track_number :type: int | None :value: None .. py:attribute:: genres :type: list | None :value: None .. py:attribute:: playback_type :type: str | None :value: None .. py:attribute:: thumbnail :type: PIL.Image.Image | None :value: None