Ok, this is NOT a VDJ plug-in, but I decided to post here since this is the only place I might get some help.
After browsing around these forums I decided to build a small application that will read the info of VirtualDj Database, and it will write the info back to the ID3 tags of the files, as it has been requested by many users.
My application is 90% ready, but I have a small issue that I need some help:
The application is written in VB.NET
When I read the XML file, the "strings" I get back are always in ANSII format. That means that my application (for the moment) does not work properly with international charsets.
I tried every way I could imagine and every code sample I found, but I could not succeed to convert this string in Unicode (which is the default way VB.NET handles strings)
If someone can help me with that I would be really grateful....
Thanks!
After browsing around these forums I decided to build a small application that will read the info of VirtualDj Database, and it will write the info back to the ID3 tags of the files, as it has been requested by many users.
My application is 90% ready, but I have a small issue that I need some help:
The application is written in VB.NET
When I read the XML file, the "strings" I get back are always in ANSII format. That means that my application (for the moment) does not work properly with international charsets.
I tried every way I could imagine and every code sample I found, but I could not succeed to convert this string in Unicode (which is the default way VB.NET handles strings)
If someone can help me with that I would be really grateful....
Thanks!
Posté Wed 09 Sep 09 @ 2:47 am
when this works you will go down in the annals of vdj history... lol
Posté Wed 09 Sep 09 @ 5:05 am
if it will copy the bpm info from vdj to the id3 tag for bpm (and if it will work with both mpg2 video and mp4 video tags) I will start the drive to get you donations so you can upgrade to a PRO user, then put you in the VDJ Hall OF Fame!
I might also suggest you have VDJ pay you a small stipend to build it into VDJ and include it in the next update!
I might also suggest you have VDJ pay you a small stipend to build it into VDJ and include it in the next update!
Posté Wed 09 Sep 09 @ 5:32 am
Ok, I bypassed my initial problem by writing my own XML-Parser...
Now the app is working! :D For the moment it processes only mp3 files, but other filetypes will come soon...
Right now I just have to do some beta testing... :P
Edit: And YES, it does write BPM's ;)
Now the app is working! :D For the moment it processes only mp3 files, but other filetypes will come soon...
Right now I just have to do some beta testing... :P
Edit: And YES, it does write BPM's ;)
Posté Thu 10 Sep 09 @ 3:35 am
WMA Support added....
Posté Thu 10 Sep 09 @ 3:45 am
Ogg Vorbis support added
Edit: No BPM support though since OGG Vorbis does not support it... Unless someone wants me to copy this info to another supported field...
Edit: No BPM support though since OGG Vorbis does not support it... Unless someone wants me to copy this info to another supported field...
Posté Thu 10 Sep 09 @ 3:51 am
Flac support added. (Does even VDJ play .flac files? )
Edit: No BPM support though since FLAC does not support it... Unless someone wants me to copy this info to another supported field...
Edit: No BPM support though since FLAC does not support it... Unless someone wants me to copy this info to another supported field...
Posté Thu 10 Sep 09 @ 3:58 am
sounds like Phantom is on a roll!!!!
=)
=)
Posté Thu 10 Sep 09 @ 5:00 am
i think i will adopt him....
Posté Thu 10 Sep 09 @ 5:19 am
PhantomDeejay wrote :
Flac support added. (Does even VDJ play .flac files? )
Edit: No BPM support though since FLAC does not support it... Unless someone wants me to copy this info to another supported field...
Edit: No BPM support though since FLAC does not support it... Unless someone wants me to copy this info to another supported field...
Yes
http://it.virtualdj.com/homepage/cioce/blogs/3263/_ENG__How_to_play__flac_files_on_Virtual_DJ.html
Posté Thu 10 Sep 09 @ 5:26 am
APE support added.
For now I'll stop adding other filetypes support.
MP4 format support will come, but it needs a lot of work... Same rule goes for MPEG files!
Now I need someone to tell me how to publish a beta here... (AFAIK links are not allowed by non-registered users)
For now I'll stop adding other filetypes support.
MP4 format support will come, but it needs a lot of work... Same rule goes for MPEG files!
Now I need someone to tell me how to publish a beta here... (AFAIK links are not allowed by non-registered users)
Posté Thu 10 Sep 09 @ 5:58 am
Posté Thu 10 Sep 09 @ 6:55 am
@PhantomDeejay.
Good work dude. A few guys here will be well pleased with this little app you've created.
Posté Thu 10 Sep 09 @ 11:56 am
wonder what i should call him after the adoption.... jimmy the greek has a nice ring/tag to it, lol.
Posté Thu 10 Sep 09 @ 12:42 pm
Beta 1 uploaded and waiting authorization!
BTW: My real name is George, so "Jimmy the Greek" won't cut it... :p
BTW: My real name is George, so "Jimmy the Greek" won't cut it... :p
Posté Fri 11 Sep 09 @ 5:23 am
hehe, "geordie the greek" will do then "son".... lol
Posté Fri 11 Sep 09 @ 5:33 am
Ok, it's UP!
Please test it and report back any issues you may have....
Thanks!
Please test it and report back any issues you may have....
Thanks!
Posté Sat 12 Sep 09 @ 7:28 am
Cool, I'll give it a try later this afternoon :)
Posté Sat 12 Sep 09 @ 7:34 am
Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.BadImageFormatException: Tentative de chargement d’un programme de format incorrect. (Exception de HRESULT : 0x8007000B)
à VDJDbToTags.AudioGenie2.AUDIOAnalyzeFileW(String& FileName)
à VDJDbToTags.AudioGenie2.AUDIOAnalyzeFile(String fileName)
à VDJDbToTags.VDJDB2TAGS.Write_Tag()
à VDJDbToTags.VDJDB2TAGS.Read_XML_5_T()
à VDJDbToTags.VDJ2tagsMain.Button1_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblys chargés **************
mscorlib
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
VDJDbToTags
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///C:/Users/Domicile/AppData/Local/Apps/2.0/6JOKA341.GLA/MJ4O29KZ.TQW/vdjd..tion_83a23c14a46ea5bd_0001.0000_76107050e5fd51ee/VDJDbToTags.exe
----------------------------------------
Microsoft.VisualBasic
Version de l'assembly : 8.0.0.0
Version Win32 : 8.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple :
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.
juste-à-temps (JIT) à la place de cette boîte de dialogue.
************** Texte de l'exception **************
System.BadImageFormatException: Tentative de chargement d’un programme de format incorrect. (Exception de HRESULT : 0x8007000B)
à VDJDbToTags.AudioGenie2.AUDIOAnalyzeFileW(String& FileName)
à VDJDbToTags.AudioGenie2.AUDIOAnalyzeFile(String fileName)
à VDJDbToTags.VDJDB2TAGS.Write_Tag()
à VDJDbToTags.VDJDB2TAGS.Read_XML_5_T()
à VDJDbToTags.VDJ2tagsMain.Button1_Click(Object sender, EventArgs e)
à System.Windows.Forms.Control.OnClick(EventArgs e)
à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.ButtonBase.WndProc(Message& m)
à System.Windows.Forms.Button.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Assemblys chargés **************
mscorlib
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
VDJDbToTags
Version de l'assembly : 1.0.0.0
Version Win32 : 1.0.0.0
CodeBase : file:///C:/Users/Domicile/AppData/Local/Apps/2.0/6JOKA341.GLA/MJ4O29KZ.TQW/vdjd..tion_83a23c14a46ea5bd_0001.0000_76107050e5fd51ee/VDJDbToTags.exe
----------------------------------------
Microsoft.VisualBasic
Version de l'assembly : 8.0.0.0
Version Win32 : 8.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
mscorlib.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Version de l'assembly : 2.0.0.0
Version Win32 : 2.0.50727.4918 (NetFXspW7.050727-4900)
CodeBase : file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_fr_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** Débogage JIT **************
Pour activer le débogage juste-à-temps (JIT), le fichier de configuration pour cette
application ou cet ordinateur (machine.config) doit avoir la valeur
jitDebugging définie dans la section system.windows.forms.
L'application doit également être compilée avec le débogage
activé.
Par exemple :
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
Lorsque le débogage juste-à-temps est activé, les exceptions non gérées
seront envoyées au débogueur JIT inscrit sur l'ordinateur
plutôt que d'être gérées par cette boîte de dialogue.
Posté Mon 14 Sep 09 @ 4:14 pm
hi cel, sorry i don't speak or read french, but we would be interested to know what the above print out is showing and what it means for this plugin... thanks
Posté Mon 14 Sep 09 @ 5:57 pm