docs: def media_type(self):
          """Type of media is currently playing, e.g. video, music."""
          state = parser.first(self.playstatus, 'cmst', 'caps')
          if not state:
              return const.MEDIA_TYPE_UNKNOWN
  
          mediakind = parser.first(self.playstatus, 'cmst', 'cmmk')
          if mediakind is not None:
              return convert.media_kind(mediakind)
  
          # Fallback: if artist or album exists we assume music (not present
          # for video)
          if self.artist or self.album:
              return const.MEDIA_TYPE_MUSIC
  
          return const.MEDIA_TYPE_VIDEO