Quick Sign In:  

Forum: Wishes and new features

Topic: Wish for a verb or variable that indicates the Played state for track in a deck
Would love to have a verb/variable that changes state when a playing track is marked played, by VDJ, as set by historyDelay.

or to remove the ON/OFF action of not_played before the historyDelay time is reached.

So that a script could be written to do one thing before the historyDelay time is reached and another after:

played ?  action1 : action 2
 

Posted Mon 07 Mar 22 @ 10:08 am
locoDogPRO InfinityModeratorMember since 2013
to what end? I can think up 3 ways without thinking that hard, but for what purpose would make deciding which one easier.
 

Posted Mon 07 Mar 22 @ 10:25 am
AdionPRO InfinityCTOMember since 2006
Something like get_song played already exists too I think?
 

Posted Mon 07 Mar 22 @ 10:46 am
AlreadyPlayed should work..

get_loaded_song alreadyplayed


get_loaded_song alreadyplayed & param_equal 'yes'  ?  do this : else do this 
 

Posted Mon 07 Mar 22 @ 11:02 am
locoDogPRO InfinityModeratorMember since 2013
is that tested? I just tried it here with no joy.
 

Posted Mon 07 Mar 22 @ 11:09 am
Works like a charm
 

Posted Mon 07 Mar 22 @ 11:12 am
locoDogPRO InfinityModeratorMember since 2013
Ah it's the "yes" throwing me off, I was testing with 1/0 true/false.
 

Posted Mon 07 Mar 22 @ 11:20 am
Thank you locodog, Adion and Rune..

get_loaded_song alreadyplayed & param_equal 1

works perfectly for a "played" indicator

Again big thanks !
 

Posted Mon 07 Mar 22 @ 11:43 am