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,746
    1,751
    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,746
    1,751
    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

    Thanks, will test that next time.
    Thanks, will test that next time.
    I don't know how many of you are aware of this, however, it may be that AnyDVD HD has finally come to an end. Their web site can no...
    Replies
    14
    Views
    3K
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings, advanced options, I switched to UNC paths instead of the default RSS, and it's working very well. Sure I had to figure out the paths, but no big deal. Maybe helpful for someone in the future. Thanks for the...
    Ok, so perhaps a solution, but not the "right" solution. On the client, within media portal configuration, under TV settings...
    Hi folks. I have an issue with a new install/integration into my mediaportal system. I have a “mediaportal server” which has the TV...
    Replies
    5
    Views
    503
    If you remember, I wrote about it when tests because of x86/x64 problems
    If you remember, I wrote about it when tests because of x86/x64 problems
    Hia all, So, decided to setup a new client instance and getting fed-up with the tonne of bloatware and cr*p that comes with...
    Replies
    9
    Views
    867
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
    Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
    Replies
    2
    Views
    798
    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    516
    Top Bottom