[Pending] - Patch to support SXXEXX Episode Info in EPG

Discussion in 'Submit: code patches (MediaPortal/TV-Server/etc.)' started by Edalex, July 31, 2011.

  1. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,908
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    Hi.
    Currently Episode info is shows as (1.1.1) for Season 1 Episode 1 part 1. It can be (1) or (1.1 Pilot) depending on your EPG.
    This format is not so clear for me i.e your EPG have episode 1 part 1 without season number which is similar to season 1 episode 1.
    So I suggest to use "S01E01 Part1 Pilot" format.
    This patch is noobish and maybe useless but i have to try :)
    Thanks.


     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. hkjensen
    • Premium Supporter

    hkjensen MP Donator

    Joined:
    June 11, 2007
    Messages:
    164
    Likes Received:
    47
    Location:
    Copenhagen
    Ratings:
    +63 / 0
    Home Country:
    Denmark Denmark
    Why no make it as a 4th & 5th option:
    /// Get Episode info
    /// Builds string by the following rules set by ShowEpisodeInfo
    /// 0: [None] (empty string)
    /// 1: seriesNum.episodeNum.episodePart
    /// 2: episodeName
    /// 3: seriesNum.episodeNum.episodePart episodeName
    /// 4: SXXEXX PartXX
    /// 5: SXXEXX PartXX EpisodeName
     
  4. Edalex
    • Premium Supporter

    Edalex Community Plugin Dev

    Joined:
    January 3, 2008
    Messages:
    2,908
    Likes Received:
    713
    Gender:
    Male
    Location:
    Saratov
    Ratings:
    +1,229 / 9
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    It's not a new option, it's different look of existing ones.
    Options depend of what is stored in your epg database
    No Episode Info - Empty string
    Only episode number - (1) or E01
    Episode and season number - (1.1) or S01E01
    Season number, episode name and number (1.1 Pilot) or S01E01 Pilot
    Only episode name - (Pilot) or Pilot and so on
    Maybe it will be better to choose episode format form 1.1, S01E01 or maybe 1x01 in TV Server config but I don't like other formats.
     
  5. hkjensen
    • Premium Supporter

    hkjensen MP Donator

    Joined:
    June 11, 2007
    Messages:
    164
    Likes Received:
    47
    Location:
    Copenhagen
    Ratings:
    +63 / 0
    Home Country:
    Denmark Denmark
    Options is not how data is stored in the database, it is what the user select to display in the client - the options is only used when reading data from the database (that's why you set the option in the client configuration and not the server configuration)

    Also in the specification for episode, season and part there can be total number ex.: 1/3.2/12.1/2 - Season 1 of 3 episode 2 of 12 and part 1 of 2.

    Unless you change you patch to additional options, i think it should be rejected
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!