Thursday, 19 July 2012

Exclude @eaDir directories from being scanned on XBMC

I love my Synology NAS, however one of its flaws is it creates these @eaDir directories that while in most cases are hidden, show up in XBMC when you connect using NFS. To avoid this issue; create a file ' advancedsettings.xml' in .xbmc/userdata folder with the following content.
<advancedsettings>
<video>
<excludefromscan>
<regexp>@eaDir</regexp><regexp>@EADIR</regexp></excludefromscan>
<excludefromlisting><regexp>@eaDir</regexp><regexp>@EADIR</regexp></excludefromlisting></video>

<audio>
<excludefromscan><regexp>@eaDir</regexp><regexp>@EADIR</regexp></excludefromscan><excludefromlisting><regexp>@eaDir</regexp><regexp>@EADIR</regexp></excludefromlisting></audio>
</advancedsettings>

Source: XBMCfreak

4 comments:

  1. If I use advancedsettings.xml for mysql purposes, can I just add the entry at the bottom of that xml code?

    ReplyDelete
    Replies
    1. As do I. simply add that code after 'musicdatabase' and before the last tag for 'advancedsettings'.

      Delete
  2. Works great. the Eadir folder was bugging me. Thanks for this tip.

    ReplyDelete
    Replies
    1. You're welcome. You can even stop those folders from appearing in your photos too. http://xbmcnut.blogspot.co.nz/2013/04/remove-those-eadir-folders-from-your.html

      Delete