Kodi Community Forum
Where can i find the library source folders? - 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: Where can i find the library source folders? (/showthread.php?tid=373430)



Where can i find the library source folders? - friedrich2204 - 2023-06-09

Hi,

where can i find the list of folders where kodi is searching movies and series? Its not "/storage/.kodi/userdata/sources.xml".


RE: Where can i find the library source folders? - izprtxqkft - 2023-06-09

/storage/.kodi/userdata depends on your operating system, userdata can be in a number of places - https://kodi.wiki/view/Userdata

the */userdata/sources.xml is the correct location

but only if you actually add them first - https://kodi.wiki/view/Adding_video_sources


disclaimer: only generic information provided as question has no specifics for operating environment


RE: Where can i find the library source folders? - friedrich2204 - 2023-06-09

I'm running Lubreelec.

What i mean is the point "Set Content" here https://kodi.wiki/view/Adding_video_sources. See my sources.xml below. I've added 3 hard disk as sources. The i set a few folders for the library. In the sources.xml i can't find the 3 hards drives nor the "library folders".

Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Videos</name>
            <path pathversion="1">/storage/videos/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>TV Shows</name>
            <path pathversion="1">/storage/tvshows/</path>
            <allowsharing>true</allowsharing>
        </source>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Music</name>
            <path pathversion="1">/storage/music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>Pictures</name>
            <path pathversion="1">/storage/pictures/</path>
            <allowsharing>true</allowsharing>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
    <games>
        <default pathversion="1"></default>
    </games>
</sources>



RE: Where can i find the library source folders? - izprtxqkft - 2023-06-09

if you cant locate files in the kodi main menu then the alternative is to go through settings->media - https://kodi.wiki/view/Settings/Media/Library

clicking "Videos" from there will take you to the same place where "Add Videos" is at the bottom

then you can follow the rest of the steps of selecting the folder and setting its content


RE: Where can i find the library source folders? - Hitcher - 2023-06-09

Your paths don't look complete. Where is /storage/?


RE: Where can i find the library source folders? - Karellen - 2023-06-09

(2023-06-09, 16:27)friedrich2204 Wrote: What i mean is the point "Set Content" here
Its in the MyVideos database... https://kodi.wiki/view/Databases/MyVideos#path

You shouldn't be fiddling with the database unless you have a good understanding of the way it works.


RE: Where can i find the library source folders? - friedrich2204 - 2023-06-10

/storage is the 'home' in libreelec. There is no real linux-like home dir.


RE: Where can i find the library source folders? - Hitcher - 2023-06-10

And you have all your media in there?