A little help..
-
I'm writing an application at the time, an MP3 player (using DX9's AudioVideoPlayback class). I've got it fairly full-featured: ID3v1 and v2 tag reading, writing will come in the future (I use UltraID3Lib for this); playlists; shuffle and repeat, etc. I've got two small problems though: My first one is that whenever I try to set the Volume property of the DirectX.AudioVideoPlayback.Audio class, it throws an error. Anyone know why? My second invovles the playlist: it's a regular listbox, which I simply feed with filenames (with full paths, so that the audio class can know what to open) - I would like to be able to display ID3 tags here though - I was wondering if anyone knew an easy way for me to display ID3 tags, but have a hidden field of some sort that holds the path for that particular item. I don't know if I could maybe do this with a listView or not, but if anyone knows, please let me know. If it has to be done using owner drawn controls, I would really appreciate if someone wrote the code, they would receive full credit for it. Thanks in advance.
-
I'm writing an application at the time, an MP3 player (using DX9's AudioVideoPlayback class). I've got it fairly full-featured: ID3v1 and v2 tag reading, writing will come in the future (I use UltraID3Lib for this); playlists; shuffle and repeat, etc. I've got two small problems though: My first one is that whenever I try to set the Volume property of the DirectX.AudioVideoPlayback.Audio class, it throws an error. Anyone know why? My second invovles the playlist: it's a regular listbox, which I simply feed with filenames (with full paths, so that the audio class can know what to open) - I would like to be able to display ID3 tags here though - I was wondering if anyone knew an easy way for me to display ID3 tags, but have a hidden field of some sort that holds the path for that particular item. I don't know if I could maybe do this with a listView or not, but if anyone knows, please let me know. If it has to be done using owner drawn controls, I would really appreciate if someone wrote the code, they would receive full credit for it. Thanks in advance.
SeveredCross wrote: ID3v1 Have a look at my nBass article. It has a small class for v1, v2 OTOH is rather complicated.
-
I'm writing an application at the time, an MP3 player (using DX9's AudioVideoPlayback class). I've got it fairly full-featured: ID3v1 and v2 tag reading, writing will come in the future (I use UltraID3Lib for this); playlists; shuffle and repeat, etc. I've got two small problems though: My first one is that whenever I try to set the Volume property of the DirectX.AudioVideoPlayback.Audio class, it throws an error. Anyone know why? My second invovles the playlist: it's a regular listbox, which I simply feed with filenames (with full paths, so that the audio class can know what to open) - I would like to be able to display ID3 tags here though - I was wondering if anyone knew an easy way for me to display ID3 tags, but have a hidden field of some sort that holds the path for that particular item. I don't know if I could maybe do this with a listView or not, but if anyone knows, please let me know. If it has to be done using owner drawn controls, I would really appreciate if someone wrote the code, they would receive full credit for it. Thanks in advance.
Why don't you tell us what error you get? Do you simply tell a doctor that you have a pain without saying where? How do you expect us to help you if you don't even say what exactly is wrong? There could be many reasons you're having problems. An exception type and message would definitely help.
Microsoft MVP, Visual C# My Articles
-
SeveredCross wrote: ID3v1 Have a look at my nBass article. It has a small class for v1, v2 OTOH is rather complicated.
I tried using nBass..It really never worked for me. No matter what, I couldn't get files to play...DX9 works fine for now. About the error, I'll get back to you about it as soon as I reproduce it. I'm writing this right before I get ready for a shower and some well-deserved rest, so that'll most likely be tomorrow. (I know, I should've posted it, but my mind slipped)