I decided to mess around a little with keeping the CD Playing functionality in RR. What I did was made two batch files that saved the music files in either the CD directory or MP3 directory as winamp.m3u. (It even sorts the files alphabetically). Here is my code:
::Batch File that creates a playlist of all MP3s in the MP3 Directory
@echo off
D:
cd My Documents\My Music
dir /b /s /on *.mp3,*.ogg, *.cda, *.wma > C:\Progra~1\Winamp\winamp.m3u
:: sorts alphabetically, and recurrs within subfolders, then replaces the default playlist
C:\Progra~1\Winamp\winamp.exe "C:\Progra~1\Winamp\winamp.m3u"
::Loads the playlist into Winamp
This seems to work fairly well, I just have a couple questions:
-The playlist in the Audio_Player doesn't update unless I leave the screen and come back to it. I tired calling "Audio" from within the player screen, but that doesn't trick it into refreshing. Maybe I can go to another screen and then instantly go back somehow?
-I'd like to save the position in the playlist to a file and resume from the same place when I switch between the modes. This is done when resume is on and the program is started. I don't know the syntax to extract the current tracknumber and then jump to the that track. (I figure I can use "CURRENTTRACKTIME" and "SEEKTO" to get to the position if I have the correct song.
Any help would be appreciated. Thanks
Bookmarks