INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: BeGood on September 28, 2016, 05:58:37 pm

Title: Filesize in Bytes
Post by: BeGood on September 28, 2016, 05:58:37 pm
Hi,

how can I display the filesize in Bytes (no MB, no GB, etc.), played with FormatFileSize(Filesize,0), but couldn't figure it out...

Thx
Title: Re: Filesize in Bytes
Post by: blgentry on September 28, 2016, 06:23:51 pm
For any field that has a "friendly display" format normally, you can access it's raw value too.  For example, the [Date] field shows you a nicely formatted human readable output when you call it as [Date].  To see the raw value, do it like this:
[Date,0]

So,
[File Size,0]
will show you the raw value of [File Size], which is in bytes.

Brian.
Title: Re: Filesize in Bytes
Post by: BeGood on September 28, 2016, 06:35:15 pm
works, that's what I was looking for...

Thanks a lot