Exclude certain files when importing to library?
#16
Well, having found the 'Userdata' folder I did not go hunting for it.
Reply
#17
Well, it reads the the advancedsettings.xml but still issues the query and find the series '"Extras".

I doublechecked my regular expression. The movies are called 'Extras.mkv', 'Extras - 1.mkv' and so on.

Regexbuddy thinks it matches but you may use a different parser.

Should I rephrase the expression?
Reply
#18
Bump.
Reply
#19
Do you really want help?
Then why don't you listen to what the people that are trying to help you are asking you to do?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#20
The debug log is here:
http://pastebin.com/m54f9f51d
Reply
#21
rernst Wrote:The debug log is here:
http://pastebin.com/m54f9f51d

Please post you advancedsettings.xml as well.

EDIT: Oops, thread is too messy so i missed it on first page. sorry.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#22
use something like this ..

[HTML]<advancedsettings>
<video>
<excludefromlisting>
<regexp>(Extras)[\.]</regexp>
</excludefromlisting>
</video>
</advancedsettings>[/HTML]

.. and you're done. Note, i've used <excludefromlisting> instead of <excludefromscan> but this will work as well.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#23
This doesn't quite do what I want (the regular expression). I want it to be case insensitive. I used this:

<advancedsettings>
<video>
<excludefromscan>
<regexp>[Ee][Xx][Tt][Rr][Aa][Ss]*.*</regexp>
</excludefromscan>
</video>
</advancedsettings>
Reply
#24
rernst Wrote:This doesn't quite do what I want (the regular expression). I want it to be case insensitive. I used this:

<advancedsettings>
<video>
<excludefromscan>
<regexp>[Ee][Xx][Tt][Rr][Aa][Ss]*.*</regexp>
</excludefromscan>
</video>
</advancedsettings>

matching is done case insensitive .. you've tried before writing here?
if it's just for a better feeling .. '(eXtRAS)[\.]' will work too Wink
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#25
I want it to match (see above in thread)

Extras - 1
Extras
Extras - 2

etc.

So I used:
Code:
<advancedsettings>
  <video>
    <excludefromlisting>
      <regexp>(Extras).*[\.]*</regexp>
    </excludefromlisting>
  </video>
</advancedsettings>

and that did the trick. Whew.
Reply
#26
Glad to hear it's finally working for you.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#27
Hi,

I have somehow similar struggle. I want to exclude files with pattern from listing and library scan every file that is:

Tried on both(..) but none of them worx.
XBOX, Atlantis, latest TH3C build, MediaStream skin
AppleTV, Atlantis bf1, launcher 2.3, MediaStream skin

I!m sure that advancedsettings.xml is read. E.g. loglevel change has an effect.

Example File to exlude:
Something.2008.720p.avi

Quote:<advancedsettings>
<video>
<excludefromscan>
<regexp>[-\._ ](720p)[-\._ ]</regexp>
</excludefromscan>
[<excludefromlisting>
]<regexp>[-\._ ](720p)[-\._ ]</regexp>
</excludefromlisting>
</video>
</advancedsettings>


When I go to Videoes and diretory view I still see the 720p files.
What am I doing wrong?
Reply
#28
After removing the misplaced brackets before <excludefromlisting> and <regexp> it's working fine here. Note, you will need a XBMC version > SVN revision 16435 in order to get this to work.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#29
vdrfan Wrote:After removing the misplaced brackets before <excludefromlisting> and <regexp> it's working fine here. Note, you will need a XBMC version > SVN revision 16435 in order to get this to work.

Good one!!! Rolleyes
I've made a type-o while pasting to the forum. Big GrinBig GrinBig GrinBig Grin

Yep, I have a version mismatch. On XBOX I have
XBMC SVN 2008-11-13 (13th of November 2008) rev16144 ATLANTIS *FINAL* installed.

Not sure about Apple's XBMC. Will give a try and update XBOX.

Note: this info was missing from the wiki:
http://wiki.xbmc.org/?title=XBMC_Online_Manual

Cheers, Sircube
Reply
#30
Just updated my XBOX with latest SVN and works. Confirmed!
Excellent support! thanks a lot.
Reply

Logout Mark Read Team Forum Stats Members Help
Exclude certain files when importing to library?0