Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Script for "Relocate Missing File"

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

Can this be scripted? Can't find it under the current list.

As always, TIA!
 

Posté Sat 04 Jan 20 @ 7:27 am
locoDogPRO InfinityModeratorMember since 2013
nope it can't.
 

Posté Sat 04 Jan 20 @ 7:29 am
Limitation based on the fact that it brings up an OS window?

I've also noticed that some songs disappear again when "relocated." For example, when I complete the command, then navigate away from the playlist holding the offending files, as soon as I go back to that playlist, they are marked as missing again.

Any insight?
 

Posté Sat 04 Jan 20 @ 7:43 am
If you know a bit of JavaScript you could always check out the package I just released which would allow you to script things like this:

https://github.com/silverspex/vdj-data

If I get the time I might write a demo script that will scan drives to update path or move them to a default one. But no promises - I'm drowning in work these days.. see first if it's something you can use.
 

Posté Sat 04 Jan 20 @ 10:22 am
DMayock13 wrote :

Any insight?

Probably related to when VDJ writes to the DB. As far as I'm aware, VDJ saves things when it closes.

 

Posté Sat 04 Jan 20 @ 11:07 am
AdionPRO InfinityCTOMember since 2006
groovindj wrote :
DMayock13 wrote :

Any insight?

Probably related to when VDJ writes to the DB. As far as I'm aware, VDJ saves things when it closes.


The database is saved almost instantly after changes are made, as are playlists.
Using the relocate function should also immediately update the playlists.

The only things stored on exit are the settings and the automix/sidelist/karaoke lists.
 

Posté Sat 04 Jan 20 @ 3:47 pm


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