[mythtv] [mythtv-commits] mythtv commit: r21784 by robertm
David Madsen
david.madsen at gmail.com
Tue Sep 15 10:05:56 UTC 2009
I've been testing this, and I'm still seeing some problems with
mythfrontend finding these files. I think I've tracked it down to the
RegExp being used. It appears there is a required digit portion of
the regex "[0-9]{1,3}" that is causing matches to fail. The following
patch, which includes the digit inside the optional season grouping
fixed the issue for me.
--- programs/mythfrontend/playbackbox.cpp (revision 21864)
+++ programs/mythfrontend/playbackbox.cpp (working copy)
@@ -1923,8 +1923,8 @@
"(?:" // begin optional Season portion
"S(?:eason)?" // optional "S" or "Season"
"(?:\\s|-|_|\\.)?" // optional separator
+ "[0-9]{1,3}" // number
")?" // end optional Season portion
- "[0-9]{1,3}" // number
"(?:" // begin optional Episode portion
"(?:\\s|-|_|\\.)?" // optional separator
"(?:x?" // optional "x"
On Fri, Sep 11, 2009 at 4:15 PM, <mythtv at cvs.mythtv.org> wrote:
> Author: robertm
> Date: 2009-09-11 23:15:14 +0000 (Fri, 11 Sep 2009)
> New Revision: 21784
> Changeset: http://cvs.mythtv.org/trac/changeset/21784
>
> Modified:
>
> trunk/mythtv/programs/mythfrontend/playbackbox.cpp
> trunk/mythtv/programs/mythfrontend/playbackbox.h
>
> Log:
>
> Amend the Watch Recordings Fanart/Banner/Coverart image hunt to support the new MythVideo file naming scheme (suffices of _fanart, _banner, _coverart). Those downloading images for Watch Recordings with jamu should update and should find the hunt working again.
>
>
> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
>
More information about the mythtv-dev
mailing list