How do I edit sources xml to change my library from a NAS to an attached USB3 drive?
#1
Music 
I want to change the source of my music library from a NAS to an attached USB drive. I have copied the music from the NAS to the USB drive and the folder structure is identical on both. The music is within a folder "Shared Music" on both drives. I am trying to avoid rescanning the music library and hope that I can get this task done by editing the sources xml file located within the userdata folder.

Is it a simple matter of editing the two references to the path to my NAS to that of the USB drive? If so I have a problem in that I am unable to see the path of the USB drive. When running Kodi I can see the path of my NAS if I use the context menu button when the NAS source is highlighted. I can click the "edit source" option and it shows the path. There is no equivalent for the USB attached drive. Any suggestions as to what to type for the path to the USB drive?

Is there anything else I would need to do?

I am using Kodi Leia 18.8 (Libreelec 9.2.5) on a Raspberry Pi 4, but I don't believe that is significant. I only use Kodi for music.. Here is my sources xml file

xml:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>WD-NAS</name>
            <path pathversion="1">nfs://192.168.0.201/nfs/Public/Shared Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
    </pictures>
    <files>
        <default pathversion="1"></default>
        <source>
            <name>Shared Music</name>
            <path pathversion="1">nfs://192.168.0.201/nfs/Public/Shared Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </files>
    <games>
        <default pathversion="1"></default>
    </games>
</sources>
Reply


Messages In This Thread
How do I edit sources xml to change my library from a NAS to an attached USB3 drive? - by jac55 - 2020-09-27, 21:40
Logout Mark Read Team Forum Stats Members Help
How do I edit sources xml to change my library from a NAS to an attached USB3 drive?0