fix: always use native device profile

This commit is contained in:
Fredrik Burmester
2024-10-15 13:08:03 +02:00
parent 9e5aa16a7d
commit ac9bcbcb9f
6 changed files with 100 additions and 333 deletions

View File

@@ -98,18 +98,10 @@ export const DownloadItem: React.FC<DownloadProps> = ({ item, ...props }) => {
);
}
let deviceProfile: any = iosFmp4;
if (settings?.deviceProfile === "Native") {
deviceProfile = native;
} else if (settings?.deviceProfile === "Old") {
deviceProfile = old;
}
const response = await api.axiosInstance.post(
`${api.basePath}/Items/${item.Id}/PlaybackInfo`,
{
DeviceProfile: deviceProfile,
DeviceProfile: native,
UserId: user.Id,
MaxStreamingBitrate: maxBitrate.value,
StartTimeTicks: 0,