[mythtv-theming] Episode info in templates
Jonatan Lindblad
mythtv at comhem.se
Mon Nov 25 22:53:56 UTC 2013
On 2013-11-25 00:23, Thomas Mashos wrote:
> How do you use episode info in a template?
>
> How come (per the guide), this works
>
> <template>%TITLE% (%YEAR%) - %DESCRIPTION%</template>
>
> but this does not
>
> <template>%TITLE% (%##x##%) - %DESCRIPTION%</template>
It looks like an issue with the regular expression used to extract the
fields. # is not a word character and therefore the matching fails.
The attached patch should fix that by matching against non-whitespace
characters.
--
Jonatan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SetTextFromMap.patch
Type: text/x-patch
Size: 1214 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-theming/attachments/20131125/1057f89a/attachment.bin>
More information about the mythtv-theming
mailing list