title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Scripting portable mp3 players

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Unregistered

    Scripting portable mp3 players

    Is it possible to write a VB script that automatically copies an MP3 file to my Rio 600 using the APIs available? Since the Rio 600 doesn't put a drive in the file system, I am having a hard time figuring out how to script this ...

    Thanks for any help...

    -- Nilay
  • Spoon
    Administrator
    • Apr 2002
    • 44510

    #2
    You could try setting the compression type to the shown name of the Rio (in the right click menu). Then it should work.
    Spoon
    www.dbpoweramp.com

    Comment

    • Unregistered

      #3
      Sorry, I don't understand your explanation ... (I don't have any experience with Illustrate products ...)

      Do I need dbPowerAMP or Sveta for VB scripting? What does the compression type have to do with it?

      Thanks for your help ... and sorry for being a newbie ...

      -- Nilay

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44510

        #4
        Underneath Sveta just uses dBpowerAMP Music Converter, so it should be the same as sending a file to a Rio as it is compressing to Wave. You need the dMC Scripting.
        Spoon
        www.dbpoweramp.com

        Comment

        • Unregistered

          #5
          Awesome, I will give it a try... & report back...

          Thanks for the tip!

          -- Nilay

          Comment

          • Unregistered

            #6
            Well, I wasn't successful ... I followed the examples on the developer page and always receive the same error message from Music Converter: "Unable to send file to portable player. Please check connection and player has free memory."

            Here is the code that I used ... Can you tell me what I am doing wrong?


            Set dMC = CreateObject("dMCScripting.Converter")
            dMC.VolumeNormalize = False
            dMC.PreserveTags = True
            dMC.DeleteSourceFiles = False
            dMC.ConvertToFolder = False
            Call dMC.AddFromFile("C:\myfile.mp3")
            Call dMC.GoConversion("Rio 600 Digital Music Player", True, False, False, False)

            When I manually use the program to copy the files to my Rio, it works fine ... but there are few options on screen that are not available via script ... These are the Write To (select which internal memory card on the Rio to use) and the Audio Format (select which audio format the resulting file should be on the Rio).

            I want to write a very simple script that does the following...

            1) Delete all the files from the Rio.
            2) Copy a specific MP3 file from the hard drive to the Rio's internal memory with no conversion required.

            Once again, thanks for the help...

            -- Nilay

            Comment

            • Spoon
              Administrator
              • Apr 2002
              • 44510

              #7
              It is probbably similar to the WMA 8 codec (both Microsoft WMA / WDM), that does not work unless the option page is shown.
              Spoon
              www.dbpoweramp.com

              Comment

              Working...

              ]]>