Sample files being imported, string to stop em? (1 Viewer)

bono82

New Member
February 24, 2007
1
0
43
Home Country
Sweden Sweden
Lo fellow htpc fanatics :D

started using this wonderful plugin (MP-TV series) a few days ago, but i have a slight problem.

On most of my tv shows there is a sample file included, and the plugin imports them also into its database. So when u go into MP and browse for a show you always have 2 from the same episode to choose from.. would like to get rid of this annoyance, but i dont know how to add a string to block them.
 

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    I think the only way to do this is to tweak the regex to avoid files with "sample" in them. But I'm really not the person to ask about regex....my head spins everytime I have to do something with it.

    I'm sure someone here can help you.
     

    seven5

    Portal Pro
    April 23, 2007
    72
    0
    46
    maybe there could be an exclusion regex. it would only need one. In it, you could create a long regex that would exclude files with different words like "sample" inside it.

    But all of this really just creates the question, why not just delete your sample file? why keep it?
     

    r8td

    Portal Pro
    June 16, 2006
    58
    0
    thank you for the response, and i know the easy answer would be simply to delete the sample, but i use a dedicated HTPC like many people here. I have my box setup to downloads and categorizes everything automatically, so I get a lot of tv pilling up up samples, when I don't get the time to clean it out. - its just a small annoyance- when it lists two files.

    -Evan
     

    tebba

    Portal Pro
    November 8, 2007
    56
    0
    Home Country
    Norway Norway
    Have someone come up with a solution to this? A regex string?

    Edit: noticed that it's allready in there.

    What about a certain file typE?
     

    scma

    Portal Pro
    December 24, 2005
    77
    4
    Home Country
    Sweden Sweden
    solved a long time ago

    The default regexp rules have discarded file names ending with sample for along time. the only sample-files there's no rule for is the ones with names starting with sample, but those would show up as new series, so that's not really a problem, just answer "never ask again" and problems gone.
     

    tebba

    Portal Pro
    November 8, 2007
    56
    0
    Home Country
    Norway Norway
    what about a different word than sample?

    Say for example i want to remove CD1 and CD2 at the end of the files, or subs for that matter.. could i just copy the same regex and replace it with 'CD1' then copy it again and replace it with 'CD2' etc?


    Edit1: And can someone please explain to me what the top 4 regex strings does? Thx :D


    Edit2: I just checked the sample thing. It does indeed include files ending with the word 'sample' e.g. "Seriesname.S01E01-sample.avi

    And are there anyway to exclude a certain file type? for example .mpeg?
     

    Users who are viewing this thread

    Top Bottom