Expressions/Rules requests | Page 13

Discussion in 'My TVSeries' started by Inker, April 12, 2007.

  1. ScoopD

    ScoopD Portal Member

    Joined:
    April 24, 2007
    Messages:
    37
    Likes Received:
    4
    Occupation:
    Application Packager
    Location:
    Melbourne
    Ratings:
    +4 / 0
    Home Country:
    Without offering a solution, the first two should be easily parsed. The problem will be with the file that has no season. The three absolutely required pieces of info are -
    1. Series name
    2. Season Number
    3. Episode Number
    Without those three there is no way to correctly determine what episode the file is.

    For clarification, do you actually have the words "Season" and "Episode" in your file name - to give an example following your info -

    That's a really long file name. Have you thought of shortening the season/episode part to something like - S01E06

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Salem

    Salem Portal Pro

    Joined:
    March 10, 2008
    Messages:
    69
    Likes Received:
    9
    Location:
    Cambridgeshire, UK
    Ratings:
    +9 / 0
    Home Country:
    United Kingdom United Kingdom
    Oh, i guess some of them having no season will be a problem. So, would i just have to name the file with no season number as "Season 0"?

    Yes that is correct. I Have thought abit about shortening the naming. But have as yet not decided to. I think i will have to though is it makes everything easier
     
  4. ScoopD

    ScoopD Portal Member

    Joined:
    April 24, 2007
    Messages:
    37
    Likes Received:
    4
    Occupation:
    Application Packager
    Location:
    Melbourne
    Ratings:
    +4 / 0
    Home Country:
    All of the data from this plugin comes from Online TV Database - An open directory of television shows for HTPC software - you should check out your shows there. The shows with only episodes are probably season 1, not 0.

    Basically the easier you make it for the plugin to work out what the show/season/episode is the easier the whole process becomes. The episode name comes from the database, not your file, so that info is the only part that you may want to keep in your file name, but is not required for the plugin.

    Does that make sense?
     
    • Like Like x 1
  5. Salem

    Salem Portal Pro

    Joined:
    March 10, 2008
    Messages:
    69
    Likes Received:
    9
    Location:
    Cambridgeshire, UK
    Ratings:
    +9 / 0
    Home Country:
    United Kingdom United Kingdom
    YEh it does, thanks:)
     
  6. ScoopD

    ScoopD Portal Member

    Joined:
    April 24, 2007
    Messages:
    37
    Likes Received:
    4
    Occupation:
    Application Packager
    Location:
    Melbourne
    Ratings:
    +4 / 0
    Home Country:
    OOPS - double post - sorry
     
  7. xanderificus

    xanderificus Portal Member

    Joined:
    August 21, 2007
    Messages:
    12
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Canada Canada
    Just need it recognized

    I posted this solo but then realized it should probably go here.

    I'm trying to parse the following filename format into ANYTHING that the plugin will recognize:

    The.Daily.Show.04.15.2008.PDTV.XviD-0TV.[VTV].avi

    Here's the thing: I know it can't convert the date of broadcast into the season.episode. That's okay.
    I will settle for it turning it into (in this example), S04.E15 ... or equivalent.

    All that matters is that it thinks it's recognized it and that it's not sitting hidden away as unimported. I've tried to adapt some of the stuff from page 8 (re: BeyondTV) but, for all my strengths, I'm lost when it comes to RegEx.

    :D

    Edit: I'll add that I've tried the Simple: \<series> <season> <episode> 2008 <title>.<ext> to no avail.
     
  8. LXTR

    LXTR Portal Pro

    Joined:
    November 27, 2007
    Messages:
    86
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Spain Spain
    Just a question... maybe someone can help me.

    I want to display series rating logos.
    If i do a formatting rule to round the rating (so 8,6 is 9 etc...) ¿should i do a rule to show the logo too? I mean... ¿do i need a logo rule to show the 9 stars logo when 8,6 rating or can i do it all from the formatting rules?

    I'm getting a little fool trying it...
     
  9. tki

    tki Portal Member

    Joined:
    April 10, 2008
    Messages:
    12
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    Should work no??

    Hi - Have been trying various mods to the expressions for the past hour now, but I can't get my files to parse.

    All my episodes are as follows:
    T:\TV\<series>\Season <season>\<episode> - <title>.<ext>

    e.g.:
    T:\TV\House\Season 3\04 - Lines in the Sand.avi

    I have set T:\TV as the import dir, and i am using a simple expression:

    \<series>\Season <season>\<episode - <titile>.<ext>

    so what am i missing?? - for some reason "T:\TV\Top Gear\Season 7\Top Gear - [07x02] - 2005.11.20.avi" passes perfectly with this setup. Unfortunately this is the exception to my naming convention and the only folder I would expect not to parse correctly.

    Any help would be hugely appreciated as I can really see this plugin taking my mediaportal setup from "awesome" to "wicked awesome!!":D
     
  10. xanderificus

    xanderificus Portal Member

    Joined:
    August 21, 2007
    Messages:
    12
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Canada Canada
    Did you spell it "titile" in the expression?



    EDIT: Since I asked my own question 5 days ago without reply, I've had to create an AutoIt script that parses the filename and renames it. I guess I stumped the locals.
     
  11. tki

    tki Portal Member

    Joined:
    April 10, 2008
    Messages:
    12
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    New Zealand New Zealand
    no - but well spotted - just another question: what would I put in place of <title> if I was to just ignore the title that I have in the filename and let mp tv series deal with it?

    Really keen to get this sorted, but I'm really stumped
     
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!