Kodi Community Forum

Full Version: hiding drive/folders from browsing/showing up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
I have an external USB HDD connected to a RPi2 that runs Kodi on XBian.

The root folder structure of the drive is:
lost+found
torr_files
torrents
xXx

Folder torrents have subfolders like Movies, Music, Series, etc.
When I add the first source under Files of any category (movies, tv shows etc) using root filesystem option, the drive will instantly show up being called '698.6 GB Drive' as a source, and will stay there.
What I would like to achieve the most is that only the category specific items would show so for example torrents/Series for TV Shows, etc, no drive browsing (hiding the drive for example), etc.
For now the most I was able to achieve is to exclude folders fom scan/list using advancedsettings.xml like:
<video>
<excludefromscan>
<regexp>/lost</regexp>
<regexp>/xXx</regexp>
<regexp>torr_files</regexp>
</excludefromscan>
<excludefromlisting>
<regexp>/lost</regexp>
<regexp>/xXx</regexp>
<regexp>torr_files</regexp>
</excludefromlisting>
</video>
<audio>
<excludefromscan>
<regexp>/lost</regexp>
<regexp>/xXx</regexp>
<regexp>torr_files</regexp>
</excludefromscan>
<excludefromlisting>
<regexp>/lost</regexp>
<regexp>/xXx</regexp>
<regexp>torr_files</regexp>
</excludefromlisting>
</audio>

Is ther a nicer/better way to do this so only subfolders of "drive"/torrents folder are browseable, maybe the Files submenu of each category showing only their recpective source?

thank you!
Balage