Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Detecting Video in Script

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

djkrysrPRO InfinityMember since 2010
Hi
What is the most efficient way of detecting if a music video is being played in VDJScript.
The query "is_video" unfortunately is true if a karaoke song is being played as well as music videos,
i've played with
"get_loaded_song 'filename' & param_contains '.mp4 '", which works but i also have to check for 'm4v', 'avi' etc

So is there a simple query that will return true only if a music video is being played.
Thanks
 

Posté Mon 16 Mar 20 @ 7:02 pm
NicotuxHome userMember since 2014
get_loaded_song type
 

Posté Mon 16 Mar 20 @ 7:26 pm
djkrysrPRO InfinityMember since 2010
Great
thanks for the quick reply.
 

Posté Mon 16 Mar 20 @ 8:04 pm

Keep in mind that an mp4 video is just a video, even if it has karaoke text displayed
So if not tagged as karaoke, it wont be a karaoke file (tag as karaoke in tag editor)
 

Posté Mon 16 Mar 20 @ 8:16 pm


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