Accesso rapido:  

Forum: VirtualDJ Technical Support

Topic: Detecting Video in Script

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

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
 

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

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

Inviato 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)
 

Inviato Mon 16 Mar 20 @ 8:16 pm


(Vecchi argomenti e forum sono automaticamente chiusi)