[mythtv-commits] Ticket #3123: Update to imdbpy.py script
MythTV
mythtv at cvs.mythtv.org
Thu Feb 22 08:31:16 UTC 2007
#3123: Update to imdbpy.py script
-----------------------+----------------------------------------------------
Reporter: hads | Owner: awithers
Type: patch | Status: new
Priority: trivial | Milestone: unknown
Component: mythvideo | Version: head
Severity: low |
-----------------------+----------------------------------------------------
Hi,
Here's a patch that I'm using for the imdbpy.py script.
I prefer my episode titles differently to how the script currently outputs
them so I've added a format string which you can set to what you like.
It's left pretty much how it was before with an example of how I have
mine.
Secondly I added a bit to the regex to cater for filenames with dashes and
spaces ("The Sopranos - 02x01"). While I was doing this I added names to
the regex to make it longer but easier to follow (MHO).
Also fixed a problem where the title returned was based on the title
given, sometimes this would cause you to choose an episode from one series
when it was in fact a completely different series.
There's also a minor fix for an exception when there is no plot outline.
Finally I added an ascii encode on the output as this was causing an
exception for me occasionally. I'm not sure about this one.
Cheers,
hads
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3123>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list