Results 1 to 3 of 3

Thread: rating on winamp with commandline

  1. #1
    Constant Bitrate
    Join Date
    Feb 2011

    rating on winamp with commandline

    Hi all, i've searched a long on the section but i haven't find a way to read the rating of a track from id3tag
    the only ways uses db and with huge ammount of tracks (60gb - 7000 tracks about) is a pain anytime to rebuild the database..
    luckly i'm using winamp and found a command-line tool called CLAmp, with this is possible to set and read the rating directly from the file (via winamp).
    Now i have no idea how to take the variable from the dos window and be able to use in ride runner, i was thinking to save it in a file and let ride runner to read it, it's possilbe? Or there is a direct way inside RR?
    (lol not a common problem and i think the first way to read the rating from id3tag on RR)

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Toronto, Canada
    To set the rate, simply make buttons or clickable areas with the CODE like this:
    "RUNQ;CLAMP.EXE|/RATING=3" (replace the 3 with whatever rating for each button)

    Create a .bat file like rating.bat with this in it:
    @Echo off
    clamp.exe /rating > rate.txt
    set /p rating= < rate.txt
    c:\program files\ride runner\exec.exe setvar;winamprating;%rating%

    To read the code, add this to exectbl:

    On the skin use the label code: "=$winamprating$" or use byvar;winamprating;No Rating<<1 Star<<2 Star .. etc to display the current rating, or create some indicators that display the images based on the value of the variable $winamprating$

    You may have to add/change paths above and such, but it should 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
    Constant Bitrate
    Join Date
    Feb 2011
    thanks really so much, i had make a system like this yesterday but was saving the rating on skin.ini (wrong way, cause skin.ini reads once when skin loads up)

    Tested and it's working
    Just made a little edit on the batch code replacing 1st and 2nd line with:
    FOR /F "tokens=*" %%i in ('clamp.exe /rating') do SET rating=%%i

    this will directly take the output of the command code and set the rating var
    Last edited by Diavoletto; 09-20-2012 at 09:01 AM.

Similar Threads

  1. DL Rating System
    By dlane2155 in forum RR Plugins in Progress
    Replies: 5
    Last Post: 07-23-2011, 12:42 PM
  2. Rating screen for RR?
    By ReflexNPG in forum Road Runner
    Replies: 4
    Last Post: 08-20-2006, 06:52 AM
  3. Desktop PSU rating
    By buurin in forum General Hardware Discussion
    Replies: 3
    Last Post: 04-11-2006, 12:33 AM
  4. lcd brightness rating
    By apoc519 in forum LCD/Display
    Replies: 8
    Last Post: 04-28-2003, 02:49 PM
  5. VA rating for P100?
    By degraz in forum General Hardware Discussion
    Replies: 1
    Last Post: 11-28-2000, 08:40 PM


Posting Permissions

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