A few questions:
- Is there any way to format a property value in the template? For example, when a video file is selected, I want to see the Total Bit Rate, but using the System.Video.TotalBitrate property gives me the number in bytes. I'd like to see it in kilobytes, or alternatively with comma separators. Is that possible or could an xyplorer #video.totalbitrate native variable be created to do that, as for audio? (Note: I actually would prefer the System.Video.bitrate property instead to exclude the audio component, but nothing comes back for that property.)
- Omit added strings when property values not available. For videos, I have the following template pattern:
But if the selected file is not a video, the rendered text in the status bar becomes " x @ ". It would be nice if the added strings don't show up at all in that case. Perhaps if one used a special grouping character pair such as "{ }" ? Or type-specific status bar templates? Or have a #video.dimensions native variable that works like #audio.dimensions?
Code: Select all
<prop System.Video.FrameWidth> x <prop System.Video.FrameHeight> @ <prop System.Video.TotalBitrate>
XYplorer Beta Club