Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: VDJ b4848 hangs after Batch "Reload Tags"

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

DHoudePRO InfinityMember since 2009
Hello, I updated to the latest public build 4848 this morning. I have been fixing some of my tags in iTunes and MP3 tag. Then Batch "Reloading Tags" in VDJ to import the fixes.

If I minimize VDJ after Reloading Tags, VDJ will not Maximize (come back into view) again. Then I figured out if I close VDJ after Reload Tags, VDJ gets hung in my task manager. It looks like VDJ closes but I can't reopen VDJ because Windows says it is still running. When I open Task Manager, Windows is right. If I force close VDJ I will be able to start it again.

I only seem to have an issue with VDJ after using Batch "Reload Tags" though. Anyone else have this issue?
 

Posted Sun 21 Apr 19 @ 2:40 pm
blckjckPRO InfinityMember since 2008
I did have an issue before that was similar. I worked out that it was still reading tags when I accidentally closed it. Maybe it was still reading stuff when you closed it?
 

Posted Mon 22 Apr 19 @ 12:58 am
That's what I was thinking. I wondered how many tags were reloading.

Ten? A hundred? Fifty thousand?
 

Posted Mon 22 Apr 19 @ 9:25 am
AdionPRO InfinityCTOMember since 2006
Should not matter, it should just cancel the remaining on exit. That might only be an issue if there is a single file that it gets stuck on for some reason.
Also doesn't explain the minimize/restore getting stuck.

Tried to reproduce but wasn't able to so far
 

Posted Mon 22 Apr 19 @ 9:58 am
DHoudePRO InfinityMember since 2009
Less than 100 songs. Just cleaning up some issues that Mixed in Key causes to my tags after re-tagging my library. I also found 1 corrupted .AIFF file. I removed that and replaced the file with a good re-downloaded file.

Any logging that I can run for you? I have been able to replicate this a few times. Seems stable now that I am not fixing tags, but scary operating that way.
 

Posted Mon 22 Apr 19 @ 4:03 pm
AdionPRO InfinityCTOMember since 2006
If you can replicate it with the same batch of files every time, try to select a smaller selection each time to find the file that caused it.
 

Posted Tue 23 Apr 19 @ 7:55 am
DHoudePRO InfinityMember since 2009
I will try that tonight when I get home.
 

Posted Wed 24 Apr 19 @ 1:10 pm
DHoudePRO InfinityMember since 2009
I have been able to replicate this a few times tonight but not reliably. I think I may have a better idea here.

1. Open VDJ - Don't play or load anything
2. Go to the VDJ browser tree on the left and reload iTunes playlists
3. Click on any iTunes playlist, I was just checking the new list to see if it was added.
3. Then I Reloaded the tags of only 2 songs. You can't Reload tags of less than 2 songs which is odd but usable still.
4. Scroll up and down in the VDJ browser so the tag updates actually show.
5. Minimized VDJ for about 5 min.

Now is when VDJ shouldn't Maximize. If it does hang, VDJ needs Ctrl Alt Del and to be force closed. VDJ still shows as running in my bottom Quick Launch Apps bar. This also did not always happen first shot for me and you do not have to start over. Just minimize VDJ and try to maximize it again in aprox 5 min. I am not doing anything else with VDJ during this testing.

Possibly relivent:
VDJ was 32 bit b4848, Stock skin. Win 10 64 bit build 1809, up to date today. None of the other programs like MIK, iTunes or MP3 tag are running today, just VDJ. Minimize VDJ by the App icon in the Windows Quick Launcher bar. Not the "-" sign or Alt Tab to different windows.

The corrupt track from this weekend was an AIFF file. I have the original WAV file (it was a scratch sentence), so I took the WAV file and ripped a new AIFF (because AIFF supports tagging). 1 of the 2 tracks I Re scanned tonight was the newly encoded .aif file. That being said this can't be reproduced every time.

