Results 1 to 5 of 5

Thread: custom lists - custom saving?

  1. #1
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551

    custom lists - custom saving?

    hi, im designing a cdburning plugin, kinda.

    i have a program taht will burn a cd based on a text file. it will burn a list of mp3's in a .txt file. i have no problem creating a custom list full of the music.

    but when i go to save it, RR by default saves the custom list with a bunch of funky other stuff. my custom list contains all the full paths to the songs (which can just as easily be covered up by ID3 info).

    basically, im asking how i can save a custom list with the format:

    C:\Music\Artist1\Greatest Hits\Song 1.mp3
    C:\Music\Artist1\Greatest Hits\Song 2.mp3
    C:\Music\Artist2\Greatest Hits\Song 5.mp3
    C:\Music\Artist3\Greatest Hits\Song 15.mp3

    ............

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You'd probably need to make a script for something like that.. RR saves list in it's own format ready for reloading when needed.. a very simple script could generate the text file from RR's format though. You can also make RR do it with it's own commands, but that can get quite complex (This is a "script" for ExecTBL):

    Code:
    "SAVELIST","RUNQW;DELTXT.BAT||SETVAR;FN;1||DOSAVE"
    "DOSAVE","SETVARBYCODE;FNAME;CLTEXT$FN$||ADDTOFILE;mp3s.txt;$FNAME$||DOMORE"
    "DOMORE","SETVARBYCODE;NFILES;CLMAX||EVAL;LAST;strcomp("$NFILES$","$FN$")||BYVAR;LAST;INCNEXT<<"
    "INCNEXT","EVAL;FN;FN+1||DOSAVE"
    (No guarantees of the above but some similar code will probably work)
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551
    im sorry, im pretty good with code, but im having a difficult time following what exactly that accomplishes....

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    As I said, doing this kind of thing solely in RR is possible, but gets complex.. I'd suggest making an autoit script or making a separate script (in whatever you know how to code it) to "convert" the file RR saves into the format you want to use.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551
    i pretty much code everything in RR code. dont know much else at all. i figured it out tho, thanks.

Similar Threads

  1. SKIPTO Not working correctly with Custom Lists
    By JohnWPB in forum RR Bug Tracker
    Replies: 12
    Last Post: 02-14-2008, 09:14 AM
  2. RR 10-26-2007.. iLists & Custom stuff..
    By guino in forum Road Runner
    Replies: 106
    Last Post: 12-29-2007, 12:23 AM
  3. How do I use Custom Lists?
    By Sal R. in forum Road Runner
    Replies: 21
    Last Post: 11-01-2007, 10:15 AM
  4. Custom Piece work Sites...
    By kmcniece in forum Fabrication
    Replies: 1
    Last Post: 03-16-2006, 04:52 PM
  5. Need Custom logo How-to
    By kyjoe in forum Road Runner
    Replies: 3
    Last Post: 07-09-2005, 05:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •