DeviceProfile
A MediaBrowser.Model.Dlna.DeviceProfile represents a set of metadata which determines which content a certain device is able to play.
Specifically, it defines the supported
Properties
Name | Type | Description | Notes |
---|---|---|---|
name | str | Gets or sets the name of this device profile. User profiles must have a unique name. | [optional] |
id | str | Gets or sets the unique internal identifier. | [optional] |
max_streaming_bitrate | int | Gets or sets the maximum allowed bitrate for all streamed content. | [optional] |
max_static_bitrate | int | Gets or sets the maximum allowed bitrate for statically streamed content (= direct played files). | [optional] |
music_streaming_transcoding_bitrate | int | Gets or sets the maximum allowed bitrate for transcoded music streams. | [optional] |
max_static_music_bitrate | int | Gets or sets the maximum allowed bitrate for statically streamed (= direct played) music files. | [optional] |
direct_play_profiles | List[DirectPlayProfile] | Gets or sets the direct play profiles. | [optional] |
transcoding_profiles | List[TranscodingProfile] | Gets or sets the transcoding profiles. | [optional] |
container_profiles | List[ContainerProfile] | Gets or sets the container profiles. Failing to meet these optional conditions causes transcoding to occur. | [optional] |
codec_profiles | List[CodecProfile] | Gets or sets the codec profiles. | [optional] |
subtitle_profiles | List[SubtitleProfile] | Gets or sets the subtitle profiles. | [optional] |
Example
from jellyfin.generated.api_10_10.models.device_profile import DeviceProfile
# TODO update the JSON string below
json = "{}"
# create an instance of DeviceProfile from a JSON string
device_profile_instance = DeviceProfile.from_json(json)
# print the JSON string representation of the object
print(DeviceProfile.to_json())
# convert the object into a dict
device_profile_dict = device_profile_instance.to_dict()
# create an instance of DeviceProfile from a dict
device_profile_from_dict = DeviceProfile.from_dict(device_profile_dict)