[mythtv-commits] Ticket #12649: Program.pm from the perl bindings, Mythlink, and season specials

MythTV noreply at mythtv.org
Fri Feb 12 19:10:07 UTC 2016


#12649: Program.pm from the perl bindings, Mythlink, and season specials
--------------------------------------+------------------------
     Reporter:  mythtv@…              |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  0.27.7
    Component:  Bindings - Perl       |    Version:  0.27.5
     Severity:  low                   |   Keywords:  Program.pm
Ticket locked:  0                     |
--------------------------------------+------------------------
 I am using mythlink with MythTV 0.27.5 on Fedora 23 x86_64 using
 packages from rpmfusion.

 With the recent updates to mythlink, it has the ability to create
 output including season and episode.  This is most useful if you also
 consume mythtv content in xbmc, plex, etc.  It is a great addition.

 One gap that I have noticed though is the handling of special episodes.

 I usually use this format: "%T/%T - S%ssE%ep - %S" to give output
 like:

 The X- Files/The X- Files - S10E01 - My Struggle.mpg

 In the case of special episodes, those are usually season 0,
 but with an episode number.  This yields:

 American Ninja Warrior/American Ninja Warrior - SE03 - USA vs. the
 World.mpg

 The issue is in the format_name function in Program.pm from the perl
 bindings.  If the season is 0, then it doesn't print anything.

 The attached patch resolves the issue for specials.  If the season is 0,
 but the episode > 0, it will set the season to '00'

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12649>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list