Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.jellyfin.const Namespace Reference

Variables

dictionary CONTENT_TYPE_MAP
 
 Final
 
 LOGGER = logging.getLogger(__package__)
 
dictionary MEDIA_CLASS_MAP
 
list PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE, Platform.SENSOR]
 

Detailed Description

Constants for the Jellyfin integration.

Variable Documentation

◆ CONTENT_TYPE_MAP

dictionary homeassistant.components.jellyfin.const.CONTENT_TYPE_MAP
Initial value:
1 = {
2  "Audio": MediaType.MUSIC,
3  "Episode": MediaType.EPISODE,
4  "Season": MediaType.SEASON,
5  "Series": MediaType.TVSHOW,
6  "Movie": MediaType.MOVIE,
7  "CollectionFolder": "collection",
8  "AggregateFolder": "library",
9  "Folder": "library",
10  "BoxSet": "boxset",
11 }

Definition at line 62 of file const.py.

◆ Final

homeassistant.components.jellyfin.const.Final

Definition at line 9 of file const.py.

◆ LOGGER

homeassistant.components.jellyfin.const.LOGGER = logging.getLogger(__package__)

Definition at line 87 of file const.py.

◆ MEDIA_CLASS_MAP

dictionary homeassistant.components.jellyfin.const.MEDIA_CLASS_MAP
Initial value:
1 = {
2  "MusicAlbum": MediaClass.ALBUM,
3  "MusicArtist": MediaClass.ARTIST,
4  "Audio": MediaClass.MUSIC,
5  "Series": MediaClass.DIRECTORY,
6  "Movie": MediaClass.MOVIE,
7  "CollectionFolder": MediaClass.DIRECTORY,
8  "Folder": MediaClass.DIRECTORY,
9  "BoxSet": MediaClass.DIRECTORY,
10  "Episode": MediaClass.EPISODE,
11  "Season": MediaClass.SEASON,
12 }

Definition at line 73 of file const.py.

◆ PLATFORMS

list homeassistant.components.jellyfin.const.PLATFORMS = [Platform.MEDIA_PLAYER, Platform.REMOTE, Platform.SENSOR]

Definition at line 86 of file const.py.