Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Script for "Relocate Missing File"

This topic is old and might contain outdated or incorrect information.

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

As always, TIA!
 

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

Posted 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?
 

Posted 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.
 

Posted 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.

 

Posted 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.
 

Posted Sat 04 Jan 20 @ 3:47 pm


(Old topics and forums are automatically closed)