Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop adding response profile to device profile #618

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions src/components/deviceprofileBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type {
DeviceProfile,
DirectPlayProfile,
ProfileCondition,
ResponseProfile,
SubtitleProfile,
TranscodingProfile
} from '@jellyfin/sdk/lib/generated-client';
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -422,7 +406,6 @@ export function getDeviceProfile(options: ProfileOptions): DeviceProfile {
profile.ContainerProfiles = getContainerProfiles();
profile.CodecProfiles = getCodecProfiles();
profile.SubtitleProfiles = getSubtitleProfiles();
profile.ResponseProfiles = getResponseProfiles();

return profile;
}
Expand Down