快速登录:  

Forum: VirtualDJ Technical Support

话题: 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
locoDogPRO InfinityModeratorMember since 2013
nope it can't.
 

发表时间 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?
 

发表时间 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.
 

发表时间 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.

 

发表时间 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.
 

发表时间 Sat 04 Jan 20 @ 3:47 pm


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