Skip to content

mb_albumartistid (and other .single_field() fields) can't be set independently of their plural list #110

Description

@anor4k

In mediafile, mb_albumartistid = mb_albumartistids.single_field() shares the plural field's underlying storage rather than being independent. Setting only the singular field, then writing all tags, silently reverts it to mb_albumartistids[0] — the untouched plural list re-applies to the same key (reproduced on FLAC/Vorbis).

Same pattern affects: mb_artistid, genre, composer, lyricist, arranger, albumtype, catalognum, language — all defined via .single_field().

I believe that this should respect an override, perform a write-time consistency check, or at the very least a documentation note.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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