Commit f723e42
committed
Support multi-value TXXX/WXXX frames in ID3v2
ID3v2.4 allows null-separated multiple strings in TXXX value fields.
Audio::Scan previously read only the first value. Add a loop mirroring
the existing STRINGLIST handler for standard text frames: returns an
arrayref when multiple values are present, scalar when single.
This enables plural tags like TXXX:ALBUMARTISTS written by Picard
to reach consumers as arrays instead of being truncated.
Signed-off-by: Rouzax <GitHub@mgdn.nl>1 parent f6094e0 commit f723e42
1 file changed
Lines changed: 31 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
798 | 798 | | |
799 | 799 | | |
800 | 800 | | |
| 801 | + | |
| 802 | + | |
801 | 803 | | |
802 | 804 | | |
803 | 805 | | |
804 | 806 | | |
805 | 807 | | |
806 | 808 | | |
807 | | - | |
| 809 | + | |
808 | 810 | | |
809 | 811 | | |
810 | 812 | | |
811 | 813 | | |
812 | 814 | | |
813 | | - | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
814 | 823 | | |
815 | | - | |
| 824 | + | |
816 | 825 | | |
817 | | - | |
818 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
819 | 845 | | |
820 | 846 | | |
821 | 847 | | |
| |||
0 commit comments