![Icon](/resources/search.mediainfo.png)
![Icon](/resources/window.icon16.png)
![Icon](/resources/action.format.png)
![Icon](/resources/action.variables.png)
![Icon](/resources/action.load.png)
![Icon](/resources/action.properties.png)
![Screenshot](https://i.imgur.com/I7ulhvt.png)
e.g. get Title property from the general media properties:
Format: Select all
{ media.Title }
e.g. get Recorded_Date property from the general media properties and match the YYYY pattern:
Format: Select all
{ media.RecordedDate.match(/[0-9]{4}/) }
e.g. get the Format_Profile property from the first video stream:
Format: Select all
{ video[0].FormatProfile }
e.g. get the DisplayAspectRatio/String property from the first video stream:
Format: Select all
{ video[0].DisplayAspectRatioString }
![Screenshot](https://i.imgur.com/EOFMplb.png)
![Idea :idea:](./images/smilies/icon_idea.gif)
![Icon](/resources/window.icon16.png)
![Icon](/resources/action.format.png)
![Icon](/resources/action.variables.png)
![Icon](/resources/action.properties.png)
![Idea :idea:](./images/smilies/icon_idea.gif)
Shell: Select all
filebot -script fn:mediainfo /path/to/files
![Idea :idea:](./images/smilies/icon_idea.gif)
Shell: Select all
filebot -mediainfo -r /path/to/files --format "{vc} | {ac} | {channels} | {resolution} | {duration} | {f}"
If you have issues with MediaInfo bindings such as {vc}, {ac}, {channels}, {resolution}, {duration}, etc, check the raw MediaInfo data to see what FileBot sees.