Logo rules bundled into next release? (1 Viewer)

piranha

MP Donator
  • Premium Supporter
  • September 17, 2005
    370
    10
    Thats very easy to do, and you don't need to mess around with regex either.
    Add a new rule, pick your logo file, and under rules add:
    If <Episode.EpisodeFilename> contains Backed_Up

    Is there any way I could detect if there is a subtitle file present as well? Any file with the same name, and *.txt, *.srt extension?
     

    Inker

    Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    Thats very easy to do, and you don't need to mess around with regex either.
    Add a new rule, pick your logo file, and under rules add:
    If <Episode.EpisodeFilename> contains Backed_Up

    Is there any way I could detect if there is a subtitle file present as well? Any file with the same name, and *.txt, *.srt extension?

    I think the field <Episode.hasSubtitles> gets filled with 1 if such a file is present, I'm just not sure when that is checked, but I would assume it works. So try:
    if <Episode.hasSubtitles> = 1
     

    piranha

    MP Donator
  • Premium Supporter
  • September 17, 2005
    370
    10
    Great!

    You really thought of everything, didn't you? ;)

    Can you look at this post reporting some issues with the current SVN?
     

    Bobb25

    Portal Pro
    November 26, 2006
    232
    0
    Durban
    Home Country
    South Africa South Africa
    [

    Thats very easy to do, and you don't need to mess around with regex either.
    Add a new rule, pick your logo file, and under rules add:
    If <Episode.EpisodeFilename> contains Backed_Up
    Click save.

    Inker

    PS: if <Episode.EpisodeFilename> is displayed in red, try with a lower case f (I'm not sure about correct casing right now). Fields it recognizes turn green.


    Dude... you are absolutely legend :) I thought it was something simple... i just get intimidated and confused with all the references for the commands.
    :D
     

    Users who are viewing this thread

    Top Bottom