DLSS Posted February 1, 2008 Share Posted February 1, 2008 yeah i was bored and didnt find any online so made my own :P just place it in the directory you want to create a playlist from you can change and add the extensions it searches for if you want ... O and if you want to remove credits go ahead :) , just dont replace em :( thats all i ask ... @echo off color 0a title playlist generator by DLSS echo. echo playlist generator by DLSS (posted originally on hak5.org) echo my homepage : http://DLSS.co.nr echo ------------------------------------------------------------------------ echo current directory is %cd% echo. set /p file=what should the playlist be called ?: : test-audio if exist *.mp3 (goto music) else (if exist *.wma (goto music) else (goto test-video) ) : test-video if exist *.divx (goto video) else (if exist *.avi (goto video) else (if exist *.wmv (goto video) else (goto end) ) ) : music title playlist generator by DLSS / generating %file% (audio) playlist : m3u echo.#generated with DLSS's playlist generator >> "%file%(a).m3u" echo. >> "%file%(a).m3u" dir "*.mp3"/b >> "%file%(a).m3u" dir "*.wma"/b >> "%file%(a).m3u" goto test-video : video title playlist generator by DLSS / generating %file% (video) playlists : bsl echo.#generated with DLSS's playlist generator >> "%file%.bsl" echo. >> "%file%.bsl" dir "*.avi"/b >> "%file%.bsl" dir "*.divx"/b >> "%file%.bsl" dir "*.wmv"/b >> "%file%.bsl" : m3u echo.#generated with DLSS's playlist generator >> "%file%(v).m3u" echo. >> "%file%(v).m3u" dir "*.avi"/b >> "%file%(v).m3u" dir "*.divx"/b >> "%file%(v).m3u" dir "*.wmv"/b >> "%file%(v).m3u" : end cls exit the slexy : http://slexy.org/view/s2T8ITtLEp greetz, DLSS Quote Link to comment Share on other sites More sharing options...
digip Posted February 1, 2008 Share Posted February 1, 2008 dir *.mp3 /b /on > PLS.m3u Put that in a bat file anywhere on the pc, like in c:pls.bat Then, go into any folder and follow the images instructions: http://www.twistedpairrecords.com/digip/pls.jpg[/img] Just modify the line for applicatiosn used ot perform action to point to wher eyou stored the pls.bat file. This was one of the first things I posted on the forums when I first started on here. :) Quote Link to comment Share on other sites More sharing options...
digip Posted February 9, 2008 Share Posted February 9, 2008 pfft..just bought a new pc and trie dthis in Vista. No options to do ith through the explorer shell, but I did manage to find a way to do it through the registry, and its similar to XP but not located in the same place. Open regedit, go to key: HKEY_CLASSES_ROOTSystemFileAssociations.mp3 Now add a new Key under .mp3 called shell, then one under that called edit.m3p It should now look somehting like this: HKEY_CLASSES_ROOTSystemFileAssociations.mp3shelledit.mp3 Under edit.mp3 in the right pane, for default enter "Create PLS File" Then under key edit.mp3 add one called command: HKEY_CLASSES_ROOTSystemFileAssociations.mp3shelledit.mp3command Under command in the right pane, enter "c:pls.bat" "%1" for the default value, pointing the the bat script in my previous post, saved as c:pls.bat Then when you right click an mp3 file in Vista, you can now do the little pls trick to automatically create a pls.m3u of all the files in the current folder. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.