REWARD: Profile to stream ALAC to Yamaha NXN500 Speakers (MusicCast)

server-dlna

#1

Hi

I can't steam ALAC (Apple Lossless) files via DLNA from Plex. I have a pair of Yamaha N-XN500 active speakers that support ALAC (in fact, I'm using a different DLNA client to stream ALAC files right now).

Would be grateful to anyone that can write me a profile so I can stream Apple Lossless files. Will throw in a small reward of $5 (not much I know but better than nothing!).

Thanks


#2

Any ideas? Sorry to bump this.

I’ve tried writing one myself by modifying an existing Yamaha profile but that didn’t work, I need professional help!


#3

I have the same problem: Cannot stream ALAC files from Plex DLNA to Yamaha NX-N500. Other formats work ok.
Any suggestions from anyone?


#4

Bump for the weekend.


#5

There is no Yamaha profile that comes with Plex so when a Yahama device requests a file that file is sent directly to the device as if it were a simple file transfer.

If the ALAC file specifically is causing a problem you would need to install/create a DLNA profile for the device that converts the ALAC file to a format that can be played back without issues.


#6

Thanks for the reply.

I’m aware of that but have been unsuccessfully in creating the profile file.

Do anyone have a file for Yamaha products that I could adapt?

@jmckee said:
There is no Yamaha profile that comes with Plex so when a Yahama device requests a file that file is sent directly to the device as if it were a simple file transfer.

If the ALAC file specifically is causing a problem you would need to install/create a DLNA profile for the device that converts the ALAC file to a format that can be played back without issues.


#7

Did anyone every get this working? I still haven’ t and really want to ditch the Serviio DLNA server and do everything in Plex


#8

Bump - still have not been able to get this to work!


#9

No sorry. I’m still using Twonky but would love to use Plex too.


#10

It must be doable - writing the profile should in theory be doable as the devices support ALAC when using Twonky and Serviio. Must be someone out there who knows how to do it.

I’d happily pay for someone to do it!


#11

Please see update for reward!!!


#12

@KettyKrueger said:
Please see update for reward!!!

Not sure if your issues was resolved… but if you value your time, and feel that your services are worth a certain dollar amount based on the worth of your work… then so do others. Supply and demand here seem to be rather uneven. No supply, but constant demand. You may want to tack a zero to the right of that 5.


#13

@“Frank Logan” said:

@KettyKrueger said:
Please see update for reward!!!

Not sure if your issues was resolved… but if you value your time, and feel that your services are worth a certain dollar amount based on the worth of your work… then so do others. Supply and demand here seem to be rather uneven. No supply, but constant demand. You may want to tack a zero to the right of that 5.

Ha - yeah I know, a meagre reward!

I’ve sort of resolved my problem. I went to the trouble of writing my own profile, well, I cobbled one together from looking at other profiles. That and countless hours of trial and error.

It’s not perfect as it doesn’t direct play ALAC files, which was the point really, but I’ve got it to transcode to FLAC. ALAC to FLAC to better than nothing.

Happy to share if anyone is interested.


#14

Hi @KettyKrueger, I have the same issue with ALAC on MusicCast. Still cannot make this profile properly by myself… Can you share your one with me?


#15

@utiko said:
Hi @KettyKrueger, I have the same issue with ALAC on MusicCast. Still cannot make this profile properly by myself… Can you share your one with me?

Hey, sorry for the delay.

Sure, it’s attached. Hope it works for you.


#16

@KettyKrueger thank you so much, adopted your profile to use it with RX-V483 and WX-030, works for both my devices!


#17

Hi could someone help me with step by step instructions on how to do this as I’ve been hoping to get my WX-030 to work with AlAC files via DLNA from my Plex server on my Mac mini.

Many thanks in advance.


#18

Hi there! It looks like i’ve resolved the issue with direct playing for ALAC. Please see the attached profile for my MusicCast-enabled Yamaha CRX-N470. Shortly, the issue was in the incorrect mime-type which was video/mp4 rather than audio/m4a. I hope it will be helpful!


#19

Hi ya all,

EDIT: PLEX have removed attachments. text modified to include XML directly

I found this thread to be very useful and managed to get ALAC playing across all my devices using the info from the posts here (thanks Photolux and KettyKrueger) and have created a catch-all profile for a number of Yamaha products (WX-010, WX-030, RX-A1070, NX-N500). So this is about sharing that and explaining how to add more to the profile.

I’m doing this on Plex on a Synology so my profile path was:

/<volume x>/@appstore/Plex Media Server/Resources/Profiles

One thing I noticed when I was experimenting trying to work out how to get all devices in the one profile (as there are multiple entries for iPhone etc.) is that plex requires a stop/start to read the new profiles. Evidenced by the first profile I got working transcoding ALAC to mp3 despite removing the lines below (brackets changed due to forum post formatting) and power cycling the MusicCast device:

<TranscodeTargets>
    <MusicProfile container="mp3" codec="mp3" />
</TranscodeTargets>>

Removing the above and doing a start/stop of Plex service allowed a refresh and the MusicCast app to run in ALAC (see Screenshot).

Anyway, below is the XML I modified from the people in the above posts (thank you both). For those wanting to expand to include more devices note the following:

I was initially confused by the ‘Client name’ header. However, it’s not important. It’s a friendly name you call the profile (the file is called MusicCast.xml).

The ‘User-Agent:… Substring’ was found by:

  1. attempting to connect and play something via each client from the MusicCast Application (which fails with ‘unable to play’)
  2. Downloading the logs from the Plex server (go to PlexWebClient >> Settings >> Server >> Help >> Download Logs).
  3. Search for the word ‘generic’. you should find a line similar to my output below:
DEBUG - Mapped client to generic profile: Host: 192.168.23.1:32469; User-Agent: Network_Module/1.0 (RX-A1070) UPnP/1.0 DLNADOC/1.50; Content-Type: text/xml; charset="utf-8"; Content-Length: 470; SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"; Cache-Control: no-cache; Pragma: no-cache
  1. Note the name of the device appears in this string RX-A1070. This is the text you place in the User-Agent substring field.
  2. Add this in to the XML, save it as MusicCast.xml and you’re done. When successful the log looks like:
DEBUG - Mapped client to profile MusicCast using header User-Agent: Network_Module/1.0 (RX-A1070) UPnP/1.0 DLNADOC/1.50

EDIT: It looks like PLEX removed all the attachments from the forum in an update so… Below is the XML I have working across all devices. Thank you to all contributors to this thread. I now understand a heck of a lot more about XML and the workings of DLNA…

Call this file ‘MusicCast.xml’

<?xml version="1.0" encoding="utf-8"?>
<Client name="MusicCast">
  <Identification>
    <Header name="User-Agent" substring="(WX-010)"/>
    <Header name="User-Agent" substring="(RX-A1070)"/>
    <Header name="User-Agent" substring="(WX-030)"/>
    <Header name="User-Agent" substring="(NX-N500)"/>
  </Identification>
  <DirectPlayProfiles>
    <MusicProfile container="mp3" codec="mp2,mp3" />
    <MusicProfile container="mp4" codec="aac,alac" />
    <MusicProfile container="flac" codec="flac" />
  </DirectPlayProfiles>
  <DlnaMediaProfiles>
    <DlnaMusicProfile container="mp4" mimeType="audio/m4a" />
  </DlnaMediaProfiles>
</Client>


#20

Just want to say thanks to everyone, as I managed to get ALAC finally playing on my WX-030 speaker, and a big thanks to Legoyodax as I used the Musiccast.xml file they created which I modified to get my WXC-50 pre amp working.