快速登录:  

Forum: VirtualDJ Technical Support

话题: Renaming a directory problems

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

doug9474ControlleristMember since 2019

I tried renaming a directory from within VDJ and ran into some problems.

Original path:
C:\Users\Doug\Music\DJ Files\Music To Sort\From www

So, I went into the "Local Music" folder in VDJ, found "Music To Sort" and attempted to change to "My Files" (Using the File Operations > Rename... context menu). At first it gave me an error. I don't remember what the error was. I figured, maybe some file was in use. So, I tried it again, and it looked like it was successful.

Then I noticed, VDJ couldn't find many of my songs. Although for most files, VDJ successfully changed to the new path and can find the songs (see automix area).

https://drive.google.com/open?id=13LR-vIZpIU7GuN2_wXvB6o5U3ot4Yi6z

So I look at the file path where it thinks the "missing" files are, and see it's
C:\Users\Doug\Music\DJ Files\My Files\Music To Sort\From www

So instead of renaming the directory, for some files, it just added the new directory name to the path without removing the old one... Seems strange
https://drive.google.com/open?id=1GKXdqT1YNdjBXwnxB0FkBoTdLuycTjfP

So, I tried to go in the XML and edit it directly. I did a search and replace and found hundreds of files.
Now for this file, it has the correct path:

<Song FilePath="C:\Users\Doug\Music\DJ Files\My Files\From www\Sem Palavras.m4a" FileSize="3561715">
<Tags Author="Gerilson Insrael" Title="Sem Palavras" Year="2017" Bpm="0.666667" Key="Fm" Flag="1" />
<Infos SongLength="224.235102" FirstSeen="1563755473" FirstPlay="1564817229" LastPlay="1570382116" PlayCount="76" Bitrate="126" Color="4278195999" Cover="16386" />
<Comment>#sexy</Comment>
<Scan Version="801" Bpm="0.666667" AltBpm="0.444444" Volume="0.981744" Key="Fm" Flag="33024" />
<Poi Pos="0.087075" Type="automix" Point="realStart" />
<Poi Pos="9.077551" Type="automix" Point="cutStart" />
<Poi Name="Horn" Pos="10.738685" Num="3" Color="4294967040" Type="cue" />
<Poi Pos="10.944423" Type="automix" Point="fadeStart" />
<Poi Name="Voice" Pos="20.527117" Num="1" Color="4294901760" Type="cue" />
<Poi Pos="21.418051" Type="beatgrid" />
<Poi Pos="24.749388" Type="automix" Point="tempoStart" />
<Poi Name="VoiceOut" Pos="182.040133" Num="2" Type="cue" />
<Poi Pos="202.071655" Type="automix" Point="cutEnd" />
<Poi Pos="203.750000" Type="automix" Point="fadeEnd" />
<Poi Pos="221.484989" Type="automix" Point="realEnd" />
</Song>

However, VDJ ignores my edits, and the path in VDJ is still incorrect.

So, two things:
1) Bug report: VDJ didn't correctly change the file paths, but only for some files.
2) Question: How can I now make VDJ have the right path for hundreds of files. Apparently changing the XML has no effect. I'm not sure where it's getting it's data from.
 

发表时间 Mon 07 Oct 19 @ 11:57 am
doug9474ControlleristMember since 2019
I notice that it still has the wrong path in the playlist for some songs. About to do a search and replace in all of those files and see what happens.

Also:

I'm using Windows 10 v8.4
 

发表时间 Mon 07 Oct 19 @ 12:19 pm
doug9474ControlleristMember since 2019
Did a search and replace on all files in playlist directory. That worked.

So, the only issue is finding out why that happened in the first place, and hopefully fixing in future versions.

Thanks,
Doug
 

发表时间 Mon 07 Oct 19 @ 12:38 pm


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