INTERACT FORUM
More => Old Versions => Media Center 11 (Development Ended) => Topic started by: c1c9k72 on March 02, 2004, 09:21:55 pm
-
I've just found that you can use HTML coding within the LYRICS field of Media Center. While I'm not exactly sure what I want to do with this new nugget of information, I'm curious if anyone has an idea how I could quickly and cleanly replace all of the line feeds (^p) in my library to the HTML equivalent (
)?
Thanks in advance.
-
Have you tried Library Tools> Find and Replace.
(Select a small number of files first in case is doesn't do what you expect.)
-
Yes, I know about Find and Replace. I guess my real question is how to I indicate to the program I want to find the line feeds. It doesn't recognize ^p.
-
Since I figured it out myself, but others may be interested in the method, I figure I'll just reply to myself. I don't believe there is a way to find line feeds within Media Center, so using an external Hex editor, I opened the mediafiles.jmd file and did a simple find-and-replace.
Replacing 0D 0A 0D 0A with 3C 62 72 3E generates a
at the end of every lyric line. It's not a perfect system, since it puts two or three
s together and that only seems to get a single line feed, but I'm still working on perfecting the system.
-
I opened the mediafiles.jmd file and did a simple find-and-replace.
This may not be a wise thing to do since other fields in the database may use line feeds for reasons you or i do not understand and can then corrupt your database.
-
I thought of that too, made a backup and did some preliminary testing on the file. There doesn't seem to be any other situation in that file where that particular arrangement of characters are used.
Now, that is with the caveat that in my file those characters don't show up. I would guess though that they do appear in other long character strings where line feeds are found. If someone has liner notes or other large wordy things, it'll probably affect them too.