Kodi Community Forum

Full Version: Any way to strip characters from an INFO label?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I was wondering if anyone knows of a way to strip characters from an $INFO label? Specifically, I'm trying to remove the S from ListItem.Episode for Specials.

I have a viewtype that is right aligned which shows the episode number in a monospaced font in a two digit space (episodes under 10 have a leading zero and episodes 100 and over display as 99). For specials over 9 there is then three characters (e.g. S24 rather than just 24). I'm currently using a slide animation to shift the title over to make room for these special cases, but that then messes up the alignment. What I want to do is strip the S and then put an icon elsewhere indicating that it is a special. I have a feeling that this is not possible...
Indeed not possible.