v15 library keeps rescanning removed source
#1
I have weird behavior.

I have shows under /TVshows/FullSeries/<showname>
I don't add the whole FullSeries folder to Kodi. Just some specific shows I want listed. I added a show, <Show1>, watched it, and removed it from the library, removed it from the Video > Sources list. I ran Clean Library. The source is not listed in mediasources.xml or sources.xml. But, when I did a library update, <Show1> showed back up.

How can I keep it from showing back up?
Reply
#2
http://kodi.wiki/view/Incorrect_and_miss...t_a_source

Even just readding a parent directory and removing that should be enough to clear out the phantom source.
Reply
#3
The parent directory is listed as a source, but not a media source. I have other shows from that parent directory that I want to keep.

I recognize the uniqueness of the scenario. I may backup the files, delete the content in Kodi, the restore it.
Reply
#4
If you get a debug log (wiki) from a library update then we can figure out the exact source to re-add/re-remove.
Reply
#5
http://pastebin.com/0ymbCnvh is my trimmed debug log.

There are several shows which have been deleted but it keeps trying to scan in as well.

Does my DB somehow need a cleanup?
Reply
#6
I almost forgot, this might be the perfect tool for this: http://forum.kodi.tv/showthread.php?tid=272112

You'll probably get a small speed boost on library updates, too.
Reply
#7
I tried that tool, no luck. I did uncover some other issues, but nothing related. So I'll post feedback there. But here is a quick summary of my sources files


smb://10.10.10.120/media/tvshows/Archive/Show4 is what keeps being re-added. I will now look into editing the DB myself


Relevant parts of my files. I trimmed out similar entires to reduce reading clutter, as well as removed some file names

sources.xml
Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Show1</name>
            <path pathversion="1">smb://10.10.10.120/media/tvshows/Archive/Show1/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Show2</name>
            <path pathversion="1">smb://10.10.10.120/media/tvshows/Archive/Show2/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>TV-General</name>
            <path pathversion="1">smb://10.10.10.120/media/tvshows/General/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>TV-Kids</name>
            <path pathversion="1">smb://10.10.10.120/media/tvshows/Kids/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies-Rips</name>
            <path pathversion="1">smb://10.10.10.120/media/movies/Rips/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies-ISO</name>
            <path pathversion="1">smb://10.10.10.120/media2/movies/ISOs/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Movies-Excercise</name>
            <path pathversion="1">smb://10.10.10.120/media2/movies/Excercise/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Boxart</name>
            <path pathversion="1">smb://10.10.10.120/media2/movies/Boxart/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>videos</name>
            <path pathversion="1">smb://10.10.10.120/media/videos/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Show3</name>
            <path pathversion="1">smb://10.10.10.120/media/tvshows/Kids 2/Show3/</path>
            <allowsharing>true</allowsharing>
        </source>
    </video>
    <music>
        <default pathversion="1">Music</default>
        <source>
            <name>Music</name>
            <path pathversion="1">smb://10.10.10.120/media/music/Music/</path>
            <allowsharing>true</allowsharing>
        </source>
    </music>
    <pictures>
        <default pathversion="1">Pictures</default>
        <source>
            <name>Pictures</name>
            <path pathversion="1">smb://10.10.10.120/media/pictures/</path>
            <allowsharing>true</allowsharing>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
        <source>
            <name>media2</name>
            <path pathversion="1">smb://10.10.10.120/media2/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>media</name>
            <path pathversion="1">smb://10.10.10.120/media/</path>
            <allowsharing>true</allowsharing>
        </source>
        <source>
            <name>Black Pudding</name>
            <path pathversion="1">http://batteredbits.co.uk/KODI/repo</path>
            <allowsharing>true</allowsharing>
        </source>
    </files>
</sources>

mediasources.xml
Code:
<mediasources>
    <network>
        <location id="2">smb://10.10.10.120/media</location>
        <location id="1">smb://10.10.10.120/media2</location>
    </network>
</mediasources>
Reply

Logout Mark Read Team Forum Stats Members Help
library keeps rescanning removed source0