Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: failed to Copy Lyrics (Multi-line) tag (Read 2231 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

failed to Copy Lyrics (Multi-line) tag

My Lyrics format:

Tag: Lyrics
Tag Value:
Line1
Line2
Line3
Line4

copy command: <%Lyrics%>

but  it only copies first line, whenever I copy like this Line1 (...)

I like to copy whole lyrics to clipboard

How do I do that?

 

failed to Copy Lyrics (Multi-line) tag

Reply #1
RTFM

Quote
* Fields:
- %fieldname% - inserts metadata field named <fieldname>, eg. "%artist%"
- %__fieldname% - inserts tech info field named <fieldname>, eg. "%__bitrate%"
- special fields: %_path%, %_path_raw%, %_filename%, %_filename_ext%, %_directoryname%, %_subsong%, %_foobar2000_version%, %_length%, %_length_seconds%
- special fields (playlist and copy command): %_isplaying%, %_ispaused%, %_playlist_number%
- special fields (status bar, window title and copy command): %_time_elapsed%, %_time_remaining%, %_time_total%, %_time_elapsed_seconds%, %_time_remaining_seconds%, %_time_total_seconds%, %_ispaused%
- note: %_time_total% / %_time_total_seconds% get data from playback core while %_length% / %_length_seconds% get data from database, in some rare cases either of them may be more reliable
- note: all %...% fields automatically truncate multiline strings, if you don't want that, see $meta() function
- hint: you can see all metadata (%blah%) and tech info (%__blah%) fields in file info box

* Colors (playlist and status bar only):
- XXXXXX - set text color to XXXXXX, where XXXXXX is new text color in hex; will invert the color on selected fields
- XXXXXX|YYYYYY - set text color to XXXXXX on non-selected fields and to YYYYYY on selected fields
-  - reset to default color

* Right-aligned text (playlist and status bar only):
- use tab character (or "$char(9)") to indicate right-aligned text (eg. track length)

* Functions:
- $abbr(x) - inserts abbreviation of x, eg. "$abbr(%album%)" - will convert album name of "Final Fantasy VI" to "FFVI"
- $abbr(x,y) - inserts abbreviation of x if x is longer than y characters; otherwise inserts full value of x, eg. "$abbr(%album%,10)"
- $lower(x), $upper(x) - converts x to in lower/uppercase, eg. "$upper(%title%)"
- $num(x,y) - displays x number and pads with zeros up to y characters (useful for track numbers), eg. $num(%tracknumber%,2)
- $caps(x) - converts first letter in every word of x to uppercase, and all other letters to lowercase, eg. "blah BLAH" -> "Blah Blah"
- $caps2(x) - similar to $caps, but leaves uppercase letters as they are, eg. "blah BLAH" -> "Blah BLAH"
- $if(A,B,C) - if A contains at least one valid tag, executes/displays B, otherwise executes/displays C; eg. "$if(%artist%,%artist%,unknown artist)" will display artist name if present; otherwise will display "unknown artist"; note that "$if(A,A,)" is equivalent to "[A]" (see below)
- $if2(a,B) - same as $if(a,a,B)
- $ifgreater(a,b,c,d) - if number a is greater than number b, display/execute c, otherwise disply/execute d
- $iflonger(a,b,c,d) - if string a is longer than b characters, display/execute c, otherwise display/execute d
- $longest(A,B,C,....) - compares lengths of output strings produced by A,B,C... and displays the longest one, eg. "$longest(%title%,%comment%)" will display either title if it's longer than comment; otherwise it will display comment
- $len(x) - returns length of string X in characters
- $pad(x,y), $pad_right(x,y) - pads x with spaces up to y characters
- $cut(x,y) - truncates x to y characters
- $padcut(x,y), $padcut_right(x,y) - pads x to y characters and truncates to y if longer
- $insert(a,b,n) - inserts string b into string a after n characters
- $add(x,y), $sub(x,y), $mul(x,y), $div(x,y), $mod(x,y), $min(x,y), $max(x,y) - various math operations
- $left(x,y) - returns y first characters of string x
- $right(x,y) - returns y last characters of string x
- $and(x,y), $or(x,y), $xor(x,y), $not(x) - logical operations, for use with $if()
- $fix_eol(x), $fix_eol(x,y) - truncates multiline strings, adding " (...)" (version 1) or y (version 2) at the end
- $meta(x) - inserts value of metadata field named x, eg. "$meta(artist)"; same as %artist% except it doesn't truncate multiline values
- $meta(x,y) - inserts y-th value for metadata field named x, used for multiple values per one field name (eg. multiple artists - $meta(artist,1), $meta(artist,2))
- $meta_sep(x,y), $meta_sep(x,y,z) - inserts metadata field named x, with custom separators for multiple values, eg. "$meta(artist,', ',' and ')" for three artists named A, B, C will produce this - "A, B and C"
- $meta_num(x) - inserts number of present values for metadata field x
- $info(x) - inserts tech info field named x, eg. "$info(bitrate)" is same as %__bitrate%, except it doesn't truncate multiline values
- $char(x) - inserts unicode character no. x, eg. "$char(3)" produces the character controlling color codes in playlist
- $strcmp(x,y) - returns "1" when strings x and y are identical, empty string otherwise; intended for use with $if()
- $stricmp(x,y) - non-case-sensitive version of $strcmp(x,y)
- $directory(x), $directory(x,n) - extracts directory name from file path, optionally goes up by n directory levels, eg. $directory(%_path%,2)
- $greater(x,y) - compares two integers, tests if x>y, intended for use with $if() and logical operators
- $longer(x,y) - compares two strings, tests if x is longer than y, intended for use with $if() and logical operators
- $strchr(x,y) - finds first occurence of character y in string x
- $strrchr(x,y) - finds last occurence of character y in string x
- $strstr(x,y) - finds first occurence of string y in string x
- $progress(a,b,c,d,e) - displays progress bar, eg. $progress(%_time_elapsed_seconds%,%_time_total_seconds%,20,'#','=') will display something like "====#===============", with the # character moving with playback position
- $progress2(a,b,c,d,e) - displays progress bar, eg. $progress(%_time_elapsed_seconds%,%_time_total_seconds%,20,'#','=') will display something like "#####==============="
- $select(n,a,b,c,....) - returns n-th of a,b,c... params
- $repeat(x,y) - repeats x y times
- $replace(a,b,c) - replaces all occurances of string b in string a with string c
- $ext(x) - extacts extension from file path / file name, eg. $ext(%_path%)
- $substr(a,b,c) - returns substring of string a, starting from b-th character and ending at c-th character, eg. $substr('blah',1,2) returns 'bl'
- $rgb(a,b,c), $rgb(a,b,c,d,e,f) - converts decimal color values to color codes (see colors above)
- $transition(a,b,c) - generates color codes between characters in string a, interpolationg colors from b to c
- $blend(a,b,c,d) - generates a color in c/d between colors a and b
- $rand() - generates a random number in range from 0 to 2^32-1

* Variable operations.
Variables allow you to store intermediate results of text processing, in order to reduce size of your formatting string.
Variables are *not* kept between instances of title formatting process, or allow you to modify actual file info.
Usage:
- $put(name,text) - sets variable named <name> to <text> and returns <text>, eg. "$put(x,blah)" sets variable x to 'blah' and returns 'blah'. - $puts(name,text) - same as $put(name,text), but returns emtpy string.
- $get(name) - returns value of variable <name>, eg. "$puts(x,blah)$get(x)$get(x)" will return 'blahblah'.

* Other:
- [ .... ] - displays contents of brackets only if at least one of fields referenced inside has been found, eg. "%artist% - [%album% / ]%title%" will hide [] block if album field is not present; note that mixing brackets with $functions may give unpredictable results and should be avoided (use $if() instead)
- ' (single quotation mark) - outputs raw text without parsing, eg, 'blah$blah%blah[][]' will output the contained string and ignore all reserved characters (%,$,[,]) in it; you can use this feature to insert square brackets for an example.
- end-of-line characters are ignored; use $char() to force weird character sequences if you need them; you can safely split your string into multiple lines without affecting its output
- "//" - comments, can be placed only at the beginning of new line, they prevent any characters following them until the end of line from being parsed

eg. "[%artist% - ][$abbr(%album%,10)[ %tracknumber%] / ]%title%"