crazyj;552044 Wrote: > Maybe I'm not getting actions and regular expressions. > > I'm trying to create an action to 'move' a tag value from COMPOSER to > LYRICIST, and another to do the opposite. It doesn't seem to work on > tags with multiple entries (i.e. FLAC with multiple artists, genres, > composers, etc. I've been told to use $meta_sep, but that doesn't > work, or I'm not getting syntax right.
Yes, use $meta_set with double backslashes. The double backslashes tells Mp3tag to create separate fields. So say you had one or more files tagged ARTIST=Joe Smith ARTIST=Bill Johnson To copy the fields to, say, COMPOSER, you could use a single action -Action type:- *Format value* -Field:- *COMPOSER* -Format string:- *$meta_sep(artist,\\)* And you end up with ARTIST=Joe Smith ARTIST=Bill Johnson COMPOSER=Joe Smith COMPOSER=Bill Johnson > Also, anyone ever create an action to create ARTISTSORT from ARTIST (ie. > ARTISTSORT=Dylan,Bob from ARTIST=Bob Dylan) I do this with an action group consisting of two individual actions. The first just copies ARTIST into ARTISTSORT. The second uses a regular expression to swap the first and last name. 1. -Action type:- *Format value* -Field:- *ARTISTSORT* -Format string:- *%artist%* 2. -Action type:- *Replace with regular expression* -Field:- *ARTISTSORT* -Regular expression:- *^(.+)\s(.+)$* -Replace matches with:- *$2, $1* [ ] case-sensitive comparison -- JJZolx Jim ------------------------------------------------------------------------ JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=79183 _______________________________________________ ripping mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/ripping
