Accesso rapido:  

Forum: VirtualDJ Skins

Topic: repeat_start in videoskins
NicotuxHome userMember since 2014
Is there a way to stop a repeat script initiated from within a videoskin i.e.using pad or custom button ?

videoskin Repeat script appear in list as any other, but will not stop with a repeat_stop out of videoskin itself
any repeat script with same name from pad or custom button is creating a new repeat script with same name

as I added the toggle script in a menu entry may be this can be accessible from script too ?
 

Inviato Thu 23 Sep 21 @ 9:14 pm
locodogPRO InfinityModeratorMember since 2013
could the repeat query a global variable? I don't know, just an idea
 

Inviato Thu 23 Sep 21 @ 9:51 pm
NicotuxHome userMember since 2014
Ah yes this is a possibility of workaround
Use a gobal variable in the loop in a way to stop it
 

Inviato Thu 23 Sep 21 @ 9:56 pm
AdionPRO InfinityCTOMember since 2006
How do you initiate a repeat from a video skin in the first place?
 

Inviato Fri 24 Sep 21 @ 4:19 am
NicotuxHome userMember since 2014
As the action of a menu item in video skin option
<optionsmenu>
<item text="Active" localize="true" action="repeat_start px ? repeat_stop px &amp; ..."/>
 

Inviato Fri 24 Sep 21 @ 4:47 am
NicotuxHome userMember since 2014
not related directly - but discovered in the same context (moving logos videoskin) :
icons do not show in videoskin they only display a black square instead (even specifying customicons file)
(now i found a way to to move images and texts on output with mouse or touch screen, I also tested icons)
 

Inviato Fri 24 Sep 21 @ 5:07 am
AdionPRO InfinityCTOMember since 2006
Shouldn't matter where they are started from.
Do keep in mind that repeat scripts are deck-dependent, so perhaps explicitly adding a deck to both the menu and the pad page could also work.
 

Inviato Fri 24 Sep 21 @ 7:50 am
NicotuxHome userMember since 2014
Explicitly adding deck does not seem to work
tested forcing repeat on a deck without success
tested get_deck & param_cast text & debut before repeat : reports action deck
tested "repeat_start px ? get_deck & param_cast text & debut :" in action deck not detected
tested starting a repeat in action deck (two repeats)
also tested "deck all repeat_start px ? get_deck & param_cast text & debut :" only detect the one started from deck
tested with various other "virtual decks" too, specially "master" "video" "playing" ...

repeat scripts are deck-dependent the output channel must be a specific independent deck with no name
 

Inviato Fri 24 Sep 21 @ 9:19 am