FAQ  •  Register  •  Login

Serviio, MediaMonkey and FLAC

<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Mon Jun 11, 2012 9:12 am

Serviio, MediaMonkey and FLAC

Hi, I've got MediaMonkey running on several Win7 clients. They connect to a Serviio 0.6.2 mediaserver running on Ubuntu 12.04 LTS.

The clients connect to the server without any problems and they play MP3-files without a hitch. However, it is impossible to play FLAC-files. :-? My whole music collection consists of FLAC files, so the problem is a real showstopper.

Behaviour: MediaMonkey shows the whole folder structure of my Music collections and all the FLAC-files. Whenever I try to play an album, the player starts on the first track, chews on it for a couple of seconds and then passes on to the next track, and so on, until it reaches the last track. It does not initiate playback for any track. :o

BTW: I've also got a Playstation 3 connecting to the Serviio mediaserver and that works without problems, including playback of FLAC-files.

Suggestions anyone? :|
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Jun 11, 2012 1:28 pm

Re: Serviio, MediaMonkey and FLAC

What is the profile selected on serviio console for MediaMonkey device, "Generic Profile" ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Mon Jun 11, 2012 4:41 pm

Re: Serviio, MediaMonkey and FLAC

That is correct. "Generic profile" for all clients.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Jun 11, 2012 6:07 pm

Re: Serviio, MediaMonkey and FLAC

It seems that MediaMonkey device does not support FLAC in native format over DLNA.
Could you provide MediaMonkey renderer information ? http://wiki.serviio.org/doku.php?id=device_sf
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Mon Jun 11, 2012 7:34 pm

Re: Serviio, MediaMonkey and FLAC

The info from Device Spy looks like this:

  Code:
http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_SP_G726,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE,http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:video/x-ms-asf:DLNA.ORG_PN=VC1_ASF_AP_L1_WMA,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC_XAC3,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMDRM_WMVSPLL_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_ASP_L5_SO_G726,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL_XAC3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,http-get:*:video/x-ms-asf:DLNA.ORG_PN=MPEG4_P2_ASF_ASP_L4_SO_G726,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_MP3,http-get:*:video/x-ms-wmv:*,http-get:*:audio/flac:DLNA.ORG_PN=FLAC,http-get:*:video/x-mkv:DLNA.ORG_PN=MATROSKA,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_MULT5,http-get:*:video/x-msvideo:DLNA.ORG_PN=AVI,http-get:*:audio/x-wav:DLNA.ORG_PN=WAV
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Mon Jun 11, 2012 7:36 pm

Re: Serviio, MediaMonkey and FLAC

It includes: http-get:*:audio/flac:DLNA.ORG_PN=FLAC

That covers FLAC, right?
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Tue Jun 12, 2012 7:49 am

Re: Serviio, MediaMonkey and FLAC

ElToro1966 wrote:It includes: http-get:*:audio/flac:DLNA.ORG_PN=FLAC
That covers FLAC, right?


Yes, and serviio delivere the FLAC file in native format with the same mime-ype (<MediaFormatProfile mime-type="audio/flac">FLAC</MediaFormatProfile>). You can check this in the detailed serviio log file (see signature to enable it).
So there is something in the flac file that the renderer does not support. No idea.

(To complete device information, could you provide the "Device Description XML" of the renderer?)
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Wed Jun 13, 2012 4:55 pm

Re: Serviio, MediaMonkey and FLAC

Thanks for the input , Illico.

One question: If almost everything is in place in MediaMonkey and there is something in the FLAC that creates a problem, perhaps I should report it as a bug in MediaMonkey? Or a change request? Given that FLAC is widely used...

