JJZolx;552052 Wrote: > Yes, use $meta_sep 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 > > > > 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
And if you wanted to do this for multiple fields? 1. Action type: Format value Field: ARTISTSORT Format string: $meta_sep(artist,\\) 2. Action type: Replace with regular expression Field: ARTISTSORT Regular expression: $meta_sep(^(.+)\s(.+)$,\\) Replace matches with: $2, $1 [ ] case-sensitive comparison ????????? I'm sure I'm wrong. Can you use $meta_sep in regular expressions? -- crazyj ------------------------------------------------------------------------ crazyj's Profile: http://forums.slimdevices.com/member.php?userid=34883 View this thread: http://forums.slimdevices.com/showthread.php?t=79183 _______________________________________________ ripping mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/ripping
