Page 1 of 1

open pls with wmp (3072 bytes)

Posted: Thu May 13, 2010 7:19 pm
by bingo

Code: Select all

memsize.i = 512
membuffer.i = GlobalAlloc_(#GMEM_FIXED,memsize)

GetPrivateProfileString_("playlist","file1","",membuffer,memsize,ProgramParameter())

ShellExecute_(0,@"open",@"wmplayer.exe",membuffer,@"",#SW_MAXIMIZE)

GlobalFree_(membuffer)

End
save the pls2wmp.exe in windows\system32 and set "open .pls with pls2wmp.exe" .

now, your wmp (xp/vista/7) can stream 'pls' directly :D