Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. A little help..

A little help..

Scheduled Pinned Locked Moved C#
helpgraphicsgame-devquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bojan Rajkovic
    wrote on last edited by
    #1

    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.

    L H 2 Replies Last reply
    0
    • B Bojan Rajkovic

      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.

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      SeveredCross wrote: ID3v1 Have a look at my nBass article. It has a small class for v1, v2 OTOH is rather complicated.

      top secret AdvancedTextBox

      B 1 Reply Last reply
      0
      • B Bojan Rajkovic

        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.

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • L leppie

          SeveredCross wrote: ID3v1 Have a look at my nBass article. It has a small class for v1, v2 OTOH is rather complicated.

          top secret AdvancedTextBox

          B Offline
          B Offline
          Bojan Rajkovic
          wrote on last edited by
          #4

          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)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups