Solved advanced settings - folder to not analyse....
#1
Hello,

I have this advancedsettings in my Kodi roaming...>
Quote:<advancedsettings version="1">
<settings>
    <setting id="extras-folder" value= "extras"|"Extras"|"1900 Extras"|"1900 Extras [VO]"|"1900 VOSTFR"|"1900 VO" />
    <setting id="blacklisted_directories" value= "sample|subs|extras|Extras|1900 Extras|1900 Extras [VO]|1900 VOSTFR|1900 VO" />
    <setting id="blacklisted_extensions" value= ".bin|.dat|.url|.zip|.vob|.ifo" />
    <setting id="blacklisted_words" value="!Doc!" />
    <setting id="scan_recursively" value="true" />
</settings>
<video>
  <excludefromscan>
    <regexp>-trailer</regexp>
    <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    <regexp>[-\._ ](extrafanart|trailer|extrathumbs)[-\._ ]</regexp>
  </excludefromscan>
  <excludefromlisting>
      <regexp>[-._ \\/](extrafanart|trailer|extrathumbs)[-._ \\/]</regexp>
  </excludefromlisting>
  <excludefromscan action="append">
      <regexp>/extras/Extras/1900 Extras/1900 VO et Manquants/1900 Extras [VO]/1900 VOSTFR/1900 VO</regexp>
      <regexp>[\\/]extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO[\\/]</regexp>
  </excludefromscan>
  <excludetvshowsfromscan action="append">
      <regexp>/extras/Extras/</regexp>
      <regexp>[\\/]extras|Extras[\\/]</regexp>
  </excludetvshowsfromscan>
</video>
</advancedsettings>

So , as you can see, I have a lot of folders and subfolders in my collection... But for the folders who are called :

extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO

I would like that he don't analyse that...

ANd I analyze all my movies by local information only.

Thanks a lot if you ca help me and sorry for my english....
Switch TP-LINK TL-SG1008D Gigabit + PC I5-3570 W10 pro 64b (8G RAM) + B-BOX Proximus + Synology DiskStation DS 1821+ + HTPC Beelink I5-8279U W11 pro 64 b (16G RAM) & Kodi Omega v21.1 + Skin Aeon Miro Nox 8.0.40 + Sony Bravia LCD  KDL40EX402 + ONKYO HT-S3800_B BLK + Logitech K400r - Harmony 650.
Reply
#2
not too sure about your regex?

Seems like you want something like:
regex:
[\\/](extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO)[\\/]

scott s.
.
Reply
#3
Thanks for the answer but I don't understand very well "code" and so I come here to know what I have to put exactly ? All the line, or some are in error ?

It's only for the movie, not for serial...
Switch TP-LINK TL-SG1008D Gigabit + PC I5-3570 W10 pro 64b (8G RAM) + B-BOX Proximus + Synology DiskStation DS 1821+ + HTPC Beelink I5-8279U W11 pro 64 b (16G RAM) & Kodi Omega v21.1 + Skin Aeon Miro Nox 8.0.40 + Sony Bravia LCD  KDL40EX402 + ONKYO HT-S3800_B BLK + Logitech K400r - Harmony 650.
Reply
#4
Not sure what you are using the
xml:
<settings></settings>
for.

What you want I think is simply:
xml:
<video>
  <excludefromscan action="append">
     <regexp>[\\/](extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO)[\\/]</regexp>
  </excludefromscan>
</video>

so \extras\
/Extras/
\1900 Extras/
etc match.  Note also \1900 Extras V\ and \1900 Extras O\ match if that's what you want?

scott s.
.
Reply
#5
Thanks for trying help me but unfortunatly, I don't understand very well...

I see that you put one line who is in my advancedsetting on the line red.

But some other line are important for the word in blue

But It's me who had add somes parts to try what I would like... green
Quote:<advancedsettings version="1">
<settings>
    <setting id="extras-folder" value= "extras"|"Extras"|"1900 Extras"|"1900 Extras [VO]"|"1900 VOSTFR"|"1900 VO" />
    <setting id="blacklisted_directories" value= "sample|subs|extras|Extras|1900 Extras|1900 Extras [VO]|1900 VOSTFR|1900 VO" />
    <setting id="blacklisted_extensions" value= ".bin|.dat|.url|.zip|.vob|.ifo" />
    <setting id="blacklisted_words" value="!Doc!" />
    <setting id="scan_recursively" value="true" />
