Menu

#34 metaflac request ...

closed
metaflac (8)
5
2006-05-19
2004-05-24
No

it'd be nice to use the import tags from a text file
feature of metaflac on a broader scope, it seems you
can only do one file at a time. it'd be nice to hit
more at once.

i was thinking something like an INI file ...

an INI looks something like this:

[section1]
variable1=value1
variable2=value2

[section2]
variable1=value1
variable2=value2

so you allow metaflac to read from the INI file in such
a manner as:

[filename.flac]
tagname=value

maybe using a | (pipe) to give a tag multiple values like:

[song.flac]
artist=Jazzy-D|Mikey Mike

is the same as saying:

[song.flac]
artist=Jazzy-D
artist=Mikey Mike

you could also have a global section ... tags that
apply to all files in the same directory as the INI
even if those files aren't listed in the INI:

[global]
artist=Jimmy Joe Bob
album=Sings The Blues
year=1978
comment=File encoded by you@me.us

[thegreens.flac]
title=The Greens
track=1

[tallgrass.flac]
artist=|Cousin Louie
title=The Grass Is Too Tall
track=2

notice the pipe on the second track, that adds another
artist field; leaving out the pipe would replace the
global value.

also there could be reserved name/value pairs, like:

cuesheet=path\to\file\sheet.cue

to apply a cuesheet to a file

or

autoscheme=A - (N) T

to guess the values of the fields in question.

also possibly a config section (or file) that lists the
order tags are added for those of us who are anal and
don't like looking at a file in a hex editor and seeing
our tags in the wrong order.

just some ideas ...

dr.zick

Discussion

  • Josh Coalson

    Josh Coalson - 2004-05-25
    • assigned_to: nobody --> jcoalson
     
  • Sean Andrews

    Sean Andrews - 2004-06-09

    Logged In: YES
    user_id=630698

    josh, i see that you picked up this request.

    if you want to ask me anything, or whatever, drop me at
    thebrunger_AT_yahoo!_DoT_com

    i should've probably put that in my first post.

     
  • Josh Coalson

    Josh Coalson - 2006-05-19

    Logged In: YES
    user_id=78173

    out of all of these, the only one that seems like a real
    improvement is setting a tag value from a file (like a
    cuesheet). so I added --tag-from-file to flac and
    --set-tag-from-file to metaflac. it's checked in to CVS
    and will be in the next release.

    if you want to see the order comments are stored, just use
    metaflac --list

    Josh

     
  • Josh Coalson

    Josh Coalson - 2006-05-19
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB