Se Connecter:     


Forum: VirtualDJ Skins

Sujet: Using file_info action

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Hi there,

I'm trying to use the file_info action to get the tag window of the automix song (next song to come up)... In its description, the wiki says "opens the tag editor for the specified or loaded song".

Tried several spellings, ended to this one with no succes :

rightclick="file_info `get_automix_song 'filename'`"

How would I query the tag window for that song or a specific other one ?
 

Posté Thu 31 Mar 16 @ 3:53 pm
Hi fruit,
I've done this as followed in my skin "the thing"

<textzone visibility="automix">
<pos x="+5" y="-7"/>
<size width="300-35-5-5" height="18"/>
<tooltip>Automix Upcoming</tooltip>
<text size="18" scroll="yes" color="#aaaaaa" align="left" weight="bold" action="get automix_song 'author'"/>
</textzone>
<textzone visibility="automix">
<pos x="+5" y="+10"/>
<size width="300-35-5-5" height="18"/>
<tooltip>Automix Upcoming</tooltip>
<text size="18" scroll="yes" color="#aaaaaa" align="left" weight="bold" action="get automix_song 'title'"/>
</textzone>
 

That's not what I asked but thanks anyway ^^

I want to bring the TAG EDITOR for that specific song...
 

Try eliminating the underscore between "get" and "automix_song".
 

file_info does not accept parameters.
Therefore it will NOT bring up tag editor for a specified file.

The behavior of file_info is this:
1) If called from a deck (deck 1 file_info, deck left file_info, e.t.c.) then it will show the Tag Editor for the track loaded on that deck.
2) If it's called without a deck then it will show the Tag Editor for the track that's selected on browser (any part of the browser, sidelist, automix, main songs windows, e.t.c)
 

Sorry for going in the wrong direction ...
 

PhantomDeejay wrote :
file_info does not accept parameters.
Therefore it will NOT bring up tag editor for a specified file.

Ok, noted ^^

Could be good to review the description of this verb in wiki pages cause it's a bit confusing...

Thanks !
 

file_info can indeed accept a parameter with the file name.
I'm not quite sure how to get the parameter in there at present however.
Currently backticks (`) only work in a limited number of places (get_text and param_equal, ...)

You could try get_automix_song 'filename' & file_info
 

I tried that too, it will bring the tag editor, but for the actually playing song, not the song to come next.

I tried also with get automix_song. As suggested above.

What is the diff between get_automix_song and get automix_song ?
 

It is how it is. For my interest: why do you want to tag the upcoming song and not the playing one?
 

Uh?? I would say.... Why not ? hahahahaha

All the title fields in my skin are rightclickable, to show this window. SO, if I put somewhere the next song infos, title and artist, and I rightclick the title, I want to see the tag window coming as well, for that specific song.

And I should've added :
The action get_automix_song 'rating' doesn't work.
 

@ Fruit,

get_automix_song 'stars' will work
 

Oh yes... BTW, get_automix_song 'rating' works as well...

I just didn't try with a rated song... And I was expecting a numeric value (i.e. 0-5), not some little stars...
On the loaded decks it returns a number.

Works well then, both spellings ! Solved.

Thanks !
 



(Les anciens sujets et forums sont automatiquement fermés)