</settings>
<video>
  <excludefromscan>
    <regexp>-trailer</regexp>
    <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    <regexp>[-\._ ](extrafanart|trailer|extrathumbs)[-\._ ]</regexp>
  </excludefromscan>
  <excludefromlisting>
      <regexp>[-._ \\/](extrafanart|trailer|extrathumbs)[-._ \\/]</regexp>
  </excludefromlisting>
  <excludefromscan action="append">
      <regexp>/extras/Extras/1900 Extras/1900 VO et Manquants/1900 Extras [VO]/1900 VOSTFR/1900 VO</regexp>
      <regexp>[\\/]extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO[\\/]</regexp>
  </excludefromscan>
  <excludetvshowsfromscan action="append">
      <regexp>/extras/Extras/</regexp>
      <regexp>[\\/]extras|Extras[\\/]</regexp>
  </excludetvshowsfromscan>
</video>
</advancedsettings>
But in fact perhaps Have I to say what I really would like ...

So I try. I have a lot of folders and subfolders and there are somes who are called : 
extras
Extras
1900 Extras
1900 VO et Manquants
1900 Extras [VO]
1900 VOSTFR
1900 VO

And all this folders I would that when I analyse all, that there are not anlysed ...

I don't know what is regexp and how it works, I try from a lot of different source to do it myself...

Is there too much line ?

So I want to keep some expression that I think are important :

subs
"blacklisted_extensions" = ".bin|.dat|.url|.zip|.vob|.ifo" /> cause for my Full DVD, it's a problem with missing movies addon...


exclude :

trailer
sample
extrafanart
extrathumbs


Hope that you understand me in "my english" and thanks a lot for your help !!!
Switch TP-LINK TL-SG1008D Gigabit + PC I5-3570 W10 pro 64b (8G RAM) + B-BOX Proximus + Synology DiskStation DS 1821+ + HTPC Beelink I5-8279U W11 pro 64 b (16G RAM) & Kodi Omega v21.1 + Skin Aeon Miro Nox 8.0.40 + Sony Bravia LCD  KDL40EX402 + ONKYO HT-S3800_B BLK + Logitech K400r - Harmony 650.
Reply
#6
perhaps a simpler solution would be better here

use the '.nomedia' file method
if you create an empty file in a folder and name it '.nomedia' kodi will not scan that folder

details here https://kodi.wiki/view/Updating_or_remov...ude_Folder
Reply
#7
Ok I found the solution, the log say me error with Line 3 et I do again the code :

here is if it can help somebody :
Quote:<advancedsettings version="1">
<settings>
    <setting id="blacklisted_extensions" value= ".bin|.dat|.url|.zip|.vob|.ifo" />
    <setting id="scan_recursively" value="true" />
</settings>
<video>
  <excludefromscan>
    <regexp>[-\._ ]sample|extrafanart|trailer|extrathumbs)[-\._ ]</regexp>
  </excludefromscan>
  <excludefromlisting>
      <regexp>[-._ \\/](sample|extrafanart|trailer|extrathumbs)[-._ \\/]</regexp>
  </excludefromlisting>
  <excludefromscan action="append">
      <regexp>[\\/]extras|Extras|1900 Extras|1900 VO et Manquants|1900 Extras [VO]|1900 VOSTFR|1900 VO[\\/]</regexp>
  </excludefromscan>
  <excludetvshowsfromscan action="append">
      <regexp>[\\/]extras|Extras[\\/]</regexp>
  </excludetvshowsfromscan>
</video>
</advancedsettings>
So... Thanks It's solved
Switch TP-LINK TL-SG1008D Gigabit + PC I5-3570 W10 pro 64b (8G RAM) + B-BOX Proximus + Synology DiskStation DS 1821+ + HTPC Beelink I5-8279U W11 pro 64 b (16G RAM) & Kodi Omega v21.1 + Skin Aeon Miro Nox 8.0.40 + Sony Bravia LCD  KDL40EX402 + ONKYO HT-S3800_B BLK + Logitech K400r - Harmony 650.
Reply
#8
Thread marked solved.
Reply

Logout Mark Read Team Forum Stats Members Help
advanced settings - folder to not analyse....0
This forum uses Lukasz Tkacz MyBB addons.