Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Download lossless music get err 21

I got err 21 when Downloading lossless music but is fine if I switch lossless music off? Any idea how to fix it?

MacBook Pro 15″, macOS 11.6

Posted on Nov 28, 2021 10:38 PM

Reply
4 replies

Nov 29, 2021 5:03 PM in response to donald122

Hello donald122,


Thank you for reaching out to Apple Support Communities, and we'll be happy to help in any way we can. We understand you're having issues with error 21 when trying tp play lossless audio in Apple Music. Check out this link for information about what is required to use lossless audio in Apple Music: About lossless audio in Apple Music


We hope this helps.


Cheers!

Dec 3, 2021 9:58 PM in response to donald122

Here is the error log. The music library is shared over SMB, it works fine if the music library is local. Is it a bug that it doesn't work over SMB. Any idea how can I make it work?


2021-12-04 18:35:07.566077+1300  localhost Music[7298]: [com.apple.amp.core:assertions] Assertion failure: (!inContainerAdamID.IsEmpty())
2021-12-04 18:35:07.567501+1300  localhost Music[7298]: [com.apple.Music:dm] download disabling system sleep
2021-12-04 18:35:07.567782+1300  localhost Music[7298]: [com.apple.amp.core:powermanagement] pm) sys-prevent      1 1 'download'
2021-12-04 18:35:07.567849+1300  localhost Music[7298]: [com.apple.Music:clouddownloadhelper] SendRedownloadIfNecessary(1)
2021-12-04 18:35:07.571750+1300  localhost Music[7298]: [com.apple.amp.core:assertions] Assertion failure: err == (-43)
2021-12-04 18:35:07.734630+1300  localhost Music[7298]: [com.apple.Music:dm] HLS download starting, destination: file:///Volumes/nas/media/Downloads-Music/%E5%98%89%E5%AE%BE%20_%20%E5%98%89%E5%AE%BE%20-%20Single%20_%20%E5%BC%A0%E
8%BF%9C.tmp/download.movpkg
2021-12-04 18:35:23.240194+1300  localhost Music[7298]: [com.apple.amp:clientcommandprocessor] Starting executing (kDevicesChanged command. ccp:AVOutputDeviceManager -
2021-12-04 18:35:23.247084+1300  localhost Music[7298]: [com.apple.amp:clientcommandprocessor] Starting executing (kDevicesChanged command. ccp:AVOutputDeviceManager -
2021-12-04 18:35:25.457354+1300  localhost Music[7298]: [com.apple.amp:clientcommandprocessor] Starting executing (kDevicesChanged command. ccp:AVOutputDeviceManager -
2021-12-04 18:35:25.458650+1300  localhost Music[7298]: [com.apple.amp:clientcommandprocessor] Starting executing (kDevicesChanged command. ccp:AVOutputDeviceManager -
2021-12-04 18:35:27.746971+1300  localhost Music[7298]: [com.apple.Music:dm] downloadOptionsDict: {}
2021-12-04 18:35:27.756724+1300  localhost Music[7298]: [com.apple.Music:cks] Created session context 0x600001542440 for session 0x600001efcb60
2021-12-04 18:35:27.871918+1300  localhost Music[7298]: [com.apple.Music:dm] HLS download failed (The operation couldn’t be completed. (CoreMediaErrorDomain error -12884.))
2021-12-04 18:35:27.871975+1300  localhost Music[7298]: [com.apple.amp.core:assertions] Assertion failure: (mediaSelections != __null)
2021-12-04 18:35:27.873048+1300  localhost Music[7298]: [com.apple.Music:dm] download enabling system sleep
2021-12-04 18:35:27.873268+1300  localhost Music[7298]: [com.apple.amp.core:powermanagement] pm) sys-allow        0 0 'download'
2021-12-04 18:35:27.945772+1300  localhost Music[7298]: [com.apple.amp.core:powermanagement] pm) sys-prevent      1 1 'download'                                                                                                     
2021-12-04 18:35:28.014048+1300  localhost Music[7298]: [com.apple.amp.core:powermanagement] pm) sys-allow        0 0 'download'                                                                                                     
2021-12-04 18:35:43.472889+1300  localhost Music[7298]: [com.apple.Music:effects] SEManager::SetSESettings 127 (disabled)                                                                                                            
2021-12-04 18:35:44.735462+1300  localhost Music[7298]: [com.apple.amp.core:watch]  idle> timer 1510668.802129  Idle  0                                                                                                              
2021-12-04 18:35:44.737050+1300  localhost Music[7298]: [com.apple.amp.core:watch] state> Idle --> Pruning                                                                                                                           
2021-12-04 18:35:44.745133+1300  localhost Music[7298]: [com.apple.amp.core:watch]  scan> result 0                                                                                                                                   
2021-12-04 18:35:44.746321+1300  localhost Music[7298]: [com.apple.amp.core:watch] prune> ignoring '.localized'  (0)                                                                                                                 
2021-12-04 18:35:44.746493+1300  localhost Music[7298]: [com.apple.amp.core:watch] state> Pruning --> Idle    

Dec 3, 2021 11:45 PM in response to donald122

2021-12-04 20:35:37.698776+1300 0xbf5fc5   Info        0x0                  12426  0    Music: [com.apple.Music:msp] '空空如也' (1327591456) audioCapabilities: 0xc
2021-12-04 20:35:37.698816+1300 0xbf5fc5   Info        0x0                  12426  0    Music: [com.apple.Music:msp] available in lossless
2021-12-04 20:35:37.698849+1300 0xbf5fc5   Info        0x0                  12426  0    Music: [com.apple.Music:msp] available in stereo (lossy)
2021-12-04 20:35:37.915559+1300 0xbf93c0   Info        0x0                  12426  0    Music: [com.apple.Music:dm] HLS download starting, destination: file:///Volumes/nas/media/Downloads-Music/%E7%A9%BA%E7%A9%BA%E5%A6%82%E4%B9%9F%20_%20%E7%A9%BA%E7%A9%BA%E5%A6%82%E4%B9%9F%20-%20Single%20_%20%E8%83%A166.tmp/download.movpkg                                                                                                                                      
2021-12-04 20:35:38.048176+1300 0xbf93c0   Info        0x0                  12426  0    Music: [com.apple.Music:dm] downloadOptionsDict: SelectionPrefersLosslessAudio = true                                                        
2021-12-04 20:35:38.048769+1300 0xbf5fc5   Info        0x0                  12426  0    Music: [com.apple.Music:cks] Created session context 0x600000676710 for session 0x600000e30460                                               
2021-12-04 20:35:38.172113+1300 0xbf93c0   Info        0x0                  12426  0    Music: [com.apple.Music:dm] HLS download failed (The operation couldn’t be completed. (CoreMediaErrorDomain error 21.))                      
2021-12-04 20:35:38.173118+1300 0xbf93c0   Info        0x0                  12426  0    Music: [com.apple.Music:dm] download enabling system sleep                                                                                   
2021-12-04 20:35:38.173476+1300 0xbf93c0   Default     0x0                  12426  0    Music: [com.apple.amp.core:powermanagement] pm) sys-allow        0 0 'download'                                                              
2021-12-04 20:35:38.232621+1300 0xbf5fc5   Default     0x0                  12426  0    Music: [com.apple.amp.core:powermanagement] pm) sys-prevent      1 1 'download'                                                              
2021-12-04 20:35:38.283262+1300 0xbf5fc5   Default     0x0                  12426  0    Music: [com.apple.amp.core:powermanagement] pm) sys-allow        0 0 'download'  

Download lossless music get err 21

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.