Jump to content

DLNA profile ignored when music browsed/streamed directly from music player


Guest

Recommended Posts

Can anyone tell me what I’m missing? I have a new internet radio/DLNA player that cannot play my high-res FLAC files (eg 24bit, 96kHz files). It can play 16/44.1 FLAC files but I decided the simplest solution was to just transcode all FLAC files to MP3s. I created a DLNA profile in Emby Server and put in just mp3 in the codec and container fields in the direct play section.

 

Streaming from an Emby client now transcodes all files to MP3 and they play on my radio, including my hi-res files. Artwork, artist, album and track info is missing but I can live with that.

 

When I browse Emby Server directly from my radio my hi-res files are all missing (their folders are empty) and everything else is streamed as FLAC files and aren’t transcoded to MP3. It seems my profile is being ignored outside of the Emby app. Is this right or do I need to do more to my profile other than identification and direct play sections?

 

I'm using version 4.3.0.30 with DLNA Plugin 1.0.33.0

 

Thanks

Link to comment
Share on other sites

Ah ha, thanks. I had not added http header identification but after a bit of trial and error I worked out what I needed to add and have made some progress. The good news it now transcodes to mp3. The bad news is folders containing my hi res files are still showing empty.

Link to comment
Share on other sites

I'm probably using the wrong terminology but I'm referring to my Flac files with sample rates greater than 48kHz which is the highest sample rate the radio can handle.

Link to comment
Share on other sites

It seems this issue is not limited to 24/96 flac files after all. I'm finding plenty of folders that have only 16/44.1 flac files that are also showing as empty.

 

I have yet to find a 24/96 file that will show up but I cannot see any pattern to the 16/44.1 missing files.

Link to comment
Share on other sites

Thanks. I wasn't sure which I needed so I added conditions for both codec and response profiles:

 

  <CodecProfiles>
    <CodecProfile type="Audio" codec="flac">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="AudioSampleRate" value="48000" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
    <CodecProfile type="Audio" codec="mp3">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="AudioSampleRate" value="48000" isRequired="true" />
      </Conditions>
      <ApplyConditions />
    </CodecProfile>
  </CodecProfiles>
  <ResponseProfiles>
    <ResponseProfile container="flac" audioCodec="flac" videoCodec="" type="Audio">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="AudioSampleRate" value="48000" isRequired="true" />
      </Conditions>
     </ResponseProfile>
    <ResponseProfile container="mp3" audioCodec="mp3" videoCodec="" type="Audio">
       <Conditions>
        <ProfileCondition condition="LessThanEqual" property="AudioSampleRate" value="48000" isRequired="true" />
      </Conditions>
     </ResponseProfile>
  </ResponseProfiles>
 

I'm not really sure what the responseprofile entries do but once I added the codec conditions I was able to add flac into direct play and Emby now only transcoded flac files greater than 48k which is nice but neither helped with the missing files issue while browsing from my radio. As I previously mentioned, many standard 16/44.1 files are also missing, not just files outside my radio's specs so I don't think it's down to sample rates.

Link to comment
Share on other sites

So it sounds like there is something about them that it doesn't like, and therefore it's dropping them and not displaying them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...