Kodi Community Forum
v17 Connected USB drives are automatically registered as sources and scanned - 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: v17 Connected USB drives are automatically registered as sources and scanned (/showthread.php?tid=338906)



Connected USB drives are automatically registered as sources and scanned - rewind - 2019-01-02

I have a USB backup of all my media, and when I connect/mount the drive, Kodi always adds it to the sources list under Media Settings.  When I make changes to my primary source and "update library," the USB drive is always scanned.  How can I force only scanning/listing of files under path /home/me/Primary ?

Here is my ~/.kodi/userdata/sources.xml file:

xml:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Movies</name>
            <path pathversion="1">/home/me/Primary/Video/Movies/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Television</name>
            <path pathversion="1">/home/me/Primary/Video/Television/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">/home/me/Primary/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>