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