Kodi Community Forum
Win How to hide/exclude the @eadir folders - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Win How to hide/exclude the @eadir folders (/showthread.php?tid=173919)



How to hide/exclude the @eadir folders - Wollabille - 2013-09-20

Hi Guys

As the subject says how do I hide the @eadir folders which my NAS is producing?

I have found this guide which hasn't helped me.

I go to the source which I suppose to %appdata%\XBMC\userdata\ and create the xml file called : advancedsettings.xml where I then paste the text in.

What am I doing wrong here? Should I rescan the folders again?
Is there a set up in XBMC I'm missing?

Hope you can help, thx in advance.


RE: How to hide/exclude the @eadir folders - FireMan - 2013-12-16

Remember that unix systems are case sensitive.
You must exclude, both from scan and from listing, @eadir, @eaDir, and @EADIR.

Simple create a file called advancedsettings.xml at userdata folder, with the following content:

Code:
<advancedsettings>
  <video>
    <excludefromscan>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\#recycle</regexp>
      <regexp>-trailer</regexp>
      <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    </excludefromscan>
    <excludefromlisting>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\.DS_Store</regexp>
      <regexp>-trailer</regexp>
      <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
      <regexp>\#recycle</regexp>
    </excludefromlisting>
  </video>
</advancedsettings>

Some of those options are blocked by default, but I did repeat it anyway...

Cheers.


RE: How to hide/exclude the @eadir folders - TheGrudge - 2014-05-28

Maybe you also want to add <excludetvshowsfromscan> to the video section


RE: How to hide/exclude the @eadir folders - schumi2004 - 2014-05-28

If your NAS is a Synology, try this http://mikebeach.org/2012/12/12/disable-indexing-and-generation-of-eadir-directories-on-synology-nas/


RE: How to hide/exclude the @eadir folders - Jemus - 2016-01-18

Tried to force my android device from listing and scanning @eadir and #recycle folders by adding this to my advancedsettings.xml.
Just changed <video> and </video> to <music> and </music> doesn't seem to work, as I still see these folders after scanning my music library again. Does it have to say <musiclibrary> or just <music>?

Btw: I browse my music library by just by folder view as I don't like it another way. Does this setting even have any effect if it is done right or does it only work for the "real" music library that is set by kodi?


RE: How to hide/exclude the @eadir folders - war59312 - 2016-09-05

Personally, I use:

Code:
<video>
    <excludefromscan>
        <regexp>\@eaDir</regexp>
        <regexp>\@eadir</regexp>
        <regexp>\@EADIR</regexp>
        <regexp>\.DS_Store</regexp>
        <regexp>\#recycle</regexp>
        <regexp>-trailer</regexp>
        <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    </excludefromscan>
    <excludefromlisting>
        <regexp>\@eaDir</regexp>
        <regexp>\@eadir</regexp>
        <regexp>\@EADIR</regexp>
        <regexp>\.DS_Store</regexp>
        <regexp>\#recycle</regexp>
        <regexp>-trailer</regexp>
        <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    </excludefromlisting>
    <excludetvshowsfromscan>
        <regexp>\@eaDir</regexp>
        <regexp>\@eadir</regexp>
        <regexp>\@EADIR</regexp>
        <regexp>\.DS_Store</regexp>
        <regexp>\#recycle</regexp>
        <regexp>-trailer</regexp>
        <regexp>[!-._ \\/]sample[-._ \\/]</regexp>
    </excludetvshowsfromscan>
</video>

Jemus, sounds like you need to use <audio>, not <music>.

See: http://kodi.wiki/view/Advancedsettings.xml#excludefromscan


RE: How to hide/exclude the @eadir folders - lollo78 - 2016-12-26

Hi guys, I would like to hide in Kodi the Synology @eaDir and #recycle also when browse File folder like Photo and Videoclip collections. How to do this?
Thanks


RE: How to hide/exclude the @eadir folders - swrobel - 2017-03-24

(2016-12-26, 02:18)lollo78 Wrote: Hi guys, I would like to hide in Kodi the Synology @eaDir and #recycle also when browse File folder like Photo and Videoclip collections. How to do this?
Thanks

Using the tips from this post helped me exclude them from Music & Photo libraries as well. Here's my working ~/.kodi/userdata/advancedsettings.xml (you may have to create this file - it doesn't exist by default):

Code:
<advancedsettings>
  <video>
    <excludefromscan>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\#recycle</regexp>
    </excludefromscan>
    <excludefromlisting>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\.DS_Store</regexp>
      <regexp>\#recycle</regexp>
    </excludefromlisting>
  </video>
  <audio>
    <excludefromscan>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\#recycle</regexp>
    </excludefromscan>
    <excludefromlisting>
      <regexp>\@eaDir</regexp>
      <regexp>\@eadir</regexp>
      <regexp>\@EADIR</regexp>
      <regexp>\.DS_Store</regexp>
      <regexp>\#recycle</regexp>
    </excludefromlisting>
  </audio>
  <pictureexcludes>
    <regexp>\@eaDir</regexp>
    <regexp>\@eadir</regexp>
    <regexp>\@EADIR</regexp>
    <regexp>\.DS_Store</regexp>
    <regexp>\#recycle</regexp>
  </pictureexcludes>
</advancedsettings>