On Tuesday 2007-01-09 19:15:30 +0100, Brice Goglin wrote: > Stefano Sabatini wrote: > > Unfortunately this wasn't possible because lltag only recognizes the > > standard MP3 ARTIST(%a), ALBUM(%A), TITLE(%t), NUMBER(%n), DATE(%d) > > and few other tags while renaming, when most ogg vorbis tagging > > programs (e.g. sound-juicer, XMMS, tagtool) use by default the > > corresponding artist, album, title, tracknumber, date etc. tags. > > > > So you think my current list > artist/album/title/number/genre/date/comment misses things? > > > While it's not a problem when setting user-defined vorbis tags using e.g.: > > lltag --tag artist="Foo bar" --tag title="The foobar song" foobar.ogg > > > > May I ask why you need this syntax instead of -a "Foo bar" -t "The > foobar song" ? >
I'm facing this problem. I rip my CD, encode all the tracks and then write all the relevant tags with lltag, possibly using the nice CDDB frontend. At this point all my files have the adequate ARTIST, TITLE, COMMENT, ALBUM, DATE tags values filled, and I ask no more. So far, so good. But then I play the file with XMMS, and I change the tags information of the file using the Control-3 shortcut. Strange enough, now the tags have been changed. Here it is an example: # before using XMMS to change the tags [EMAIL PROTECTED]:$ lltag -S audio.ogg audio.ogg: ARTIST=Various TITLE=Chico Buarque / Samba de Orly ALBUM=Brasil L'arte della Bossa Nova (disc 3) NUMBER=1 GENRE=Bossa Nova DATE=2003 COMMENT=Processed by SoX # after using XMMS to change the tag [EMAIL PROTECTED]:~$ lltag -S audio.ogg audio.ogg: tracknumber=1 album=L'arte della Bossa Nova artist=Chico Buarque comment=Processed by SoX date=2003 title=Samba de Orly genre=Bossa Nova now I can't rename the file using lltag --rename "%n - %t" audio.ogg because XMMS removed the NUMBER and ARTIST tags, replacing them with the corresponding *low-cased* tracknumber and artist tags. You may say that's fault of XMMS, but not only XMMS seems to prefer the low-cased artist, comment, tracknumber tags etc. against the ARTIST, COMMENT, NUMBER etc. ID3v1 tags, so in my cases I ended up with lots of files I can't easily rename with lltag (at least without scripting). > > it's not possible to rename files using these tags (and the only > > viable option is to define the ARTIST, TITLE, etc. tags). > > > > Yes, that's a problem. > > But, since I expect most people to use the regular options -a -A -t -n > -d -g -c instead --tag, I thought it was not that bad to not be able to > rename using the value passed to --tag. Additionally, it is still > possible to hardcode the value passed to --tag directly in the format > passed to --rename :) > > I am aware that --tag is not really useful so far. I planned a long time > ago to improve it. But, it is not easy to design, so it is not improving > very quickly :( > I don't think so: --tag is *really* useful with ogg files because it let you define user defined tags (and not only a limited set of tags), so you don't need to hardcode new options to define them. > > > It would be nice to let the user specify the eventually user-defined > > tags values to use when renaming, for example introducing the tagtool > > syntax: > > lltag --no-tagging --rename "<tracknumber> - <title>" foobar.ogg > > > > > Right, it could be good. But, first I need to decide the list of > "common" tags that I support. The "tracknumber" and "title" above are > obvious. The 5 other ones that I already support are ok too. But, I was > planning to support ID3v2 tags in MP3 files (I only support ID3v1 so > far). And, ID3v2 tags have very complex and precise names, for instance > the following ones are similar to my "author": > Lead performer(s)/Soloist(s) > Band/orchestra/accompaniment > Conductor/performer refinement > Interpreted, remixed, or otherwise modified by > There are tons like this. So I need to extract a list of tags which is > common to all file format I support. But also large enough to eventually > be as precise as ID3v2 tags are. Not easy :( If you have an advice... > You don't need to define the common tags if you leave the syntax as generic as possible. Inside the brackets I meant a generic string that should match any user defined tag key, not necessarily a string from a predefined subset (but the program should complain in the case it can't find any tag key equal to the specified string). So in your example it could work like this: lltag --notagging --rename "<tracknumber> - <Band> - <preferred fruit of the performer>" tagtool already has such a similiar feature, so I thought it could be possible to support it either in lltag. > Anyway, you might get improvements about all this in lltag in the > future, but it might take some time :) > > Thanks, > Brice > > Best regards, Stefano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]