title
Products            Buy            Support Forum            Professional            About            Codec Central
 

ForceToSingle in Control Point Overrides does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asset-user

    • Nov 2018
    • 21

    ForceToSingle in Control Point Overrides does not work

    Hi,

    it seems that the option ForceToSingle works when selected in the general (Control Point independent) settings (AssetUPnPForceSingle.txt), but it does not work in Control Point Overrides. ForceToMP3 works everywhere.

    Environment:
    • Asset UPnP version R6.2 beta 12 [Linux-ARM32] (Raspberry Pi)
    • The file AssetUPnPForceSingle.txt is empty.
    • User-Agent: FSL DLNADOC/1.50 UPnP Stack/1.0


    1.) ForceToSingle does not work

    OverrideSettings.txt
    :
    Code:
    =FSL
    [ForceAlbumArt=480]
    [ForceToSINGLE]
    .flac
    .m4a
    .mp3
    a.) Selection of a FLAC album
    Code:
    <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"  xmlns:dc="http://purl.org/dc/elements/1.1/"  xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"  xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
    <item id="d544576185538479099-co4B5237296F65FF9E" parentID="co4B5237296F65FF9E" restricted="0"><dc:title>  1   Findet Dorie 01</dc:title><res duration="0:03:40.000"
          protocolInfo="http-get:*:[B]audio/x-flac[/B]:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d544576185538479099-co4B5237296F65FF9E.flac</res><res duration="0:03:40.000"
          protocolInfo="http-get:*:[B]audio/wav[/B]:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d544576185538479099-co4B5237296F65FF9E.forced.wav</res><res duration="0:03:40.000"
          protocolInfo="http-get:*:[B]audio/L16[/B]:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1">http://192.168.178.41:26130/content/c2/b16/f44100/d544576185538479099-co4B5237296F65FF9E.forced.l16</res><res duration="0:03:40.000"
          protocolInfo="http-get:*:[B]audio/x-flac[/B]:DLNA.ORG_PN=FLAC;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d544576185538479099-co4B5237296F65FF9E.flac</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item>
    b.) Selection of a M4A album
    Code:
    <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
    <item id="d-614983795286164148-co63DA51CDFC7782FA" parentID="co63DA51CDFC7782FA" restricted="0"><dc:title>  9   Wind_Air2</dc:title><res duration="0:01:04.000"
          protocolInfo="http-get:*:[B]audio/mp4[/B]:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f48000/d-614983795286164148-co63DA51CDFC7782FA.m4a</res><res duration="0:01:04.000"
          protocolInfo="http-get:*:[B]audio/wav[/B]:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f48000/d-614983795286164148-co63DA51CDFC7782FA.forced.wav</res><res duration="0:01:04.000"
          protocolInfo="http-get:*:[B]audio/L16[/B];rate=48000:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1">http://192.168.178.41:26130/content/c2/b16/f48000/d-614983795286164148-co63DA51CDFC7782FA.forced.l16</res><res duration="0:01:04.000"
          protocolInfo="http-get:*:[B]audio/mp4[/B]:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f48000/d-614983795286164148-co63DA51CDFC7782FA.m4a</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item>
    c.) Selection of a MP3 album
    Code:
    <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
    <item id="d-3823152705534391619-co2AF99E5C6CA8302A" parentID="co2AF99E5C6CA8302A" restricted="0"><dc:title>07 Hi Kids</dc:title><res duration="0:03:13.000"
          protocolInfo="http-get:*:[B]audio/mpeg[/B]:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d-3823152705534391619-co2AF99E5C6CA8302A.mp3</res><res duration="0:03:13.000"
          protocolInfo="http-get:*:[B]audio/wav[/B]:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d-3823152705534391619-co2AF99E5C6CA8302A.forced.wav</res><res duration="0:03:13.000"
          protocolInfo="http-get:*:[B]audio/L16[/B]:DLNA.ORG_PN=LPCM;DLNA.ORG_OP=01;DLNA.ORG_CI=1">http://192.168.178.41:26130/content/c2/b16/f44100/d-3823152705534391619-co2AF99E5C6CA8302A.forced.l16</res><res duration="0:03:13.000"
          protocolInfo="http-get:*:[B]audio/mpeg[/B]:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d-3823152705534391619-co2AF99E5C6CA8302A.mp3</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item>

    2.) ForceToMP3 works

    OverrideSettings.txt
    :
    Code:
    =FSL
    [ForceAlbumArt=480]
    [ForceToMP3]
    .mp3
    
    [ForceToSINGLE]
    .flac
    .m4a
    a.) Selection of a MP3 album
    Code:
    <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
    <item id="d544576185538479099-co4B5237296F65FF9E" parentID="co4B5237296F65FF9E" restricted="0"><dc:title>  1   Findet Dorie 01</dc:title><res duration="0:03:40.000"
          protocolInfo="http-get:*:[B]audio/mpeg[/B]:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=03700000000000000000000000000000">http://192.168.178.41:26130/content/c2/b16/f44100/d544576185538479099-co4B5237296F65FF9E.forced.mp3</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item>

    - Christian
  • PeterP
    Super Moderator
    • Jul 2011
    • 1471

    #2
    Re: ForceToSingle in Control Point Overrides does not work

    Bug confirmed and fixed for the next update, thanks for reporting.

    Comment

    • asset-user

      • Nov 2018
      • 21

      #3
      Re: ForceToSingle in Control Point Overrides does not work

      I can confirm that the bug is fixed in R6.2-beta13. Thanks!

      Comment

      • asset-user

        • Nov 2018
        • 21

        #4
        Re: ForceToSingle in Control Point Overrides does not work

        Originally posted by asset-user
        I can confirm that the bug is fixed in R6.2-beta13
        ... for the first listed format, but not for the successors.

        In this configuration, is works for FLAC, but not for M4A:
        Code:
        [ForceToSINGLE]
        .flac
        .m4a
        In this configuration, is works for M4A, but not for FLAC:
        Code:
        [ForceToSINGLE]
        .m4a
        .flac

        Comment

        • PeterP
          Super Moderator
          • Jul 2011
          • 1471

          #5
          Re: ForceToSingle in Control Point Overrides does not work

          Thanks for testing the fix.

          You are supposed to enter a semicolon-delimited list of file formats - not one format per line.

          Example:
          Code:
          [ForceToSINGLE]
          .m4a;.flac

          Comment

          • asset-user

            • Nov 2018
            • 21

            #6
            Re: ForceToSingle in Control Point Overrides does not work

            Thanks, I'll try that.
            I suggest to fix the docs then.

            Comment

            • asset-user

              • Nov 2018
              • 21

              #7
              Re: ForceToSingle in Control Point Overrides does not work

              Thanks for the hint, it works perfectly with this syntax.

              Thanks again for fixing the documentation on this topic as requested by me; please take care of the OS X manual that also contains the old syntax.

              Comment

              Working...

              ]]>