music from one file is replacing the music of other files
music from one file is replacing the music of other files
Using v1.6.02. Some of my music is replacing the music of other filenames. For example, the music of songA.wav has replaced the music of songB.wav, even though songB is still labled "songB.wav", and the original music of songA.wav is still the same. I hit F1 thinking I'm going to hear songB, but the music of songA plays instead. What's also strange is when I quit HLDJ and go to the folder of my music to play songB.wav, the switch is permanent. So now I have to convert SongB.mp3 again to get its original music back. This has happened to me twice.
Re: music from one file is replacing the music of other file
[moving to bug reports]
If you have admin permissions on your system, HLDJ will attempt to link the loaded file instead of copying it (this saves time) to voice_input.wav. When it does this, any modifications made on the linked file (i.e. "voice_input.wav") will happen to the original as well. The only thing I can think of is if HLDJ figures out it can link the file, links it, then when it goes to link a newly loaded file, deletion of the old link fails (maybe file was in use?) and on top of that (or probably even because of that) linking would also have to fail so that finally HLDJ would revert to using CopyFile which would inadvertently copy over the original file linked.
It's the first I've seen it, can you reproduce it or only happened those two times? Are you an admin on your system? What are the location(s)/drive types of the files being loaded (i.e. hard drive, network drive, usb, flash, etc)?
Notes to self:
abort linking/copying if file deletion fails
or detect if the target is a link and abort if deletion fails
If you have admin permissions on your system, HLDJ will attempt to link the loaded file instead of copying it (this saves time) to voice_input.wav. When it does this, any modifications made on the linked file (i.e. "voice_input.wav") will happen to the original as well. The only thing I can think of is if HLDJ figures out it can link the file, links it, then when it goes to link a newly loaded file, deletion of the old link fails (maybe file was in use?) and on top of that (or probably even because of that) linking would also have to fail so that finally HLDJ would revert to using CopyFile which would inadvertently copy over the original file linked.
It's the first I've seen it, can you reproduce it or only happened those two times? Are you an admin on your system? What are the location(s)/drive types of the files being loaded (i.e. hard drive, network drive, usb, flash, etc)?
Notes to self:
abort linking/copying if file deletion fails
or detect if the target is a link and abort if deletion fails
Re: music from one file is replacing the music of other file
I'm an admin on my computer. My music is located at C:\music\steammusic, and then divided into subfolders depending on the genre of music. This is only a guess, but there might be a connection between the currently selected song, and the one previously played. I think this might be how the issue occured with one of my songs. In other words, I play songB, switch to songA, then go back to songB again, and its music has been replaced by songA. Again, it's only a guess, and I'm not certain that this is exactly how it happens.
I'm not sure how to reproduce this, I only notice it when I select a song and hit F1. Maybe you can tell me what to look for should it occur again.
I'm not sure how to reproduce this, I only notice it when I select a song and hit F1. Maybe you can tell me what to look for should it occur again.
Re: music from one file is replacing the music of other file
If you can reproduce it fairly consistently, unzip the attached zipped hldj.exe to your hldj directory (back up your old hldj.exe) and see if you can get it to occur again.
If not, then hopefully this means it fixed it and I'll release the fix.
If not, then hopefully this means it fixed it and I'll release the fix.
- Attachments
-
- hldj_abort_on_delete_fail_32bit.zip
- (1.48 MiB) Downloaded 4729 times
-
- hldj_abort_on_delete_fail_64bit.zip
- (1.49 MiB) Downloaded 4706 times
Re: music from one file is replacing the music of other file
This happens to me constantly. It's really frustrating, especially if I don't have the original song saved on my computer. I'll try that "abort_on_delete_fail" program posted there, and hopefully it will stop future problems.
I know this is a large bump, but the version downloaded from the main site still causes this to happen, so unless the file posted here is a different file, it means its not fixed yet and is still a major issue.
I know this is a large bump, but the version downloaded from the main site still causes this to happen, so unless the file posted here is a different file, it means its not fixed yet and is still a major issue.
Re: music from one file is replacing the music of other file
the version here is separate and not integrated into the main program, since I have no way of testing it and the original poster never confirmed if it worked or not. also, another poster mentioned this happened on running multiple instances of HLDJ, so first make sure you only have 1 instance running.