This weekend I removed the VDJ database folder from one of my internal drives (the F drive) there is nothing for VDJ on this drive. Long story why I did it.. I can't seem to find the ignore drives calculator or info on setting this value. It would be awesome if we could just set a drive letter and not need a documentation, and a calculator to figure out this setting. For now, this value was last set to "33554560". No idea what drive letters those are. My guess is "Z" (my mapped NAS drive) & "G" (USB back up drive letter).
 

Posted Fri 26 Apr 19 @ 1:59 am
NicotuxHome userMember since 2014
Ignore drive decode: Some math & logical operations just for fun
notes:
i wrongly use "^" as power operator here not as logical xor
and "<<" as the shift left operator
and % as binary indicator


Your Value:
-----------------
DEC : 33554560
HEX : 0x2000080
BIN : %10000000000000000010000000
DISC ZYXWVUTSRQPONMLKJIHGFEDCBA

there are 2 bits set thus there are 2 discs ignored
bits are 25 and 7 these are letters 26 and 8

Z = 2^25 = 1 << 25 = 33554432‬ = 0x2 00 00 00 = %10 00000000 00000000 00000000
H = 2^7 = 1 << 7 = 128 = 0x80 = %10000000
Z & H = 33554560

(the F drive)
F: = 2^5 = 1 << 5 = 32 = 0x20 = %100000

Z: & H: & F: = 33554592 = 0x2 00 00 A0 = %10 00000000 00000000 10100000

(the G drive)
G: = 2^6 = 1 << 6 = 64 = 0x40 = %1000000
Z: & H: & G: = 33554624 = 0x2 00 00 C0 = %10 00000000 00000000 11000000

Z: & H: & G: & F: = 33554656 = 0x2 00 00 E0 = %10 00000000 00000000 11100000

Quick memo for ignore drives :
Values are to be added (+) or anded (&) together to get the final value

A: = 2^0 = 1 << 0 = 1
B: = 2^1 = 1 << 1 = 2
C: = 2^2 = 1 << 2 = 4
D: = 2^3 = 1 << 3 = 8
E: = 2^4 = 1 << 4 = 16
F: = 2^5 = 1 << 5 = 32
G: = 2^6 = 1 << 6 = 64
H: =2^7 = 1 << 7 = 128
I: = 2^8 = 1 << 8 = 256
J: =2^9 = 1 << 9 = 512
....
Z: 2^25 = 1 << 25 = 33554432‬ = 0x2 00 00 00 = %10 00000000 00000000 00000000

THE OPPOSITE to ignore a drive
logical nand the drive value from an existing value
or subtract from ALLDRIVES
NEVER SUBTRACT from an existing value, this would give erroneous results

to ignore all but C:

ALLDRIVES = 67108863 = 0x3 FF FF FF = %11 11111111 11111111 11111111
C: = 4 = 0x4 = %100
!C: = -4 = !0x4 = %(111111)11 11111111 11111111 11111011
ALLDRIVES-C: = 67108859 = 0x3F FF FF FB = %11 11111111 11111111 11111011

Tips For Devs:
This would be easier to set a string with ASCII Chars.... to be more user friendly
and and the results

and this is case insensitive by the way...

'A' = 0x41
1 << ( ( 0x41 -1) & 0x3F) = 1 << 0 = 1
'B' = 0x42
1 << ( ( 0x42 -1) & 0x3F) = 1 << 1 = 2
...
'Z ' = 0x5A
1 << ( ( 0x5A -1) & 0x3F) = 1 << 25 = 33554432‬

'a' = 0x61
1 << ( ( 0x61 -1) & 0x3F) = 1 << 0 = 1
'b' = 0x62
1 << ( ( 0x62 -1) & 0x3F) = 1 << 1 = 2
...
'z ' = 0x7A
1 << ( ( 0x7A -1) & 0x3F) = 1 << 25 = 33554432‬

to create such a string, the bit to char is ( (bitnum +1) | 0x40)
i.e.:
bit 0 => (0x0+1) | 0x40 = 0x41 = 'A'
....
bit25 => (0x19+1) | 0x40 = 0x5A = 'Z'

