Some feature requests :)
Reply #3 – 2003-04-19 20:08:49
%__filesize%: returns the file size in bytes You can calculate this from the length and bitrate of the file. not exactly.. I need (or rather, would much prefer) the actual filesize -- doing this fails to take into account padding, tags, et cetera. (for example, one for one file I tried this on $div($mul(%__bitrate%,%_length_seconds%,1000),8) returns 3 632 000, or 3 719 168 if I change that 1000 to 1024 (I never know which to use :P), neither of which is the correct value for my 3 627 385-byte file.. while the difference may seem trivial, it's not when you're using the byte count as one method of dupe-checking (it's not my only method, don't worry :) Now, I suppose one could try to factor in the tag by doing something like$add($len([%artist%][%title%][%performer%] [%composer%][%date%][%tracknumber%][%comment%][%album%]),46,15,14) but it's those last few values (tag padding & such, gotten with a hex editor) that change all over the place from file to file, depending on whether ID3v2, APE2, or ID3v1 are present in varying combinations and (...) Don't you think that warrants a %__filesize%?%__path_volumelabel%: returns the volume label for the drive a song is on (for cataloging CD collections) I think this is unnecessary really. You can setup code to insert the volume label (from a set of variables you define) for a drive according to what the returned path of the file is. nonono, see, I want to be able to distinguish between songs on MP3Vol31 and MP3Vol32 , both of which are CD's that would be in the W:\ drive (at different times of course)...so going by driveletter/path wouldn't work at all... I suppose I could make my CD's so that all files contained therein are in a subdirectory by the volume name but I don't really feel like it, plus I can't update my existing CD-R's because they're completely full (no room for multisession) and finalized. Also, I did consider adding tag values (so that I could use %volumelabel% or something), but the read-only problem crops up again, and I also I decided that it would be an inconsiderate thing to do (since those tags would only apply to me, and would mean nothing to anyone to whom I send the file) and I it really peeves me when I get other people's irrelevant comment fields in files I download ;)[making a backwards-compatible plugin reader thingie] is a bad idea. yea ok, just thought I'd check :)foo_speex for 0.6: http://www.saunalahti.fi/cse/foobar2000/fo...o_speex_0.6.exe Thanks dude :)