Kodi Community Forum

Full Version: RPC videolibrary.scanforcontent not searching all sources
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to update my video library nightly via a cron job:

Code:
curl --data-binary '{ "jsonrpc": "2.0", "method": "VideoLibrary.ScanForContent", "id": 1 }' -H 'content-type: text/plain;'  http://192.168.0.5:8080/jsonrpc
However, it appears to be only scanning one of my sources for new content (my TV shows, not Movies).

Here is my sources.xml:

Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>movies</name>
            <path pathversion="1">smb://192.168.0.2:139/movies/</path>
        </source>
        <source>
            <name>tv</name>
            <path pathversion="1">smb://192.168.0.2:139/tv/</path>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>pictures</name>
            <path pathversion="1">smb://192.168.0.2:139/pictures/</path>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

Here is the relevant debug info (note it only looks in 'tv'):

http://pastebin.com/47zQqgk1


Any thoughts on why it wouldn't be looking in all my video sources?

This is on an appletv2 with a nightly build of a couple days ago (not sure how to find the specific release info via the cli).
Blerg . . . I realized that this is probably because I disabled the video scrapers. Looking at another post I'll try deleting the addon.db file to restore functionality.