Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Renderer sends empty xsesam:artist or xsesam:albumArtist #158

@phako

Description

@phako

If the DIDL-Lite parser finds artists on the item, (https://github.com/01org/dleyna-renderer/blob/master/libdleyna/renderer/device.c#L1448), it unconditionally creates the Variant for both xsesam:artist and xsesam:albumArtist, and will always send both over the bus, even if one is empty, e.g.

Nov 11 11:14:54 host dbus-monitor[1899]: dict entry(
Nov 11 11:14:54 host dbus-monitor[1899]: string "xesam:artist"
Nov 11 11:14:54 host dbus-monitor[1899]: variant                      array [
Nov 11 11:14:54 host dbus-monitor[1899]: string "Wir Sind Helden"
Nov 11 11:14:54 host dbus-monitor[1899]: ]
Nov 11 11:14:54 host dbus-monitor[1899]: )
Nov 11 11:14:54 host dbus-monitor[1899]: dict entry(
Nov 11 11:14:54 host dbus-monitor[1899]: string "xesam:albumArtist"
Nov 11 11:14:54 host dbus-monitor[1899]: variant                      array [
Nov 11 11:14:54 host dbus-monitor[1899]: ]
Nov 11 11:14:54 host dbus-monitor[1899]: )
Nov 11 11:14:54 host dbus-monitor[1899]: ]
Nov 11 11:14:54 host dbus-monitor[1899]: )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions