Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: A small app for rr to monitor cd drive and tell rr if it contains music

  1. #11
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    New zip uploaded with the systray.ocx installer included

  2. #12
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    Uploaded another zip which contains an installer for the entire package. This should greatly simplify things.

  3. #13
    Low Bitrate deanthom's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    84
    Nice app Sweet05, I would be using it now had I not discovered the autoplay hack. Very useful for people not running the windows explorer shell though!

    Also, you must use the eject button on your CD drive? Or have multiple CD drives? Otherwise, why do you need to have multiple levels of playlist restore? The way mine works, you put in a cd and it plays it, you eject (using a button on the skin, no eject button on CD drive) and it restores the playlist back. Put in another CD and the same happens again. The only thing I don't like is that it doesn't remember what song you were up to in the playlist, it just starts it from the beginning when it is restored.

  4. #14
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    The only thing I don't like is that it doesn't remember what song you were up to in the playlist, it just starts it from the beginning when it is restored.
    My latest ExecTBL.ini code has that ability. Here's the code.
    Code:
    "LOADCD","SETVARBYCODE;SAVEDTRACKNUM;TRACKNUMBER||SETVARBYCODE;SAVEDTRACKPOS;CURRENTTRACKTIME||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\LoadCD.bat" "E||LOADLIST;C:\Program Files\Winamp\winamp.m3u;Audio CD||!BROWSE"
    "LOADCD_CANCEL","SETVARBYCODE;SAVEDTRACKNUM;TRACKNUMBER||SETVARBYCODE;SAVEDTRACKPOS;CURRENTTRACKTIME||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\LoadCD.bat" "E||LOADLIST;C:\Program Files\Winamp\winamp.m3u;Audio CD||!BROWSE||CANCEL"
    "UNLOADCD","RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\UnloadCD.bat||LOADLIST;C:\Program Files\Winamp\winamp.m3u||SETLIST;$SAVEDTRACKNUM$||PLAY||SEEKTO;$SAVEDTRACKPOS$"
    "UNLOADCD_CANCEL","RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\UnloadCD.bat||LOADLIST;C:\Program Files\Winamp\winamp.m3u||CANCEL||SETLIST;$SAVEDTRACKNUM$||PLAY||SEEKTO;$SAVEDTRACKPOS$"
    Also, if you have the latest LoadCD.bat, it can load all music files, not just audio tracks.
    LoadCD.bat
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

  5. #15
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    I got it. Thanks for all your work getting me started b8bboi but here is the code I came up with to load cd's while remembering the postion of the playlist no matter how many cd's you load.

    Code:
    "LOADCD","RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\LoadCD.bat|E||CLEARLIST||LOADLIST;C:\Program Files\Winamp\cd.m3u;Audio CD
    "LOADCDSAVEPOS","SETVAR;SAVED;1||SETVARBYCODE;SAVEDTRACKNUM;TRACKNUMBER||SETVARBYCODE;SAVEDTRACKPOS;CURRENTTRACKTIME||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\LoadCD.bat|E||CLEARLIST||LOADLIST;C:\Program Files\Winamp\cd.m3u;Audio CD
    
    "UNLOADCD","SETVAR;SAVED;0||CLEARLIST||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\UnloadCD.bat||LOADLIST;C:\Program Files\Winamp\winamp.m3u"
    "UNLOADCDSAVEDPOS","AUDIO||STOP||LIST||SELPL||CLEARLIST||SETVAR;SAVED;0||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\UnloadCD.bat||LOADLIST;C:\Program Files\Winamp\winamp.m3u||STOP||SETLIST;$SAVEDTRACKNUM$||PLAY||EXIT||SEEKTO;$SAVEDTRACKPOS$"
    
    "CD","LOAD;cd_player.skin||BYVAR;SAVED;LOADCDSAVEPOS<<LOADCD"
    SPECIAL NOTE: The first two commands do not end in a quotation mark and this is on purpose for some reason RR adds a quote to the label AUDIO CD if you put the quote in. Go figure??

    You will also have to edit your LOADCD bat file to include a check to see if a file already exists. The whole bat file is below.

    Code:
    @echo off
    set v_param=%*
    REM echo %v_param%
    if  exist  "D:\Program Files\Winamp\_unloadcd_winamp.m3u"  goto  filefound
    copy "D:\Program Files\Winamp\winamp.m3u" "D:\Program Files\Winamp\_unloadcd_winamp.m3u" /Y
    :filefound
    dir %v_param%:\*.cda /s /b > "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.mp3 /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.wma /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.wav /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.ra /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.ram /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.mid /s /b >> "C:\Program Files\Winamp\cd.m3u"
    dir %v_param%:\*.ape /s /b >> "D:\Program Files\Winamp\cd.m3u"
    Let me elaborate on the commands. The "CD" command loads the cd_player screen I made. If you do not have a seperate screen in your skin for cd's simply remove the "LOAD;cd_player.skin" from the command. b8bboi's CFX skin uses a "LOADCD_CANCEL" command which is simply the above commands with "||CANCEL" at the end. I would suggest coding the commands a bit differently. For instance in b8bboi's CFX skin the menu that loads cd's uses "LOADCD_CANCEL" to load CD's you should change this to "CANCEL||CD" the command to unload the cd is "UNLOADCD_CANCEL" this should probably be changed to "CANCEL||UNLOADCDSAVEDPOS" the addition of the "CANCEL" command closes the menu CFX uses before exicuting the commands.

    If you do have a cd player screen in your skin to exit the screen you need to enter the command "UNLOADCDSAVEDPOS||'SCREEN'" where 'SCREEN' is the name of the screen you are going to. (i.e. "UNLOADCDSAVEDPOS||MAIN").

    Some of this is very complicated and I hope I explained it well enough please pm me if you have any questions.

  6. #16
    Low Bitrate deanthom's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    84
    I'm trying to get this to work properly on my system, but it seems that both b8bboi's and sweet05's code won't resume my playlist to the last song it was playing. I have to have everything working before I can write a FAQ! It seems that the SETLIST command won't work. For example, if I execute "SETLIST;11" it just ignores the command. Why would that be so? Any ideas? Perhaps something in my RR config? On further investigation is seems that RR must be in the AUDIO screen for the SETLIST command to work. Is this normal?

  7. #17
    Low Bitrate deanthom's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    84

    Not quite there yet....

    Sweet05 - looks like we don't have a universal solution here yet. For me to get this to work (using the CFX skin), my UNLOADCDSAVEDPOS must be in the AUDIO skin, not in the LIST, i.e:

    Code:
    "UNLOADCDSAVEDPOS","AUDIO||CLEARLIST||SETVAR;SAVED;0||RUNQW;C:\Program Files\Road Runner\CFX_Tools\BATs\UnloadCD.bat||LOADLIST;C:\Program Files\Winamp\winamp.m3u||STOP||SETLIST;$SAVEDTRACKNUM$||PLAY||EXIT||SEEKTO;$SAVEDTRACKPOS$"
    So the code to make this works seems very skin dependant. How come the SETLIST command doesn't work outside the AUDIO skin? Guino?

    Also, the CD command you wrote doesn't seem to work for me, executing:
    "CD",BYVAR;SAVED;LOADCDSAVEPOS<<LOADCD"
    Results in RR doing absolutely nothing. I'm going mess with it a bit more, but do you have any ideas? Seems like the SAVED variable might not be working properly.

  8. #18
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    Well the command you just posted is missing a quotation mark for starters.
    I don't know if this is the case in your exectbl.ini but I would suggest adding a few labels to your skin for variable tracking.

    I had problems at first also with SETLIST. The command must be exicuted on a screen with a playlist on it and if the screen has a playlist and a directory list SELPL must be exicuted first.

  9. #19
    Newbie
    Join Date
    Aug 2006
    Posts
    40
    Hi all
    I downloaded cd monitor
    great idea!!!

    can you explain how to get it working? (i haven't cfx skin i have the freedom one)

    thanks

  10. #20
    Variable Bitrate nemo1's Avatar
    Join Date
    Jun 2006
    Posts
    314
    Hi,

    I am not able to download cd monitor.

Page 2 of 4 FirstFirst 1234 LastLast

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
  •