Quick Questions about exclusion regex
#1
Hello,

I have tried to search for this, as well as wrap my head around it using google and many various other tools but can't seem to figure it out.

I am using the <pictureexcludes> function in advancedsettings.xml

I have managed to use <regex> to filter out some folders from being displayed. I cannot however, figure out how to exclude certain files. Specifically, some TN_ files I have.

Specificially I have some folders with something like this: TN_March11thPic041.JPG and TN_March9thPic017.JPG

Basically I want to tell XBMC to ignore pictures that start with TN_ and end in .JPG

I am tearing out my hair, and I think it's quite simple for someone familiar with it. I tried a few generators online and came up with these, but they don't work:

Code:
<regex>.*?(March)(.)(.)(thPic)(.)(.)(.)(\\.)(JPG)</regex>
<regex>.*?(March)(.)(stPic)(.)(.)(.)(\\.)(JPG)</regex>

and

Code:
<regex>TN_(*)([0-9])$</regex>

Any help would be appreciated!

TL;DR - I want to tell XBMC to ignore pictures that start with TN_ and end in .JPG using <pictureexcludes> in advancedsettings.xml
Reply
#2
since nobody else answers you can have my scumbag reply.

it's not a friggan selection fest mister. you just have to match.

<regexp>TN_.*?\.jpg</regexp>
Reply
#3
Thank you ironic_monkey! I'll take it.. 'scumbag reply' and all.
Reply

Logout Mark Read Team Forum Stats Members Help
Quick Questions about exclusion regex0