Merge pull request #618 from 3flex/patch-1
Some checks are pending
Lint / Lint TS and CSS (push) Waiting to run
Publish / Build (push) Waiting to run
Publish / Publish (push) Blocked by required conditions
Publish / Deploy (push) Blocked by required conditions
Test / Jest (push) Waiting to run

This commit is contained in:
Bill Thornton 2024-10-16 18:20:33 -04:00 committed by GitHub
commit 50c6854675
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<ContainerProfile> {
return [];
}
/**
* Get response profiles
* @returns Response profiles.
*/
function getResponseProfiles(): Array<ResponseProfile> {
// 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;
}