Skip to content

Commit

Permalink
Merge pull request #618 from 3flex/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Oct 16, 2024
2 parents 6f0129f + c5f7857 commit 50c6854
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 50c6854

Please sign in to comment.