Results 1 to 3 of 3

Thread: rating on winamp with commandline

  1. #1
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    103

    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?
    Thanks
    (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
    Location
    Toronto, Canada
    Posts
    9,818
    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:
    "ONSONGSTART","runqw;rating.bat"

    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
    Low Bitrate
    Join Date
    Feb 2011
    Posts
    103
    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 08:01 AM.

Similar Threads

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