Showing the rating badge in a label

Is there a way of showing the rating badge in a label?

I want a string the appear below the title of the video in the details screen with the format duration/year/rating (for example: “23:45 | 2021 | PG-13” , where PG-13 should be the badge).

I have the rating field set in the content and the following in brightscript:

m.detailsLabel.text = content.duration + " | " + content.year + " | " + content.rating

But it’s just rendered as text.

Labels can only contain text. If you want to show a badge you’d have to add Poster over the label adjusting its position based on the length of the other text. I don’t even know if Roku makes the badges available or if you have to package the graphics with your channel.