(Bug) Music Library: ALAC with high bitrates
I have some m4a files encoded in Apple lossless whose bitrate is higher than 1000Kbps. They do not play (my server has transcoding disabled), and I suspect that if transcoding was enabled (I can't do that, my Syno has an ARM processor and transcoding cannot be enabled) they would play with reduced quality.
XMLConverter.py has the following code:
maxAudioBitrateUncompressed = '1000' audioATVNative = \ Media.get('audioCodec','-') in ("mp3", "aac", "ac3", "drms") and \ int(Media.get('bitrate','0')) <= int(maxAudioBitrateCompressed) \ or \ Media.get('audioCodec','-') in ("alac", "aiff", "wav") and \ int(Media.get('bitrate','0')) <= int(maxAudioBitrateUncompressed)
The fact is that, if I change maxAudioBitrateUncompressed to 2000 all goes well. But looking at ATV3 specs I don't see the need to have a check for maxAudioBitrateUncompressed at all
HE-AAC (V1), AAC (16 to 320 Kbps), protected AAC (from iTunes Store), MP3 (16 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, and 4), Apple Lossless, AIFF, and WAV; Dolby Digital 5.1 surround sound pass-through
Can we have that check removed ? Or maxAudioBitrateUncompressed value increased to at least 2000Kbps ?