diff --git a/src/components/deviceprofileBuilder.ts b/src/components/deviceprofileBuilder.ts index faab4a8b..5c61b9cd 100644 --- a/src/components/deviceprofileBuilder.ts +++ b/src/components/deviceprofileBuilder.ts @@ -4,7 +4,6 @@ import type { DeviceProfile, DirectPlayProfile, ProfileCondition, - ResponseProfile, SubtitleProfile, TranscodingProfile } from '@jellyfin/sdk/lib/generated-client'; @@ -73,21 +72,6 @@ function getContainerProfiles(): Array { return []; } -/** - * Get response profiles - * @returns Response profiles. - */ -function getResponseProfiles(): Array { - // This seems related to DLNA, it might not be needed? - return [ - { - Container: 'm4v', - MimeType: 'video/mp4', - Type: DlnaProfileType.Video - } - ]; -} - /** * Get direct play profiles * @returns Direct play profiles. @@ -422,7 +406,6 @@ export function getDeviceProfile(options: ProfileOptions): DeviceProfile { profile.ContainerProfiles = getContainerProfiles(); profile.CodecProfiles = getCodecProfiles(); profile.SubtitleProfiles = getSubtitleProfiles(); - profile.ResponseProfiles = getResponseProfiles(); return profile; }