or for lowercase the bit to char is ( (bitnum +1) | 0x60)
i.e.:
bit 0 => (0x0+1) | 0x60 = 0x61 = 'a'
....
bit25 => (0x19+1) | 0x60 = 0x7A = 'z'
 

Posted Fri 26 Apr 19 @ 4:11 am
 

Posted Fri 26 Apr 19 @ 9:10 am
DHoudePRO InfinityMember since 2009
Thanks for the technical explanation. I will do my best to absorb that when it is not 9am. lol. I am pretty technical but I am definitely not a coder. I will do my best to adapt and I will definitely recalculate my new values tonight. Then check it with the tool.

Also thanks for the link to the drive tool Phantom. Not sure why a plugin search for "ignore" &/or "drive" would not pull that up last night. I have noticed I can't find allot of things in that plugin search bar lately.

Long term it would still be awesome to just put the drive letters in there ;)
 

Posted Fri 26 Apr 19 @ 1:18 pm
AdionPRO InfinityCTOMember since 2006
For remote drives mapped to a drive letter, you can simply right-click them in the folder tree and select 'Ignore Drive' or 'Unignore Drive' and it will update the ignoreDrive option automatically.
 

Posted Fri 26 Apr 19 @ 1:22 pm
DHoudePRO InfinityMember since 2009
I was not aware of that.. Thanks for the tip! All these years and still learning!
 

Posted Fri 26 Apr 19 @ 4:25 pm
DHoudePRO InfinityMember since 2009
Scanning the same files yesterday and today and I can't make VDJ hang when minimized anymore. I did get blindsided by the b4909 update , but I also changed my "ignore drives" to include the local F drive that I deleted the VDJ folder from.

Though it would seem that this could be self inflicted, I still feel VDJ should handle a missing VDJ DB folder a little more gracefully than to cause an app hang. Honestly I have never played a file in VDJ from that drive and thought that should not be needed anyway. The reloading tags were files on my E drive. Which is where all my music is.
 

Posted Sun 28 Apr 19 @ 3:58 pm
blckjckPRO InfinityMember since 2008
I have not been "blindsided" by an update. I've always been asked if I want to install. Do you not get that prompt?
 

Posted Sun 28 Apr 19 @ 10:02 pm
NicotuxHome userMember since 2014
Well ... I can't say it never append
I was recently asked to update from b4756 to b4787 on a win10 x64 pro with VDJ pro infinity license and answered "no" to the prompt and VDJ didn't update as requested
However the next day I launcjh VDJ again, i was not prompt to update and notice it had been silently updated to b4787
On another pc win10 x64 home without VDJ license It didn't update.
This was the only one time I figure out VDJ only reported the update instead of simply not doing it and prompt again.
As I most of the time answer yes, I may have missed some
 

Posted Sun 28 Apr 19 @ 11:32 pm
DHoudePRO InfinityMember since 2009
I answered yes, to what I thought was a public update that might help the situation. Also knowing that I had Early Access turned off. I was comfortable knowing what my settings are. So call it what you will.

The fact that I was pushed into an Early Access when I have that turned OFF, without being warned of that is why I feel "blindsided". I am not in a position to run Early Access right now. But just because a public release was pulled back, now I am Early Access until the next public build or manually I roll back.. I get mistakes happen but that logic seems a bit flawed.

I would try not to look into my "blindsided" comment too hard. Sometimes I just don't want to write a whole long post about something. So what may sound "angry" is just me being direct. As well as avoiding going off topic for this thread.
 

Posted Mon 29 Apr 19 @ 4:29 pm
NicotuxHome userMember since 2014
For remote drives mapped to a drive letter, you can simply right-click them in the folder tree and select 'Ignore Drive' or 'Unignore Drive' and it will update the ignoreDrive option automatically.

Fine to know,
What do you call a "remote drive" ? any drive whatever it is physical , e-sata, usb, card reader, dvd... or virtual , network, scp, ftp, bt ... mapped to a letter doesn't give me this option in the popup :/

[Recurse]
Search with GeniusDj
Batch >
File operations >
Set as favorite
 

Posted Tue 30 Apr 19 @ 10:42 pm


(Old topics and forums are automatically closed)