PDA

View Full Version : [MAC] Unlisting local & attached drives from sources


ctawn
2009-07-29, 05:59
All the media content I want in XBMC is on networked volumes/computers. But my local volume shows up in all sections as a source, as well as a backup partition of my attached USB drive. I want to remove both from the sources.

The context menu does not give the option to remove these from library.

I assume I could add the source "/" or "/Volumes/Backup/" later if I wanted to but for now they're in the way. Thanks.

ctawn
2009-08-01, 12:32
Nada on this one guys?

live4ever
2009-08-03, 21:42
I pretty sure you'd have to change the source code and recompile the application.

jmarshall
2009-08-04, 02:11
Not currently doable without changing the sources. If you wish to experiment, you need to either call AllowNonLocalSources() on m_rootDir (the CVirtualDirectory instance) or set m_allowNonLocalSources to false in the constructor for CVirtualDirectory.

ctawn
2009-08-05, 16:43
Yikes -- beyond what I am comfortable getting into. Does seem like it is unnecessary not to allow deleting any source you want as long as it is easy enough to put back. Attached local volumes should be available with a source with a path of "/Volumes/" and the local HD should be just "/". So simple enough to add back.