(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 ?
QNAP TS-253A 4G QTS 4.3.4.0387 (beta2) + PMS 18.104.22.16860 (plex pass) + QPython2 22.214.171.124 + PlexConnect 0.5-dev-161017
TV Sony KDL-32V2500 (720p) + aTV3 Rev. A firmware 7.2.2 + Denon AVR-1604 A/V Receiver 5.1 + Harmony Touch
Portables 1x iPad4, 2x Android phone, 1x Android tablet, 2x PMP on Win10
No support via PM unless requested by me