-
DSP Effects R6 - Playlist Writer - PLS
Just test the new Playlist Writer and choose the PLS output, but when i checked the PLS file so did i notice that the full path is listed...
X:\Folder\Folder\xx - Artist - Song Title.xxx
Should it really be like that?
When creating a M3U file so is there no full path.
xx - Artist - Song Title.xxx
B
-
Re: DSP Effects R6 - Playlist Writer - PLS
It was by design, AFAIK PLS do not have the path removal of m3u, unless you can point me in the right direction.
-
Re: DSP Effects R6 - Playlist Writer - PLS
The software 'Music NFO Builder' have an option to create PLS files and those PLS files created by MNB don't contain the 'Full Path'. So there have to be a way to get around that, but i dont know where 2 find that info.
-
Re: DSP Effects R6 - Playlist Writer - PLS
The Playlist Writer is not working for me. Could it be because I am using the Multi Encoder and had to add the Effect to all 3 encodings?
-
Re: DSP Effects R6 - Playlist Writer - PLS
Yes, it cannot be within multi-encoder.
-
Re: DSP Effects R6 - Playlist Writer - PLS
If I use the new batch function, then I should be able to create playlists (haven't tried doing this yet).
I am not sure how to attach something so I will just paste the code here:
---------------------------------------------
@ECHO OFF
CLS
SET batchname=CREATE-PLAYLIST.BAT
SET version=1.0.2
TITLE=%batchname%, Version %version%
REM REM *blooper**blooper**blooper**blooper**blooper**bloo per**blooper**blooper**blooper**blooper**blooper** blooper**blooper**blooper**blooper**blooper**bloop er**blooper**blooper**blooper**blooper**blooper**b looper**blooper**blooper**blooper**blooper**bloope r**blooper**blooper*
REM PLEASE CONFIGURE THESE VARIABLES
REM REM *blooper**blooper**blooper**blooper**blooper**bloo per**blooper**blooper**blooper**blooper**blooper** blooper**blooper**blooper**blooper**blooper**bloop er**blooper**blooper**blooper**blooper**blooper**b looper**blooper**blooper**blooper**blooper**bloope r**blooper**blooper*
REM Set the name of the playlist to create in each folder
SET playlist="playlist.m3u"
REM Create list of valid file extensions
SET
validExtn=.mp3.mp2.mp1.mpc.mp+.mpp.ogg.aac.mac.ape .flac.fla.wv.shn.ofr
.ofs.ogg.m4a.mp4
REM REM *blooper**blooper**blooper**blooper**blooper**bloo per**blooper**blooper**blooper**blooper**blooper** blooper**blooper**blooper**blooper**blooper**bloop er**blooper**blooper**blooper**blooper**blooper**b looper**blooper**blooper**blooper**blooper**bloope r**blooper**blooper*
REM Add another delimiter to the end so I can search for .<ext>.
SET validExtn=%validExtn%.
REM Check a folder has been passed
IF NOT EXIST %1 GOTO NoParams
IF %~z1 GTR 0 GOTO NoParams
REM Remove all existing "playlist.pls" files otherwise files will be
appended
FOR /R %1 %%G IN (%playlist%) DO IF EXIST %%G DEL "%%G"
REM Iterate through every file and pass the path to :WriteToPlayList
FOR /R %1 %%G IN (*.*) DO CALL :WriteToPlayList "%%G"
GOTO:EOF
REM
================================================== ====================
==
REM WriteToPlayList : Adds the file to the playlist, if the extension
fits
REM : %1 The file to process
REM
================================================== ====================
==
:WriteToPlayList
REM Check that the file extension is valid
SET extn=%~x1
IF [%extn%] EQU [] GOTO:EOF
SET tmpExtn=%validExtn%
CALL SET result=%%tmpExtn:%extn%.=%%
REM If no match found in list of extensions exit function
IF [%result%] EQU [%validExtn%] GOTO:EOF
REM Escape ampersand and caret
SET tmpString="%~dpnx1"
SET tmpString=%tmpString:^=^^%
SET tmpString=%tmpString:&=^^^&%
REM Remove quotes
SET tmpString=%tmpString:"=%
REM Write filename to playlist
ECHO %tmpString%>>"%~dp1\%playlist%"
GOTO:EOF
REM ================================================== ===
REM NoParams : a folder has not been passed
REM ================================================== ===
:NoParams
ECHO To run this script, please pass a folder as a parameter.
ECHO.
ECHO Press any key to exit
PAUSE >NUL
REM VERSION HISTORY
REM ===============
REM Version Date Description
REM ================================
REM 1.0.3 11/05/2010 Added full file path
REM 1.0.2 12/07/2005 Added parameter check
REM 1.0.1 12/07/2005 Original still had some test code in
REM 1.0.0 12/07/2005 Initial Version
---------------------------------------------
This is a very basic batch file that will create an m3u with a list of music files in the same folder. They can be multiple files extensions, doesn't matter.
There is one thing that I cannot get the way I want it; I would like to change the file name from "playlist.m3u" to "foldername.m3u". The problem is, when I use %~n1.m3u it uses the folder that I run the batch file with (and rightly so). Do you know of a way to change this?
-
Re: DSP Effects R6 - Playlist Writer - PLS
I am afraid batch files are not my forte.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Copyright © illustrate 2024, All rights reserved