登录:     


Forum: VirtualDJ Technical Support

Topic: Script for "Relocate Missing File"

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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

As always, TIA!
 

发表时间 Sat 04 Jan 20 @ 7:27 am
nope it can't.
 

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?
 

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.
 

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.

 

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.
 



(陈旧帖子或论坛版块会自动关闭)