Turn to 'subtitles available' when a certain string is in the filename

Discussion in 'My TVSeries' started by Zinu, February 25, 2010.

  1. Zinu

    Zinu Portal Pro

    Joined:
    February 28, 2008
    Messages:
    650
    Likes Received:
    23
    Ratings:
    +23 / 0
    Home Country:
    Netherlands Netherlands
    I have loads of files with hardcoded dutch subtitles. To make this clear for the user these have '.nlsubbed' at the end before the extention in the filename.



    Would it be possible for MyTVseries to look for these kinds of strings and change the 'Subtitle available' database field accordingly?
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,456
    Likes Received:
    4,241
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,382 / 0
    Home Country:
    Australia Australia
    You could just edit the existing logo rule which shows subtitles yourself in TVSeries.SkinSettings.xml like so:

    Code (Text):
    1.  
    2. skin\StreamedMP\Media\Logos\Misc\SUBTITLES.png;-;<Episode.AvailableSubtitles>;-;=;-;1;-;OR;-;<Episode.EpisodeFilename>;-;contains;-;nlsubbed;-;AND;-;;-;=;-;;-;
    3.  
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!