Skip to content

Commit

Permalink
Stop adding response profile to device profile
Browse files Browse the repository at this point in the history
ResponseProfile is no longer part of the Jellyfin API
  • Loading branch information
3flex authored Oct 16, 2024
1 parent 6f0129f commit c5f7857
Showing 1 changed file with 0 additions and 17 deletions.
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

0 comments on commit c5f7857

Please sign in to comment.