hello,
i'm trying to get from media monkey 3 things:
1: Artist
2: Album
3: Song
and i want to show the result in a multi OSD line Like in Eventghost you can you \n or in de OSD action just type a enter in the text
i tried thing like
(http://img593.imageshack.us/img593/4733/capturerx.png)
and also tried the \n and the hard enter in the parameter text.
hope you can understand what i mean
Greats
Try {cr}
Results.Regex parameters :(.*)
OSD.ShowText parameters Title: {match.5}{cr}Artist: {match.7}{cr}Album: {match.8}{cr}Year: {match.10}
Edit by james: I tuned off smileys because it was screwing up the :( in the regex parameters !
Nope didn't worked
Thanks anyway!
Any one else who has a idee?
Wanilton is giving you the correct solution. make sure you are using a recent version like the one found in the first post here: http://voxcommando.com/forum/index.php?topic=314.0
{cr} is the correct method of doing multiple lines in OSD. You can't put multiple OSD actions in a row or they will just overwrite each other. You need to put them all on the same call.
OSD.Showtext line1{cr} line2{cr} line3...
i though he wrote \r, but now i see {cr}, gonne try it now ...
oke so the multi line OSD works,
my only problem now is that i don't know how i can get the Artist, Album, Song and Year in one variable.
so that i can write them in a multi line OSD like:
Artist: result(1){cr} Album: result(2){cr} Song: result(3) {cr} Year: result(4)
thanks in advanced!
yes, Wanilton's answer was for XBMC which returns all the song info with a single command, and we then use regular expressions to break it up. MediaMonkey only returns one at a time, so we need to store each in a user variable. This is a new feature so anyone who is interested in storing variables can take a look at the attached group.
to store a variable we first use a command that returns information
then we store it with the command
Results.StoreLast myVariableName
later to use the variable in OSD or TTS commands, instead of using {lastresult} we use {var.myVariableName}
the results will remain stored in the variable until you close VoxCommando, or overwrite the variable with new data.
thanks man you are the best!
gonne try it when i am home
THANKS XD