taglib-ts
    Preparing search index...

    DIIN (DSD Interchange Information) tag for DSDIFF files.

    This is a very limited tag format that only supports title and artist. All other fields are ignored.

    Hierarchy (View Summary)

    • Tag
      • DsdiffDiinTag
    Index

    Constructors

    Accessors

    • get album(): string

      Not supported by the DIIN format; always returns an empty string.

      Returns string

    • set album(_value: string): void

      Not supported by the DIIN format; value is silently ignored.

      Parameters

      • _value: string

      Returns void

    • get artist(): string

      Artist name. Stored and retrieved from the DIIN "DIAR" sub-chunk.

      Returns string

    • set artist(value: string): void

      Parameters

      • value: string

        New artist name.

      Returns void

    • get comment(): string

      Not supported by the DIIN format; always returns an empty string.

      Returns string

    • set comment(_value: string): void

      Not supported by the DIIN format; value is silently ignored.

      Parameters

      • _value: string

      Returns void

    • get genre(): string

      Not supported by the DIIN format; always returns an empty string.

      Returns string

    • set genre(_value: string): void

      Not supported by the DIIN format; value is silently ignored.

      Parameters

      • _value: string

      Returns void

    • get isEmpty(): boolean

      True when every field is empty / zero.

      Returns boolean

    • get title(): string

      Track title. Stored and retrieved from the DIIN "DITI" sub-chunk.

      Returns string

    • set title(value: string): void

      Parameters

      • value: string

        New track title.

      Returns void

    • get track(): number

      Not supported by the DIIN format; always returns 0.

      Returns number

    • set track(_value: number): void

      Not supported by the DIIN format; value is silently ignored.

      Parameters

      • _value: number

      Returns void

    • get year(): number

      Not supported by the DIIN format; always returns 0.

      Returns number

    • set year(_value: number): void

      Not supported by the DIIN format; value is silently ignored.

      Parameters

      • _value: number

      Returns void

    Methods

    • Return all complex property values for the given key.

      Parameters

      • _key: string

        The property key (e.g. "PICTURE").

      Returns VariantMap[]

      An array of VariantMap objects, or an empty array if the key is not present.

    • Return the keys of all complex (non-string) properties stored in this tag. Complex properties include embedded pictures and similar structured data.

      Returns string[]

      An array of property key strings, or an empty array if none.

    • Remove properties that are not supported by this tag format. The default implementation is a no-op; subclasses may override.

      Parameters

      • _properties: string[]

        Keys of the properties to remove.

      Returns void

    • Set complex property values for the given key, replacing any existing values.

      Parameters

      • _key: string

        The property key (e.g. "PICTURE").

      • _value: VariantMap[]

        The new values to store.

      Returns boolean

      true if the property was stored, false if the format does not support complex properties.

    • Copy tag fields from source to target. When overwrite is false, only empty fields in the target are filled in.

      Parameters

      • source: Tag

        The tag to copy values from.

      • target: Tag

        The tag to copy values into.

      • overwrite: boolean

        When true, all fields in target are overwritten; when false, only unset fields are populated.

      Returns void

    • Join an array of tag values with " / ".

      Parameters

      • values: string[]

        The string values to join.

      Returns string

      A single string with values separated by " / ".