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
    9K
    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
    Hi This is a general question about OnX. I have been using the TvWishList plugin for a while and have recently updated (update install) from MP 1.36 x86 to 1.37 x86 and found there seemed to be no Onx menu in the TV guide. I then configured the onx.presets.xml file like I would normally do with updates or fresh installs, but still...
    Hi This is a general question about OnX. I have been using the TvWishList plugin for a while and have recently updated (update...
    Hi This is a general question about OnX. I have been using the TvWishList plugin for a while and have recently updated (update...
    Replies
    0
    Views
    771
    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
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
    I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
    Before you create this bug report: Make sure that your system (windows, codecs and drivers) is up to date, matching the...
    Replies
    13
    Views
    4K
    Top Bottom