The Device XML:

  Code:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0">
  <specVersion>
    <major>1</major>
    <minor>0</minor>
  </specVersion>
  <device>
    <deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
    <friendlyName>MediaMonkey Renderer</friendlyName>
    <manufacturer>Ventis Media, Inc.</manufacturer>
    <manufacturerURL>http://www.plutinosoft.com</manufacturerURL>
    <modelDescription>MediaMonkey UPnP Renderer</modelDescription>
    <modelName>MediaMonkey Renderer</modelName>
    <modelURL>http://www.mediamonkey.com</modelURL>
    <modelNumber/>
    <serialNumber>500236361805</serialNumber>
    <UDN>uuid:df94ab6c-b9e7-8e89-c44c-be1c1e54eeac</UDN>
    <dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC>
    <iconList>
      <icon>
        <mimetype>image/png</mimetype>
        <width>120</width>
        <height>120</height>
        <depth>24</depth>
        <url>/images/platinum-120x120.png</url>
      </icon>
      <icon>
        <mimetype>image/png</mimetype>
        <width>48</width>
        <height>48</height>
        <depth>24</depth>
        <url>/images/platinum-48x48.png</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>120</width>
        <height>120</height>
        <depth>24</depth>
        <url>/images/platinum-120x120.jpg</url>
      </icon>
      <icon>
        <mimetype>image/jpeg</mimetype>
        <width>48</width>
        <height>48</height>
        <depth>24</depth>
        <url>/images/platinum-48x48.jpg</url>
      </icon>
    </iconList>
    <serviceList>
      <service>
        <serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:AVTransport</serviceId>
        <SCPDURL>/AVTransport/de94ab6c-b9e7-8e89-c44c-be1c6e54eeac/scpd.xml</SCPDURL>
        <controlURL>/AVTransport/de94ab6c-b9e7-8e89-c44c-be1c6e54eeac/control.xml</controlURL>
        <eventSubURL>/AVTransport/de94ab6c-b9e7-8e89-c44c-be1c6e54eeac/event.xml</eventSubURL>
      </service>
      <service>
        <serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId>
        <SCPDURL>/ConnectionManager/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/scpd.xml</SCPDURL>
        <controlURL>/ConnectionManager/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/control.xml</controlURL>
        <eventSubURL>/ConnectionManager/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/event.xml</eventSubURL>
      </service>
      <service>
        <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
        <serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId>
        <SCPDURL>/RenderingControl/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/scpd.xml</SCPDURL>
        <controlURL>/RenderingControl/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/control.xml</controlURL>
        <eventSubURL>/RenderingControl/df94ab6c-b9e7-8e89-c44c-be1c1e54eeac/event.xml</eventSubURL>
      </service>
    </serviceList>
  </device>
</root>


Will start logging on Serviio. BRB.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jun 13, 2012 6:28 pm

Re: Serviio, MediaMonkey and FLAC

ElToro1966 wrote:One question: If almost everything is in place in MediaMonkey and there is something in the FLAC that creates a problem, perhaps I should report it as a bug in MediaMonkey? Or a change request? Given that FLAC is widely used...

Yes you can ask on Mediamonkey forum or if you know another DLNA server where FLAC are supported in native format.

Could you try with this profile (edit and add this following section at the end of ./serviio/profiles.xml file, just before last </Profiles> element):

  Code:
  <Profile id="26" name="MediaMonkey Renderer" extendsProfileId="1">
    <Detection>
      <UPnPSearch>
        <FriendlyName>MediaMonkey Renderer</FriendlyName>
      </UPnPSearch>
    </Detection>
    <MediaFormatProfiles>
      <!-- Rename native matroska formats to those supported by the renderer-->
      <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
    </MediaFormatProfiles>     
    <Transcoding>
      <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
        <Matches container="flv" />
        <Matches container="wtv" />
        <Matches container="ogg" />
      </Video>
      <Audio targetContainer="lpcm">
        <Matches container="flac" />
        <Matches container="ogg" />
      </Audio>
    </Transcoding>
  </Profile>


As you can see FLAC will be transcoded to LPCM for a workarround.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Wed Jun 13, 2012 8:47 pm

Re: Serviio, MediaMonkey and FLAC

Done. But it still acts the same way, except that Serviio shows MediaMonkey renderers (in the Device Name) in the Renderer Profile list.

Really don't want to be changing server, because I think Serviio is really good, both the technology and the community. So it would be just great if this could be fixed.

One question (unrelated to the FLAC-problem); shoudn't the "Matches container" under Video be "ogv" instead of "ogg"?

  Code:
        <Transcoding>
          <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="flv" />
            <Matches container="wtv" />
            <Matches container="ogg" />
          </Video>
          <Audio targetContainer="lpcm">
            <Matches container="flac" />
            <Matches container="ogg" />
          </Audio>
        </Transcoding>


The typical set of messages in the log when playing a FLAC-file:

  Code:
2012-06-13 22:22:43,081 WARN  [ResourceTransportRequestHandler] Requested DLNA media format profile flac is not supported, using original profile of the media
2012-06-13 22:22:43,081 WARN  [ResourceTransportRequestHandler] Error while processing resource, sending back 404 error. Message: The request did not provide required version of the resource
2012-06-13 22:22:43,253 WARN  [ContentDirectory] Object with id http://192.168.0.109:8895/resource/82571/MEDIA_ITEM/FLAC*0 doesn't exist
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jun 13, 2012 11:09 pm

Re: Serviio, MediaMonkey and FLAC

it looks like the renderer software cached the previous state (with flac) and is still asking for it (instead of lpcm).
<<

ElToro1966

Streaming enthusiast

Posts: 22

Joined: Sun Oct 23, 2011 10:14 am

Post Thu Jun 14, 2012 8:08 pm

Re: Serviio, MediaMonkey and FLAC

Yup, a bug in the renderer software. Reported.

For info: Since I can't get MediaMonkey to work with my current setup, I have tried a lot of other renderers. The latest Foobar2000, v.1.1.13 - with the UPnP plugin installed - works great. 8-) Will be using that with Serviio on my Win7 clients, at least until MediaMonkey gets fixed...

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 53 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.