On one of the recent software updates, I have lost all the user field values (Field 1) I had set on all my songs. In the previous database, the user field is set as Tag ="value" After a recent upgrade, the user field is now named User1. I tried copy & pasting a the bulk of the previous database into the new one and replacing Tag with User1, but get the corrupt database error. Any ideas?
VirtualDJ Local Database v6 (previous database)
<VirtualDJ_Database Version="742">
<Song FilePath="G:\_Music\AA_House\Michelle Weeks & Voices 2 - Can U See The Light ( Kings Of Tomorrow remix ).mp3" FileSize="16044643">
<Display Color="9445390" Cover="2" Tag="1" />
<Infos FirstSeen="106082257" />
</Song>
database.xml (New database created by upgrade)
<VirtualDJ_Database Version="8.2">
<Song FilePath="G:\_Music\AA_House\Lenny Williams - You Got Me Running (Danny Krivit Breakdown Edit).mp3" FileSize="8296489">
<Tags Remix="Danny Krivit Breakdown Edit" User1="3" Flag="2" />
<Infos SongLength="259.265306" FirstSeen="1496956630" FirstPlay="1497214446" LastPlay="1497214446" PlayCount="1" Bitrate="256" Color="4278214871" />
<Scan Version="800" Bpm="0.507279" AltBpm="0.378832" Volume="0.816383" Key="E" Flag="32768" />
</Song>
VirtualDJ Local Database v6 (previous database)
<VirtualDJ_Database Version="742">
<Song FilePath="G:\_Music\AA_House\Michelle Weeks & Voices 2 - Can U See The Light ( Kings Of Tomorrow remix ).mp3" FileSize="16044643">
<Display Color="9445390" Cover="2" Tag="1" />
<Infos FirstSeen="106082257" />
</Song>
database.xml (New database created by upgrade)
<VirtualDJ_Database Version="8.2">
<Song FilePath="G:\_Music\AA_House\Lenny Williams - You Got Me Running (Danny Krivit Breakdown Edit).mp3" FileSize="8296489">
<Tags Remix="Danny Krivit Breakdown Edit" User1="3" Flag="2" />
<Infos SongLength="259.265306" FirstSeen="1496956630" FirstPlay="1497214446" LastPlay="1497214446" PlayCount="1" Bitrate="256" Color="4278214871" />
<Scan Version="800" Bpm="0.507279" AltBpm="0.378832" Volume="0.816383" Key="E" Flag="32768" />
</Song>
geposted Sun 11 Jun 17 @ 9:32 pm
First of all the "User1" (and "User2") attributes don't belong inside the <Tags /> key
They belong inside the <Infos /> key
Second:
The User1 and User2 fields are exclusive to VirtualDj database. These fields are NOT getting extracted by tags, nor their information is saved inside tags.
Third:
VirtualDJ 7 also used the same attributes (User1 and User2) for these database entries.
Finally:
On your example the first track (from VirtualDj 7) does not have any User1 / User2 data stored.
The Tag="1" attribute is an internal attribute to the software (that the file has a tag) and does not actually contain any user defined data.
You should see User1 and User2 attributes on VirtualDj 7 database as well, and these should be carried over on VirtualDj 8 as well.
They belong inside the <Infos /> key
Second:
The User1 and User2 fields are exclusive to VirtualDj database. These fields are NOT getting extracted by tags, nor their information is saved inside tags.
Third:
VirtualDJ 7 also used the same attributes (User1 and User2) for these database entries.
Finally:
On your example the first track (from VirtualDj 7) does not have any User1 / User2 data stored.
The Tag="1" attribute is an internal attribute to the software (that the file has a tag) and does not actually contain any user defined data.
You should see User1 and User2 attributes on VirtualDj 7 database as well, and these should be carried over on VirtualDj 8 as well.
geposted Mon 12 Jun 17 @ 9:35 am
Thanks very much for your reply & the info. The fact is one of the recent upgrades has resulted in my losing the user field values of more than a thousand songs. I thought that the database was written to the root of the drive, so the one I have been backing up (named VirtualDJ Local Database v6) appears not to be the one containing the user field values. (Perhaps the V6 was the clue! As far as I can see, it appears that the database lives here G:\VirtualDJ\database.xml and that a recent upgrade appears to have resulted in my lost user fields.
My songs are on drive G: and I open version 8 and update user fields for songs, the database G:\VirtualDJ\database.xml is updated and the User1 field is added to the Tags key as shown for me despite you saying they should be going to the info key. I am right clicking on a song and selecting tag editor and entering data into the Field1 field.
When I open version 7, Field 1 does not show any values for any songs, so It’s presumably opening a different database. When I select config, browser, Drive C: is shown in the database section. If I change this to G:, still no Field1 values are shown.
My songs are on drive G: and I open version 8 and update user fields for songs, the database G:\VirtualDJ\database.xml is updated and the User1 field is added to the Tags key as shown for me despite you saying they should be going to the info key. I am right clicking on a song and selecting tag editor and entering data into the Field1 field.
When I open version 7, Field 1 does not show any values for any songs, so It’s presumably opening a different database. When I select config, browser, Drive C: is shown in the database section. If I change this to G:, still no Field1 values are shown.
geposted Mon 12 Jun 17 @ 8:58 pm
Sorry, my bad, User1 and User2 attributes indeed belong inside the <tags /> node.
As for the rest of you issues:
1) Yes, VirtualDJ 8 stores it's database inside "G:\VirtualDJ\database.xml" file.
2) "G:\VirtualDj Local Database v6.xml" was the database name for VirtualDj 6 & 7
3) VirtualDJ 8 uses different database than 7. Therefore any changes made via VirtualDJ 8 will not reflect on VirtualDJ 7. That goes the other way as well. Any changes made with VirtualDJ 7 won't show up in VirtualDJ 8
4) VirtualDJ 8 will read and convert a VirtualDJ 7 database to VirtualDJ 8 format if there's no VirtualDJ 8 database on the drive, or if the V8 database is at least one month older than the V7 one. In the second case a window will ask you if you want to convert the V7 database and overwrite your old V8 database.
5) In VirtualDJ 7, Config->Browser-Database has a drop down menu. By default it shows Drive C in order to perform check/clean/fix with that drive. You can use the drop down menu to select another drive to perform the same actions. Choosing another drive on the drop down menu does not mean that VirtualDj will use a different database. In fact VirtualDj (both 7 & 8) uses ALL databases from all connected drives at the same time. Each database contains infos for the tracks that are on the same drive with it.
Finally: Are you sure you didn't move/rename any files (or folder(s) containing your files) ?
Are you sure VirtualDj didn't prompt you to reconvert V7 database to V8 format and you answered yes ?
These are the only 2 reasons I can think off for loosing your data...
As for the rest of you issues:
1) Yes, VirtualDJ 8 stores it's database inside "G:\VirtualDJ\database.xml" file.
2) "G:\VirtualDj Local Database v6.xml" was the database name for VirtualDj 6 & 7
3) VirtualDJ 8 uses different database than 7. Therefore any changes made via VirtualDJ 8 will not reflect on VirtualDJ 7. That goes the other way as well. Any changes made with VirtualDJ 7 won't show up in VirtualDJ 8
4) VirtualDJ 8 will read and convert a VirtualDJ 7 database to VirtualDJ 8 format if there's no VirtualDJ 8 database on the drive, or if the V8 database is at least one month older than the V7 one. In the second case a window will ask you if you want to convert the V7 database and overwrite your old V8 database.
5) In VirtualDJ 7, Config->Browser-Database has a drop down menu. By default it shows Drive C in order to perform check/clean/fix with that drive. You can use the drop down menu to select another drive to perform the same actions. Choosing another drive on the drop down menu does not mean that VirtualDj will use a different database. In fact VirtualDj (both 7 & 8) uses ALL databases from all connected drives at the same time. Each database contains infos for the tracks that are on the same drive with it.
Finally: Are you sure you didn't move/rename any files (or folder(s) containing your files) ?
Are you sure VirtualDj didn't prompt you to reconvert V7 database to V8 format and you answered yes ?
These are the only 2 reasons I can think off for loosing your data...
geposted Tue 13 Jun 17 @ 12:27 am
6) if you have the need to convert a version 8 database back into a version 7 database you can use try this tool
http://virtualdj.com/plugins/index.html?addonid=80185
http://virtualdj.com/plugins/index.html?addonid=80185
geposted Tue 13 Jun 17 @ 7:23 am