Guest
|
Posted: Sat Apr 05, 2008 4:31 pm Post subject: SoundPlay Error |
|
|
Could anyone tell me why this script won't play some MP3 Files?
| Code: |
play:
FileReadLine, ssong, SongList.txt,1
soundplay,%ssong%,wait
line:=1
loop{
line:=line+1
FileReadLine, csong, SongList.txt, %line%
soundplay,%csong%,wait
soundplay,|:||*/-f_\-a*/_k*\-e*/-|:||
}
|
And if it matters at all, this is the code that generates the playlist
| Code: |
InputBox,dir, Playlist Maker,,,250,100,0,0,,,Enter Path of MP3s
if ErrorLevel
goto playlistexit
else
List=
Loop %dir%\*.mp3,,1
List=%List%%A_LoopFileFullPath%`n
Loop, parse,List
FileAppend, %A_LoopField%, SongList.txt
|
|
|