Filter out Sample directories (1 Viewer)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    I can not edit nor test the expression without having full sample data to run it on.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    since all the sample video file name + paths located in this thread have \sample\ as the directory name, why not just throw out any files if the parent folder to that file is an exact match with "\sample\" this rule would not fail on any episode with sample in the episode title/filename.

    The only way I could image this expression getting it wrong would be if there was a series called sample and the user used the following filename structure \tv series\sample\filename.avi instead of \tv series\sample\Season 1\filename.avi, and if I look on thetvdb there is no series called sample anyways... http://thetvdb.com/?string=sample&searchseriesid=&tab=listseries&function=Search
     
    Last edited:

    croyfer

    Portal Member
    November 3, 2011
    6
    0
    since all the sample video file name + paths located in this thread have \sample\ as the directory name, why not just throw out any files if the parent folder to that file is an exact match with "\sample\" this rule would not fail on any episode with sample in the episode title/filename.

    How does one do such a thing? :)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,743
    1,754
    New Zealand
    Home Country
    New Zealand New Zealand
    Yeah sorry bad suggestion, I looked into this a bit further and not sure how to do that worth the existing way things are done.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 1.39 x86 1.39 won't install DE
    That did it, thanks.
    That did it, thanks.
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    2
    Views
    696
    Well, all that remains is to find someone who will add this render if it is a render.
    Well, all that remains is to find someone who will add this render if it is a render.
    Are there plans to support other video renderers? MadVR got added a while ago, but this a 'hardcoded' selection in the...
    Replies
    23
    Views
    18K
    • Sticky
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked the Windows Media Player item in Windows 10 Control Panel > Program and Features > Turn Windows features on or off as I didn't need it, without thinking that it was needed by MediaPortal. I kept the "Media...
    Many many years ago, I opened a bug report after I got that same message but I never got a reply. The reason was I had unchecked...
    We have just released MediaPortal 1.39 - Endurance x86 and x64 version. Highlights of this release Bugfixes: [MP1-5257] - Skin...
    Replies
    13
    Views
    2K
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Hi everyone, I have been using it For 16 years now (from V1.1.1) and it has worked flawlessly. I only use TV Series and Moving...
    Replies
    2
    Views
    707
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before storing them, to reduce some size. It is finding that slower, I think. Or it could just be because I'm expecting more? The Baseboard manufacturer says ASUSTech Computer Inc; Baseboard product P7P55D-E...
    The reason I was thinking I needed more RAM is that TV now seems to be HiDef and so the files have grown. I edit the files before...
    I'm not sure where to post this query - I've been told, during a conversation about costs of upgrading, that W11 may not support my...
    Replies
    4
    Views
    6K
    Top Bottom