Uploaded another zip which contains an installer for the entire package. This should greatly simplify things.
New zip uploaded with the systray.ocx installer included
Uploaded another zip which contains an installer for the entire package. This should greatly simplify things.
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.
My latest ExecTBL.ini code has that ability. Here's the code.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.
Also, if you have the latest LoadCD.bat, it can load all music files, not just audio tracks.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$"
LoadCD.bat
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.
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??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"
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.
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.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"
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.
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?
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:
So the code to make this works seems very skin dependant. How come the SETLIST command doesn't work outside the AUDIO skin? Guino?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$"
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.
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.
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
Bookmarks