Home of the Squeezebox™ & Transporter® network music players.
Page 10 of 10 FirstFirst ... 8910
Results 91 to 96 of 96
  1. #91
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    1,083
    Quote Originally Posted by bpa View Post
    At a guess the 2017 will work as end of line and "/" are boundaries (I think "words" are a sequence of letters and/or numbers)

    Pattern would to be a Perl regular expression pattern usually DD/MM/YYYY is matched by (\d+)/(\d+)/(d+) (actually 1 or more digits separated by "/") and not a simple wilcard with "*"
    Well I tried adding (\d+)/(\d+)/(\d+) as a filter keyword and it works. I have no more dates appearing in WWTT. Thanks very much for the suggestion.

    Sent from my SM-G900F using Tapatalk

  2. #92
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,330
    Quote Originally Posted by slartibartfast View Post
    Well I tried adding (\d+)/(\d+)/(\d+) as a filter keyword and it works. I have no more dates appearing in WWTT. Thanks very much for the suggestion.
    I'm a bit surpised that it works as it is a pattern inside the existing pattern for keywords and I wasn't sure of the side effects of that.

  3. #93
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    1,083
    Quote Originally Posted by bpa View Post
    I'm a bit surpised that it works as it is a pattern inside the existing pattern for keywords and I wasn't sure of the side effects of that.
    Well I will see how well it works tomorrow morning when normally a date appears after every track during the breakfast show. It wasn't easy to find a suitable test station tonight so I ended up with BBC Scotland which had no track info at all but the date was permanently in the track info position. WWTT ignored it.

    Sent from my SM-G900F using Tapatalk

  4. #94
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,781

    [Announce] What Was That Tune? plugin

    >> Well I tried adding (\d+)/(\d+)/(\d+) as a filter keyword and it works.
    >> I have no more dates appearing in WWTT. Thanks very much for the
    >> suggestion.

    >
    > I'm a bit surpised that it works as it is a pattern inside the existing
    > pattern for keywords and I wasn't sure of the side effects of that.


    The keywords are split on the comma, then ORed together:
    "keyword1|keyword2" etc. That said you'd have to be familiar with
    regexes in order not to break the filtering... the implementation is not
    very robust.

    --

    Michael

  5. #95
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    1,083
    Quote Originally Posted by bpa View Post
    I'm a bit surpised that it works as it is a pattern inside the existing pattern for keywords and I wasn't sure of the side effects of that.
    Success

    Sent from my SM-G900F using Tapatalk

  6. #96
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    15,330
    Quote Originally Posted by mherger View Post
    The keywords are split on the comma, then ORed together:
    "keyword1|keyword2" etc. That said you'd have to be familiar with
    regexes in order not to break the filtering... the implementation is not
    very robust.
    which are then put into a word boundary pattern " /\b(?:$ignoreList)\b/i"

    With so many patterns, I'm surprised there wasn't an unexpected interaction so any user must accept it is not robust.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •