More > JRiver Media Center 27 for Mac

Inserting characters into a field

(1/8) > >>

DmitryB:
Is there a way to insert a character into multiple lines in a field? Let's say I want to place quotation marks around every entry in the Name field (which is what I'm trying to do.) Any way to do this for every track in the album at once?

wer:
You could do a search and replace on the field. Replace ;  with ";"
You would then need 1 more step:
Add a leading " to every field, and add a trailing " to every field.
Those two steps can be done with the expression language, acting on all files at once.

DmitryB:
Hmm...replacing a words to have ; around it would still be replacing them one at a time.

I'm not sure I understand the second part, about adding fields. Don't know how to do that. I know the Find/Replace function.

wer:
You said "every entry" so I assumed you were talking about a list-style field in MC, where all entries are delimited by a ;

If you don't know the find and replace function, googling for "jriver find and replace" would show you this:
https://wiki.jriver.com/index.php/Find_and_Replace

A list field in MC, like Actors, is stored like this:
Robert De Niro;Al Pacino;Val Kilmer

A string field, like Name, is just a string. It doesn't have "lines" or multiple entries. So when you talk about every entry in the Name field, that doesn't make sense. Each Name field as only one entry, by definition.

If you meant you just want to surround the contents of every Name field with quotes, that is easy to do with expressions.

Select all the files you want to change, making sure you click on the Name column to select the last file.  Then hit F2.
You will be editing all the name fields at once.  Just type in the following:
="[Name]"

then hit enter.  Ctrl-Z will undo the change if you goof up.

This will change The Godfather  to "The Godfather"

Be careful making changes to large numbers of files all at once, since you seem new to this.

If all of this is not clear, you had better post and paste in the exact contents that you want to change and what you want to change it to as an example, plus add a screenshot.

RoderickGI:
Why on earth would you want to put quotes around entries in the [Name] field Dimitry?

It is easy to do, but it seems like a very strange thing to do.

Navigation

[0] Message Index

[#] Next page

Go to full version