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

    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
    14K
    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
    339
    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
    5K
    Got it working again!!! (y) (y) It seems the file "DialogMenu.xml" in the theme folder does not have the onX settings in the file by default (after MP 1.36) and when you install a later version of MP. I modified the MP 1.38 file with the onX settings from MP 1.36. Also I have found the "DialogMenu.xml" from MP 1.36 will work with MP...
    Got it working again!!! (y) (y) It seems the file "DialogMenu.xml" in the theme folder does not have the onX settings in the file...
    Hi This is a general question about OnX. I have been using the TvWishList plugin for a while and have recently updated (update...
    Replies
    1
    Views
    1K
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    Top Bottom