Using %_folderpath%
will change:
c:\temp\$replace(%album%,"/",_,"?",_,"*",_,",_,<,_,>,_,|,_,:,_,\,_).m3u8
to (after automatic correction):
%_folderpath%\$replace(%album%,,_,,_,,_,,_,,_,,_,,_,,_,\,_).m3u8
.
So even though %_folderpath
is an absolute path, I can't get it to work here.
Edit: Interestingly, adding \\
to the start of \\%_folderpath%\$replace(%album%,/,_,?,_,*,_,",_,<,_,>,_,|,_,:,_,\,_).m3u8
at least allows me to OK the string without Mp3tag complaining, but when I try to write a playlist file, it shows \\C\Users\my_user\Desktop\New folder\_________.m3u8
. If you notice, C\
is missing :
. Not sure what's up with that.
I'm not sure how it works for you; when I try to use that string, Mp3tag complains that the "Following characters are not allowed in file names: \ / : * ? " < > |" and wants to apply an automatic correction. After I apply it, the $replace
is again all underscores (like above).
All I want is an album name of \/?*"<>|:
to be replaced by nine underscores _________
when creating a m3u8 playlist file. I just can't figure it out.
Assuming ID3v2.4, ID3 wiki:
TDRC (recording time) consolidates [v2.3's] TDAT (date), TIME (time), TRDA (recording dates), and TYER (year)
id3v2.4.0-frames.txt 4.2.5:
TDRC The 'Recording time' frame contains a timestamp describing when the audio was recorded. timestamp format is described in the ID3v2 structure document [ID3v2-strct].
id3v2.4.0-structure.txt 4:
… valid timestamps are yyyy, yyyy-MM, yyyy-MM-dd, yyyy-MM-ddTHH, yyyy-MM-ddTHH:mm and yyyy-MM-ddTHH:mm:ss.
… so it seems dates longer than just yyyy
are fine.
I in fact don't use YEAR
as it's mapped to DATE
(DATE
being a VorbisComment field which I like to use). If I was using ID3's convention, RELEASETIME
does indeed seem to be the more accurate field to use for such info though.