[mythtv-commits] Ticket #12003: Episode info not usable in templates in themes

MythTV noreply at mythtv.org
Sat Oct 3 20:42:28 UTC 2015


#12003: Episode info not usable in templates in themes
--------------------------+------------------------------------------------
 Reporter:  thomas@…      |          Owner:  Jonatan Lindblad <jlindblad@…>
     Type:  Patch - Bug   |         Status:  infoneeded_new
  Fix                     |
 Priority:  minor         |      Milestone:  0.27.6
Component:  Themes        |        Version:  Unspecified
 Severity:  medium        |     Resolution:
 Keywords:                |  Ticket locked:  0
--------------------------+------------------------------------------------

Comment (by Frank Phillips <fphillips81@…>):

 Replying to [comment:7 Karl Dietz <dekarl@…>]:
 > In [changeset:"bb6fe50f70e47b836bcc9752af32996fd114a15e/mythtv"]:
 > {{{
 > #!CommitTicketReference repository="mythtv"
 revision="bb6fe50f70e47b836bcc9752af32996fd114a15e"
 > Fiddle with the theme template regular expression for #12003
 >
 > It appears that \w worked for a long time. But does not match #
 > so it was changed to \S which matches everything but white space.
 >
 > Now try with \w and explicit #.
 >
 > The regexp is tested with online tools.
 > (I couldn't get QRegExp-Editor to build and refactoring to suit unit
 > tests didn't look easy)

 I just rebuilt qregexp-editor following INSTALL from the 0.2.1 tarball on
 Arch. For usage, note that cpp wants double backslashes and the tool wants
 singles.

 I tested the strings I use with it and they check out:
 {{{
 %DESCRIPTION%
 %TITLE%% (|YEAR|)%
 %LONGREPEAT%%(|STARS|) %%DESCRIPTION%
 %##x##%
 %s##e##%
 }}}
 > I'll pull it into fixes/0.27 once I hear success reports.
 >
 > Refs #12003
 > }}}

 I'm not able to test 0.27 with the change at this time.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12003#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list