Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#370 a minus and a space in a tag causes a newline to be inserted

open
Josh Coalson
metaflac (17)
5
2013-01-02
2010-09-20
No

flac version: 1.2.1-r3
distribution: Gentoo 2.6.33.6-rt26

If you have a tag field that contains a hyphen with a space, metaflac inserts a newline when displaying the tag.

For instance, given the tag "buh - buh" in the title field:

bearcat@clowder ~/script_fix $ metaflac --show-tag=title 01-piano_concerto_no.3_in_c_minor,_op.37-allegro_con_brio.flac
TITLE=buh
TITLE=buh

given the tag "buh-buh" in the title field:

bearcat@clowder ~/script_fix $ metaflac --show-tag=title 01-piano_concerto_no.3_in_c_minor,_op.37-allegro_con_brio.flac
TITLE=buh-buh

So it appears that only the tag of "buh - buh" is a problem. If there is a space to the right or left of the hyphen it works fine.

Can this be fixed? It's killing a script for tag handling that i'm building and almost all classical tracks have hyphens with spaces

Thank you

Discussion

  • Sorry for the late response, but I'm not able to reproduce this. Which program are you using to tag the FLAC files? Using both metaflac and flac I'm not able get this 'double tag' issue.