mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-27 00:00:28 +00:00
Merge pull request #618 from 3flex/patch-1
This commit is contained in:
commit
50c6854675
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user