Skip to content

Inconsistent handling of TRACKNUMBER vs DISCNUMBER split fields in ogg tags. #543

@milesegan

Description

@milesegan

Reproducer

Try to parse a ogg or flac tag with a DISCNUMBER like 1/3.

Summary

It looks like there's some special handling for split values like 3/5 in the TRACKNUMBER field in ogg tags:

k if k.eq_ignore_ascii_case(b"TRACKNUMBER") => {

But I don't see anything similar for DISCNUMBER and when I parse a tag with a 1/3 type of tag both disk() and disk_total() come back empty.

Expected behavior

Parsing a DISCNUMBER tag like 1/3 should come back with a disk & total disks of 1 and 3.

Assets

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions