快速登录:  

Forum: VirtualDJ Skins

话题: Using file_info action

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

FruitPRO InfinityMember since 2003
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 ?
 

发表时间 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>
 

发表时间 Thu 31 Mar 16 @ 4:50 pm
FruitPRO InfinityMember since 2003
That's not what I asked but thanks anyway ^^

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

发表时间 Thu 31 Mar 16 @ 4:55 pm
Try eliminating the underscore between "get" and "automix_song".
 

发表时间 Thu 31 Mar 16 @ 5:07 pm
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)
 

发表时间 Thu 31 Mar 16 @ 5:38 pm
Sorry for going in the wrong direction ...
 

发表时间 Thu 31 Mar 16 @ 5:58 pm
FruitPRO InfinityMember since 2003
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 !
 

发表时间 Thu 31 Mar 16 @ 6:20 pm
AdionPRO InfinityCTOMember since 2006
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
 

发表时间 Fri 01 Apr 16 @ 4:20 am
FruitPRO InfinityMember since 2003
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 ?
 

发表时间 Fri 01 Apr 16 @ 5:06 am
It is how it is. For my interest: why do you want to tag the upcoming song and not the playing one?
 

发表时间 Fri 01 Apr 16 @ 5:14 am
FruitPRO InfinityMember since 2003
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.
 

发表时间 Fri 01 Apr 16 @ 5:30 am
djjbPRO InfinityMember since 2004
@ Fruit,

get_automix_song 'stars' will work
 

发表时间 Sat 02 Apr 16 @ 6:01 am
FruitPRO InfinityMember since 2003
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 !
 

发表时间 Sat 02 Apr 16 @ 8:33 am


(陈旧帖子或论坛版块会自动关闭)