Menu

"dc:date" format issue

zoezozo
2015-01-30
2016-11-30
  • zoezozo

    zoezozo - 2015-01-30

    Hi, all

    I harvest one flac track with mediatomb git uppstream, and get its "dc:date" not in upnp format.

    In track's metadata, there is "Date": "14.04.2008".
    "dc:date" got is 14-01-01(upnp requires format YYYY-MM-DD), which would raise an error when parsing its didl lite later.

    Is this one bug in mediatomb? Or it's the file provide wrong fomat of "Date"?

    Thx in advance.

    track's metadata:
    [{
    "SourceFile": "2L50SACD_tr01_multi_48.flac",
    "ExifToolVersion": 9.46,
    "FileName": "2L50SACD_tr01_multi_48.flac",
    "Directory": ".",
    "FileSize": "80 MB",
    "FileModifyDate": "2015:01:21 16:54:06+01:00",
    "FileAccessDate": "2015:01:30 15:24:39+01:00",
    "FileInodeChangeDate": "2015:01:21 17:27:49+01:00",
    "FilePermissions": "rw-r--r--",
    "FileType": "FLAC",
    "MIMEType": "audio/flac",
    "BlockSizeMin": 4096,
    "BlockSizeMax": 4096,
    "FrameSizeMin": 14964,
    "FrameSizeMax": 51880,
    "SampleRate": 48000,
    "Channels": 6,
    "BitsPerSample": 24,
    "TotalSamples": 8723840,
    "Vendor": "reference libFLAC 1.2.1 20070917",
    "Album": "DIVERTIMENTI",
    "AlbumArtist": "TrondheimSolistene",
    "Artist": "TrondheimSolistene",
    "Comment": "2L50SACD All rights reserved Lindberg Lyd AS, Norway",
    "Composer": "Benjamin Britten",
    "Date": "14.04.2008",
    "Discnumber": 1,
    "Performer": "TrondheimSolistene",
    "Title": "Britten: Simple Symphony 1",
    "Totaldiscs": 1,
    "Totaltracks": 11,
    "TrackNumber": 1,
    "WaveformatextensibleChannelMask": "0x003F",
    "Duration": "0:03:01"
    }]

    Mediatomb log:
    ITEM HAS FOLLOWING METADATA: dc%3Atitle=Britten%3A%20Simple%20Symphony%201&upnp%3Aartist=TrondheimSolistene&upnp%3Aalbum=DIVERTIMENTI&dc%3Adate=14-01-01&dc%3Adescription=2L50SACD%20All%20rights%20reserved%20Lindberg%20Lyd%20AS%2C%20Norway&upnp%3AoriginalTrackNumber=1
    renderen DIDL:
    <item id="52" parentID="51" restricted="1"><dc:title>Britten: Simple Symphony 1</dc:title><upnp:class>object.item.audioItem.musicTrack</upnp:class><upnp:artist>TrondheimSolistene</upnp:artist><upnp:album>DIVERTIMENTI</upnp:album><dc:date>14-01-01</dc:date><dc:description>2L50SACD All rights reserved Lindberg Lyd AS, Norway</dc:description><upnp:originalTrackNumber>1</upnp:originalTrackNumber><res protocolInfo="http-get:*:audio/x-flac:*" size="84156161" bitrate="476032" duration="00:03:01" sampleFrequency="48000" nrAudioChannels="6">http://10.1.14.80:49152/content/media/object_id/52/res_id/0/ext/file.flac</res></item>

     

    Last edit: zoezozo 2015-01-30
  • Thev00d00

    Thev00d00 - 2016-11-30

    Looks like the flac handler doesnt try to parse the date at all. So it just passes it through.

     

Log in to post a comment.